fix: Fix VLC config

This commit is contained in:
AxelSeven committed 2026-07-03 13:00:58 +02:00
1 parent 561e17c669
commit e2e3af5fbb
4 files changed
+76 -7

No files matched your search

+9 -2
View File
@@ -29,5 +29,12 @@ if '%errorlevel%' NEQ '0' (
CD /D "%~dp0"
:--------------------------------------
del "%APPDATA%\vlc\vlcrc"
mklink "%APPDATA%\vlc\vlcrc" "%~dp0vlcrc"
set "remote_path=%APPDATA%\vlc"
rmdir /s /q "%remote_path%"
IF EXIST "%remote_path%" (
echo Error: Failed to delete existing vlc folder. Please check permissions.
pause
) ELSE (
mklink /D "%remote_path%" "%~dp0data"
pause
)