diff --git a/samy.ps1 b/samy.ps1 index cabce80..83fcb15 100644 --- a/samy.ps1 +++ b/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 + }