mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-23 13:45:19 +00:00
feat: tor browser installation (#842)
* Added Tor Browser to Web Browsers tab. * Ran cargo xtask docgen * removed unnecessary double quotes in tor-browser.sh Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com> --------- Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com> Co-authored-by: Chris Titus <contact@christitus.com>
This commit is contained in:
parent
51e2cbd607
commit
f5f38243f0
34
core/tabs/applications-setup/browsers/tor-browser.sh
Normal file
34
core/tabs/applications-setup/browsers/tor-browser.sh
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
. ../../common-script.sh
|
||||||
|
|
||||||
|
installTorBrowser() {
|
||||||
|
if ! command_exists torbrowser-launcher; then
|
||||||
|
printf "%b\n" "${YELLOW}Installing Tor Browser...${RC}"
|
||||||
|
case "$PACKAGER" in
|
||||||
|
apt-get|nala)
|
||||||
|
"$ESCALATION_TOOL" "$PACKAGER" install -y torbrowser-launcher
|
||||||
|
;;
|
||||||
|
zypper)
|
||||||
|
"$ESCALATION_TOOL" "$PACKAGER" --non-interactive install torbrowser-launcher
|
||||||
|
;;
|
||||||
|
pacman)
|
||||||
|
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm torbrowser-launcher
|
||||||
|
;;
|
||||||
|
dnf)
|
||||||
|
"$ESCALATION_TOOL" "$PACKAGER" install -y torbrowser-launcher
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
printf "%b\n" "${RED}Unsupported package manager: ${PACKAGER}${RC}"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
printf "%b\n" "${GREEN}Tor Browser is already installed.${RC}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
checkEnv
|
||||||
|
checkEscalationTool
|
||||||
|
installTorBrowser
|
||||||
|
|
|
@ -203,6 +203,12 @@ description = "Vivaldi is a freeware, cross-platform web browser developed by Vi
|
||||||
script = "browsers/vivaldi.sh"
|
script = "browsers/vivaldi.sh"
|
||||||
task_list = "I"
|
task_list = "I"
|
||||||
|
|
||||||
|
[[data.entries]]
|
||||||
|
name = "Tor Browser"
|
||||||
|
description = "Tor Browser is a free and open-source firefox-based web browser designed for anonymity and censorship circumvention."
|
||||||
|
script = "browsers/tor-browser.sh"
|
||||||
|
task_list = "I"
|
||||||
|
|
||||||
[[data.entries]]
|
[[data.entries]]
|
||||||
name = "waterfox"
|
name = "waterfox"
|
||||||
description = "Waterfox is the privacy-focused web browser engineered to give you speed, control, and peace of mind on the internet."
|
description = "Waterfox is the privacy-focused web browser engineered to give you speed, control, and peace of mind on the internet."
|
||||||
|
|
|
@ -44,6 +44,7 @@ https://github.com/ChrisTitusTech/neovim
|
||||||
- **Mozilla Firefox**: Mozilla Firefox is a free and open-source web browser developed by the Mozilla Foundation.
|
- **Mozilla Firefox**: Mozilla Firefox is a free and open-source web browser developed by the Mozilla Foundation.
|
||||||
- **Thorium**: Thorium is a Chromium-based browser focused on privacy and performance.
|
- **Thorium**: Thorium is a Chromium-based browser focused on privacy and performance.
|
||||||
- **Vivaldi**: Vivaldi is a freeware, cross-platform web browser developed by Vivaldi Technologies.
|
- **Vivaldi**: Vivaldi is a freeware, cross-platform web browser developed by Vivaldi Technologies.
|
||||||
|
- **Tor Browser**: Tor Browser is a free and open-source firefox-based web browser designed for anonymity and censorship circumvention.
|
||||||
- **waterfox**: Waterfox is the privacy-focused web browser engineered to give you speed, control, and peace of mind on the internet.
|
- **waterfox**: Waterfox is the privacy-focused web browser engineered to give you speed, control, and peace of mind on the internet.
|
||||||
- **Alacritty**: Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance. The supported platforms currently consist of BSD, Linux, macOS and Windows. This command installs and configures alacritty terminal emulator.
|
- **Alacritty**: Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance. The supported platforms currently consist of BSD, Linux, macOS and Windows. This command installs and configures alacritty terminal emulator.
|
||||||
- **Android Debloater**: Universal Android Debloater (UAD) is a tool designed to help users remove bloatware and unnecessary pre-installed applications from Android devices, enhancing performance and user experience.
|
- **Android Debloater**: Universal Android Debloater (UAD) is a tool designed to help users remove bloatware and unnecessary pre-installed applications from Android devices, enhancing performance and user experience.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user