Skip to content

Commit

Permalink
Update CDNDirectRun.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
TGSAN authored Jan 17, 2025
1 parent 9d249ad commit f2af744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CDNDirectRun.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$isAdmin = (New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)

if (-not $isAdmin) {
Start-Process powershell -ArgumentList "irm https://fastly.jsdelivr.net/gh/TGSAN/CMWTAT_Digital_Edition@master/CDNDirectRun.ps1 | iex" -Verb RunAs
Start-Process powershell -ArgumentList "irm https://fastly.jsdelivr.net/gh/TGSAN/CMWTAT_Digital_Edition/CDNDirectRun.ps1 | iex" -Verb RunAs
Exit
}

Expand Down

0 comments on commit f2af744

Please sign in to comment.