fix: Fix VLC config
This commit is contained in:
1 parent
561e17c669
commit
e2e3af5fbb
4 files changed
+76
-7
No files matched your search
+9
-2
@@ -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
|
||||
)
|
||||
Reference in new issue
Block a user