- 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.
This commit is contained in:
amd64fox
2023-05-16 16:31:37 +03:00
parent 74bf0653ec
commit ad7d5b0f72
13 changed files with 73 additions and 310 deletions

View File

@@ -26,25 +26,11 @@ if exist "%Appdata%\Spotify\blockthespot_log.txt" (
del /s /q "%Appdata%\Spotify\blockthespot_log.txt" > NUL 2>&1
)
if exist "%Appdata%\Spotify\cache" (
rd /s /q %Appdata%\Spotify\cache > NUL 2>&1
SET Esc_LinkDest=%Userprofile%\Desktop\Spotify.lnk
SET Esc_LinkTarget=%Appdata%\Spotify\Spotify.exe
SET Esc_WorkLinkTarget=%Appdata%\Spotify\
SET cSctVBS=CreateShortcut.vbs
((
echo Set oWS = WScript.CreateObject^("WScript.Shell"^)
echo sLinkFile = oWS.ExpandEnvironmentStrings^("!Esc_LinkDest!"^)
echo Set oLink = oWS.CreateShortcut^(sLinkFile^)
echo oLink.TargetPath = oWS.ExpandEnvironmentStrings^("!Esc_LinkTarget!"^)
echo oLink.WorkingDirectory = oWS.ExpandEnvironmentStrings^("!Esc_WorkLinkTarget!"^)
echo oLink.Save
)1>!cSctVBS!
cscript !cSctVBS!
DEL !cSctVBS! /f /q
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