mirror of
https://github.com/NohamR/RMHook-Win.git
synced 2026-11-25 23:06:41 +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
|
Invoke-WebRequest -Uri $ScriptUrl -OutFile $InstallScriptPath -UseBasicParsing
|
||||||
|
|
||||||
Write-Host "Installing hook with downloaded DLL..."
|
Write-Host "Installing hook with downloaded DLL..."
|
||||||
# Run the downloaded script
|
# Run the downloaded script, bypassing execution policies
|
||||||
& $InstallScriptPath -Action install -SourcePath $DestPath
|
powershell.exe -NoProfile -ExecutionPolicy Bypass -File $InstallScriptPath -Action install -SourcePath $DestPath
|
||||||
|
|
||||||
Write-Host "Done. You can safely close this window."
|
Write-Host "Done. You can safely close this window."
|
||||||
Reference in new issue
Block a user