mirror of
https://github.com/NohamR/RMHook-Win.git
synced 2026-05-25 19:59:46 +00:00
Update download-and-install.ps1
This commit is contained in:
@@ -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