mirror of
https://github.com/NohamR/RMHook-Win.git
synced 2026-11-25 15:29:53 +00:00
Update download-and-install.ps1
This commit is contained in:
1 parent
4c384dec04
commit
df2c1d2f4c
1 file changed
+2
-2
@@ -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."
|
||||
Reference in new issue
Block a user