last commit before release
This commit is contained in:
parent
7d8ce5005b
commit
0bab56c1a1
@ -5,6 +5,7 @@ if %ERRORLEVEL% neq 0 exit /b
|
||||
set OPT=..\optional
|
||||
set SOFTWARE=..\software
|
||||
set EXE=vlc-setup.exe
|
||||
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%EXE% (
|
||||
echo ERROR: %SOFTWARE%\%EXE% not found!
|
||||
@ -20,9 +21,15 @@ cd %SOFTWARE%
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo removing Desktop link ...
|
||||
echo removing VLC Desktop link ...
|
||||
del /F "%PUBLIC%\Desktop\VLC media player.lnk" 2>nul
|
||||
|
||||
echo moving VLC startmenu shortcut ...
|
||||
move /Y %STARTMENU%\"VideoLAN\VLC media player.lnk" %STARTMENU%
|
||||
|
||||
echo removing VLC startmenu folder ...
|
||||
rd /S /Q %STARTMENU%\"VideoLAN" 2>nul
|
||||
|
||||
rem refresh desktop (W10 style)
|
||||
ie4uinit.exe -show
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user