From 20caeacd637dd3ee2bb0b0bb6812a664eef2e333 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Wed, 1 Sep 2021 11:43:50 +0300 Subject: [PATCH] Fixed bug with elevated rights. Fixed limiting PowerShell rights to run the cache cleanup script. --- Spotify.vbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spotify.vbs b/Spotify.vbs index 22897f3..44e0362 100644 --- a/Spotify.vbs +++ b/Spotify.vbs @@ -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 \ No newline at end of file +shell.Run command,0, false