File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env zsh
2+
3+ function installAppBraveBrowser(){
4+ # --> Download
5+ downloadFromUrl " https://laptop-updates.brave.com/latest/osx" " Brave.dmg"
6+ local downloadFolder=" $HOME /Downloads/"
7+ downloadFromUrl " $downloadUrl " " Brave.dmg"
8+ # --> Mount & move
9+ unmountFile " Brave.dmg" " Brave Browser"
10+ moveApplication " Brave Browser.app"
11+ fi
12+ }
13+ export -f installAppBraveBrowser
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ install1Password=false
8383installAdGuardSafari=true
8484installAlDente=true # <-- only supported on MacBooks (MBA, MBP)
8585installBeyondCompare=false
86+ installBraveBrowser=false
8687installDiscord=false
8788installEqMac=false
8889installFirefox=false
Original file line number Diff line number Diff line change @@ -384,6 +384,12 @@ if [ "$installBeyondCompare" = true ]; then
384384 installAppBeyondCompare
385385 showinfo " " " confirm"
386386fi
387+ # -- Brave Browser --
388+ if [ " $installBraveBrowser " = true ]; then
389+ showinfo " Installing Brave Browser:" " note"
390+ installAppBraveBrowser
391+ showinfo " " " confirm"
392+ fi
387393# -- Discord.app --
388394if [ " $installDiscord " = true ]; then
389395 showinfo " Installing Discord:" " note"
You can’t perform that action at this time.
0 commit comments