From f176acbf9892bd2729f3c03963477bc3bfa90f5c Mon Sep 17 00:00:00 2001 From: menn1s Date: Tue, 9 Jul 2024 17:59:05 -0700 Subject: [PATCH] Added logic to check arch to select proper profile --- install.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install.ps1 b/install.ps1 index dad1c80..5a3291a 100644 --- a/install.ps1 +++ b/install.ps1 @@ -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 #################################