Update Uninstall.bat

- removing obsolete logic in Uninstall.bat
This commit is contained in:
amd64fox
2023-04-17 12:23:48 +03:00
parent 1410b91cbe
commit bee94410e4

View File

@@ -1,10 +1,5 @@
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
echo *****************
echo Author: @amd64fox
echo *****************
echo Removing Patch...
if exist "%Appdata%\Spotify\dpapi.dll" (
del /s /q "%Appdata%\Spotify\dpapi.dll" > NUL 2>&1
@@ -33,24 +28,6 @@ if exist "%Appdata%\Spotify\Apps\xpui\xpui.js.bak" (
)
if exist "%Appdata%\Spotify\Apps\xpui\xpui.css.bak" (
del /s /q "%Appdata%\Spotify\Apps\xpui\xpui.css" > NUL 2>&1
move "%Appdata%\Spotify\Apps\xpui\xpui.css.bak" "%Appdata%\Spotify\Apps\xpui\xpui.css" > NUL 2>&1
)
if exist "%Appdata%\Spotify\Apps\xpui\licenses.html.bak" (
del /s /q "%Appdata%\Spotify\Apps\xpui\licenses.html" > NUL 2>&1
move "%Appdata%\Spotify\Apps\xpui\licenses.html.bak" "%Appdata%\Spotify\Apps\xpui\licenses.html" > NUL 2>&1
)
if exist "%Appdata%\Spotify\Apps\xpui\i18n\ru.json.bak" (
del /s /q "%Appdata%\Spotify\Apps\xpui\i18n\ru.json" > NUL 2>&1
move "%Appdata%\Spotify\Apps\xpui\i18n\ru.json.bak" "%Appdata%\Spotify\Apps\xpui\i18n\ru.json" > NUL 2>&1
)
if exist "%Appdata%\Spotify\blockthespot_log.txt" (
del /s /q "%Appdata%\Spotify\blockthespot_log.txt" > NUL 2>&1
)