Update samy.ps1
This commit is contained in:
4
samy.ps1
4
samy.ps1
@@ -23,6 +23,10 @@ if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage' -or
|
||||
# Download -> create ScriptBlock -> INVOKE it with @args so $args survives the relaunch
|
||||
$bootstrap = "& { `$sb = [ScriptBlock]::Create((Invoke-WebRequest 'https://samybeta.svstools.ca' -UseBasicParsing).Content); & `$sb @args }"
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command $bootstrap @argList
|
||||
|
||||
# temp
|
||||
Write-Host "[Debug] Script saw args: $($args -join ' | ')" -ForegroundColor Magenta
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user