mirror of
https://github.com/mandiant/commando-vm.git
synced 2026-10-12 02:18:39 +00:00
Merge pull request #325 from Menn1s/add-win11arm-detection-gui
Add ARM detection to the GUI
This commit is contained in:
+7
-1
@@ -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 #################################
|
||||
|
||||
Reference in New Issue
Block a user