Skip to content

Commit

Permalink
feat(software): firefox ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Apr 4, 2024
1 parent 0b9f8be commit 00e2c63
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/playbook/Executables/SOFTWARE.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00e2c63

Please sign in to comment.