mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-11 17:37:21 +10:00
- A new parameter, "-cache_limit," has been added to modify the limit for automatic clearing of the audio cache. The old cache clearing script has been removed - The "What's New Feed" panel has been temporarily disabled due to unstable performance.
37 lines
940 B
Batchfile
37 lines
940 B
Batchfile
@echo off
|
|
SETLOCAL ENABLEDELAYEDEXPANSION
|
|
|
|
if exist "%Appdata%\Spotify\dpapi.dll" (
|
|
del /s /q "%Appdata%\Spotify\dpapi.dll" > NUL 2>&1
|
|
)
|
|
|
|
if exist "%Appdata%\Spotify\Spotify.bak" (
|
|
del /s /q "%Appdata%\Spotify.exe" > NUL 2>&1
|
|
move "%Appdata%\Spotify\Spotify.bak" "%Appdata%\Spotify\Spotify.exe" > NUL 2>&1
|
|
)
|
|
|
|
|
|
if exist "%Appdata%\Spotify\config.ini" (
|
|
del /s /q "%Appdata%\Spotify\config.ini" > NUL 2>&1
|
|
)
|
|
|
|
|
|
if exist "%Appdata%\Spotify\Apps\xpui.bak" (
|
|
del /s /q "%Appdata%\Spotify\Apps\xpui.spa" > NUL 2>&1
|
|
move "%Appdata%\Spotify\Apps\xpui.bak" "%Appdata%\Spotify\Apps\xpui.spa" > NUL 2>&1
|
|
)
|
|
|
|
|
|
if exist "%Appdata%\Spotify\blockthespot_log.txt" (
|
|
del /s /q "%Appdata%\Spotify\blockthespot_log.txt" > NUL 2>&1
|
|
)
|
|
|
|
if exist "%temp%\SpotX_Temp*" (
|
|
for /d %%i in ("%temp%\SpotX_Temp*") do (
|
|
rd /s/q "%%i" > NUL 2>&1
|
|
)
|
|
)
|
|
|
|
echo Patch successfully removed
|
|
pause
|