last commit before release

This commit is contained in:
Michael H.G. Schmidt 2023-01-10 14:37:44 +01:00
parent 7d8ce5005b
commit 0bab56c1a1

View File

@ -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