mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-04 18:56:05 +00:00
Compare commits
5 Commits
c9c8dc0b71
...
c6648f9f93
Author | SHA1 | Date | |
---|---|---|---|
|
c6648f9f93 | ||
|
aa11f2756d | ||
|
a810a9e238 | ||
|
17d486818e | ||
|
462917c5ea |
29
core/tabs/applications-setup/browsers/zen-browser.sh
Executable file
29
core/tabs/applications-setup/browsers/zen-browser.sh
Executable file
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
. ../../common-script.sh
|
||||||
|
|
||||||
|
installZenBrowser() {
|
||||||
|
if ! command_exists io.github.zen_browser.zen && ! command_exists zen-browser; then
|
||||||
|
printf "%b\n" "${YELLOW}Installing Zen Browser...${RC}"
|
||||||
|
case "$PACKAGER" in
|
||||||
|
pacman)
|
||||||
|
if grep -q avx2 /proc/cpuinfo; then
|
||||||
|
"$AUR_HELPER" -S --needed --noconfirm zen-browser-avx2-bin
|
||||||
|
else
|
||||||
|
"$AUR_HELPER" -S --needed --noconfirm zen-browser-bin
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
checkFlatpak
|
||||||
|
flatpak install -y flathub io.github.zen_browser.zen
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
printf "%b\n" "${GREEN}Zen Browser is already installed.${RC}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
checkEnv
|
||||||
|
checkEscalationTool
|
||||||
|
checkAURHelper
|
||||||
|
installZenBrowser
|
|
@ -191,6 +191,12 @@ description = "Mozilla Firefox is a free and open-source web browser developed b
|
||||||
script = "browsers/firefox.sh"
|
script = "browsers/firefox.sh"
|
||||||
task_list = "I"
|
task_list = "I"
|
||||||
|
|
||||||
|
[[data.entries]]
|
||||||
|
name = "Zen Browser"
|
||||||
|
description = "Zen Browser is a privacy-focused web browser designed for enhanced security and a seamless browsing experience."
|
||||||
|
script = "browsers/zen-browser.sh"
|
||||||
|
task_list = "I"
|
||||||
|
|
||||||
[[data.entries]]
|
[[data.entries]]
|
||||||
name = "Thorium"
|
name = "Thorium"
|
||||||
description = "Thorium is a Chromium-based browser focused on privacy and performance."
|
description = "Thorium is a Chromium-based browser focused on privacy and performance."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user