Skip to content

Commit 137cc72

Browse files
Adds Browser Application «Brave»
1 parent e1963d4 commit 137cc72

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Applications/BraveBrowser.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

config.default.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ install1Password=false
8383
installAdGuardSafari=true
8484
installAlDente=true # <-- only supported on MacBooks (MBA, MBP)
8585
installBeyondCompare=false
86+
installBraveBrowser=false
8687
installDiscord=false
8788
installEqMac=false
8889
installFirefox=false

run.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,12 @@ if [ "$installBeyondCompare" = true ]; then
384384
installAppBeyondCompare
385385
showinfo "" "confirm"
386386
fi
387+
# -- Brave Browser --
388+
if [ "$installBraveBrowser" = true ]; then
389+
showinfo "Installing Brave Browser:" "note"
390+
installAppBraveBrowser
391+
showinfo "" "confirm"
392+
fi
387393
# -- Discord.app --
388394
if [ "$installDiscord" = true ]; then
389395
showinfo "Installing Discord:" "note"

0 commit comments

Comments
 (0)