mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-12-24 18:31:49 +01:00
Set-ExecutionPolicy
This commit is contained in:
parent
74e041bc0f
commit
63609f1b32
1
.github/workflows/magisk.yml
vendored
1
.github/workflows/magisk.yml
vendored
@ -531,6 +531,7 @@ jobs:
|
||||
}
|
||||
|
||||
if (-not (Test-Administrator)) {
|
||||
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass -Force
|
||||
\$proc = Start-Process -PassThru -WindowStyle Hidden -Verb RunAs powershell.exe -Args "-executionpolicy bypass -command Set-Location '\$PSScriptRoot'; &'\$PSCommandPath' EVAL"
|
||||
\$proc.WaitForExit()
|
||||
if (\$proc.ExitCode -ne 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user