From 00e2c635af49a6284dece678b6266884c8e530da Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Thu, 4 Apr 2024 19:49:51 +0100 Subject: [PATCH] feat(software): firefox ARM --- src/playbook/Executables/SOFTWARE.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/playbook/Executables/SOFTWARE.ps1 b/src/playbook/Executables/SOFTWARE.ps1 index 2eac2ee32f..a83d97c599 100644 --- a/src/playbook/Executables/SOFTWARE.ps1 +++ b/src/playbook/Executables/SOFTWARE.ps1 @@ -44,8 +44,14 @@ if ($Brave) { # Firefox if ($Firefox) { + if ($arm) { + $firefoxArch = 'win64-aarch64' + } else { + $firefoxArch = 'win64' + } + Write-Output "Downloading Firefox..." - & curl.exe -LSs "https://download.mozilla.org/?product=firefox-latest-ssl&os=win64&lang=en-US" -o "$tempDir\firefox.exe" + & curl.exe -LSs "https://download.mozilla.org/?product=firefox-latest-ssl&os=$firefoxArch&lang=en-US" -o "$tempDir\firefox.exe" Write-Output "Installing Firefox..." Start-Process -FilePath "$tempDir\firefox.exe" -WindowStyle Hidden -ArgumentList '/S /ALLUSERS=1' -Wait 2>&1 | Out-Null exit