From 63609f1b32be37a98947df640058d66748ebc0ac Mon Sep 17 00:00:00 2001 From: LoveSy Date: Thu, 14 Apr 2022 13:42:15 +0800 Subject: [PATCH] Set-ExecutionPolicy --- .github/workflows/magisk.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/magisk.yml b/.github/workflows/magisk.yml index ae7761b..a6d3646 100644 --- a/.github/workflows/magisk.yml +++ b/.github/workflows/magisk.yml @@ -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) {