From df2c1d2f4c15c04f7972448534145079e7d89225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=88=9A=28noham=29=C2=B2?= <100566912+NohamR@users.noreply.github.com> Date: Sun, 10 May 2026 12:07:08 +0200 Subject: [PATCH] Update download-and-install.ps1 --- scripts/download-and-install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/download-and-install.ps1 b/scripts/download-and-install.ps1 index 12b201b..4c057e1 100644 --- a/scripts/download-and-install.ps1 +++ b/scripts/download-and-install.ps1 @@ -14,7 +14,7 @@ Write-Host "Downloading install script..." Invoke-WebRequest -Uri $ScriptUrl -OutFile $InstallScriptPath -UseBasicParsing Write-Host "Installing hook with downloaded DLL..." -# Run the downloaded script -& $InstallScriptPath -Action install -SourcePath $DestPath +# Run the downloaded script, bypassing execution policies +powershell.exe -NoProfile -ExecutionPolicy Bypass -File $InstallScriptPath -Action install -SourcePath $DestPath Write-Host "Done. You can safely close this window." \ No newline at end of file