BlockTheSpot/uninstall.bat
Rednek 1b1e89ef81 [skip ci] Added Alpha to Old UI swap
* Alpha versions can now be swapped to the Old UI which works with the adblocker with the BlockTheSpot.bat
* Fixed a serious bug in uninstaller.bat which deletes main files on certain conditions.
2021-03-31 11:52:10 +05:30

26 lines
816 B
Batchfile

@echo off
echo *****************
echo Author: @rednek46
echo *****************
echo Removing Patch
if exist "%APPDATA%\Spotify\chrome_elf.dll.bak" (
del /s /q "%APPDATA%\Spotify\chrome_elf.dll" > NUL 2>&1
move "%APPDATA%\Spotify\chrome_elf.dll.bak" "%APPDATA%\Spotify\chrome_elf.dll" > NUL 2>&1
) else (
echo done
)
if exist "%APPDATA%\Spotify\Apps\zlink.spa.bak" (
del /s /q "%APPDATA%\Spotify\Apps\zlink.spa" > NUL 2>&1
move "%APPDATA%\Spotify\Apps\zlink.spa.bak" "%APPDATA%\Spotify\Apps\zlink.spa" > NUL 2>&1
) else (
echo done
)
if exist "%APPDATA%\Spotify\Apps\xpui.spa.bak" (
del /s /q "%APPDATA%\Spotify\Apps\xpui.spa" > NUL 2>&1
move "%APPDATA%\Spotify\Apps\xpui.spa.bak" "%APPDATA%\Spotify\Apps\xpui.spa" > NUL 2>&1
) else (
echo done
)
pause