Fixed bug with elevated rights.

Fixed limiting PowerShell rights to run the cache cleanup script.
This commit is contained in:
amd64fox
2021-09-01 11:43:50 +03:00
committed by GitHub
parent e3eb911c39
commit 20caeacd63
+2 -2
View File
@@ -1,3 +1,3 @@
command = "powershell.exe -nologo -noninteractive -command %appdata%\Spotify\cache-spotify.ps1"
command = "powershell.exe -ExecutionPolicy Bypass -nologo -noninteractive -command %appdata%\Spotify\cache-spotify.ps1"
set shell = CreateObject("WScript.Shell")
shell.Run command,0, false
shell.Run command,0, false