Update install routine

This commit is contained in:
Calyx Hikari 2025-08-04 10:14:59 +08:00
parent a7ffeac9db
commit ae853df86b
4 changed files with 106 additions and 68 deletions

4
dx
View file

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