mirror of
https://github.com/NohamR/RMHook-Win.git
synced 2026-05-25 04:17:10 +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
|
||||
|
||||
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