Merge pull request #325 from Menn1s/add-win11arm-detection-gui

Add ARM detection to the GUI
This commit is contained in:
Menn1s
2024-07-12 09:19:30 -07:00
committed by GitHub
+7 -1
View File
@@ -1586,7 +1586,13 @@ Set-ItemProperty -Path 'HKCU:\Console' -Name 'InsertMode' -Value 0
# Setting global variables
$global:checksPassed = $true
$global:selectedProfile = "Default"
$osInfo = Get-ComputerInfo
$osArchitecture = $osInfo.OSArchitecture
if ($osArchitecture -match "ARM") {
$global:selectedProfile = "Default - ARM"
} else{
$global:selectedProfile = "Default"
}
$global:credentials = ""
################################# GUI Workflow #################################