Add ARM64 support

This commit is contained in:
Calyx Hikari 2025-07-01 22:45:17 +08:00
parent 2bf0a92ded
commit 9e128e7a5c
4 changed files with 38 additions and 2 deletions

6
dx
View file

@ -6,6 +6,12 @@ function Main {
return 1
}
$procArch = $Env:PROCESSOR_ARCHITECTURE
if ($procArch -eq 'ARM') {
Write-Warning "This script does not support Windows RT. Exiting..."
return 1
}
$flagPath = "$env:TEMP\elevation_success.flag"
if (Test-Path $flagPath) { Remove-Item $flagPath -ErrorAction SilentlyContinue }