mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-08-10 01:51:09 +10:00
Spicetify fix
This commit is contained in:
+21
-11
@@ -4,6 +4,8 @@ echo *****************
|
|||||||
echo Author: @amd64fox
|
echo Author: @amd64fox
|
||||||
echo *****************
|
echo *****************
|
||||||
echo Removing Patch...
|
echo Removing Patch...
|
||||||
|
|
||||||
|
|
||||||
if exist "%APPDATA%\Spotify\chrome_elf_bak.dll" (
|
if exist "%APPDATA%\Spotify\chrome_elf_bak.dll" (
|
||||||
del /s /q "%APPDATA%\Spotify\chrome_elf.dll" > NUL 2>&1
|
del /s /q "%APPDATA%\Spotify\chrome_elf.dll" > NUL 2>&1
|
||||||
move "%APPDATA%\Spotify\chrome_elf_bak.dll" "%APPDATA%\Spotify\chrome_elf.dll" > NUL 2>&1
|
move "%APPDATA%\Spotify\chrome_elf_bak.dll" "%APPDATA%\Spotify\chrome_elf.dll" > NUL 2>&1
|
||||||
@@ -20,37 +22,45 @@ if exist "%APPDATA%\Spotify\Apps\xpui.bak" (
|
|||||||
move "%APPDATA%\Spotify\Apps\xpui.bak" "%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\Apps\xpui\xpui.js.bak" (
|
||||||
|
del /s /q "%APPDATA%\Spotify\Apps\xpui\xpui.js" > NUL 2>&1
|
||||||
|
move "%APPDATA%\Spotify\Apps\xpui\xpui.js.bak" "%APPDATA%\Spotify\Apps\xpui\xpui.js" > NUL 2>&1
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
if exist "%APPDATA%\Spotify\blockthespot_log.txt" (
|
if exist "%APPDATA%\Spotify\blockthespot_log.txt" (
|
||||||
del /s /q "%APPDATA%\Spotify\blockthespot_log.txt" > NUL 2>&1
|
del /s /q "%APPDATA%\Spotify\blockthespot_log.txt" > NUL 2>&1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if exist "%localappdata%\Spotify\Update" (
|
if exist "%localappdata%\Spotify\Update" (
|
||||||
del /A:sr %localappdata%\Spotify\Update > NUL 2>&1
|
del /A:sr %localappdata%\Spotify\Update > NUL 2>&1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if exist "%appdata%\Spotify\SpotifyMigrator.bak" (
|
if exist "%APPDATA%\Spotify\SpotifyMigrator.bak" (
|
||||||
rename %appdata%\Spotify\SpotifyMigrator.bak SpotifyMigrator.exe > NUL 2>&1
|
rename %APPDATA%\Spotify\SpotifyMigrator.bak SpotifyMigrator.exe > NUL 2>&1
|
||||||
)
|
)
|
||||||
if exist "%appdata%\Spotify\SpotifyMigrator.exe" (
|
if exist "%APPDATA%\Spotify\SpotifyMigrator.exe" (
|
||||||
if exist "%appdata%\Spotify\SpotifyMigrator.bak" (
|
if exist "%APPDATA%\Spotify\SpotifyMigrator.bak" (
|
||||||
del /f /s /q %appdata%\Spotify\SpotifyMigrator.bak > NUL 2>&1
|
del /f /s /q %APPDATA%\Spotify\SpotifyMigrator.bak > NUL 2>&1
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if exist "%appdata%\Spotify\Spotify.vbs" (
|
if exist "%APPDATA%\Spotify\Spotify.vbs" (
|
||||||
del /f /s /q %appdata%\Spotify\Spotify.vbs > NUL 2>&1
|
del /f /s /q %APPDATA%\Spotify\Spotify.vbs > NUL 2>&1
|
||||||
)
|
)
|
||||||
|
|
||||||
if exist "%appdata%\Spotify\cache-spotify.ps1" (
|
if exist "%APPDATA%\Spotify\cache-spotify.ps1" (
|
||||||
del /f /s /q %appdata%\Spotify\cache-spotify.ps1 > NUL 2>&1
|
del /f /s /q %APPDATA%\Spotify\cache-spotify.ps1 > NUL 2>&1
|
||||||
del /f /s /q %USERPROFILE%\Desktop\Spotify.lnk > NUL 2>&1
|
del /f /s /q %USERPROFILE%\Desktop\Spotify.lnk > NUL 2>&1
|
||||||
|
|
||||||
|
|
||||||
SET Esc_LinkDest=%USERPROFILE%\Desktop\Spotify.lnk
|
SET Esc_LinkDest=%USERPROFILE%\Desktop\Spotify.lnk
|
||||||
SET Esc_LinkTarget=%appdata%\Spotify\Spotify.exe
|
SET Esc_LinkTarget=%APPDATA%\Spotify\Spotify.exe
|
||||||
SET Esc_WorkLinkTarget=%appdata%\Spotify\
|
SET Esc_WorkLinkTarget=%APPDATA%\Spotify\
|
||||||
SET cSctVBS=CreateShortcut.vbs
|
SET cSctVBS=CreateShortcut.vbs
|
||||||
((
|
((
|
||||||
echo Set oWS = WScript.CreateObject^("WScript.Shell"^)
|
echo Set oWS = WScript.CreateObject^("WScript.Shell"^)
|
||||||
|
|||||||
Reference in New Issue
Block a user