linutil/core/tabs/applications-setup/browsers/zen-browser.sh
Sayeed Mahmood Evrenos 5f6e18b2cc
fix: remove redundant AVX2 check for Zen Browser installation (#1014)
This update removes the AVX2-specific logic from the installZenBrowser function. The Zen Browser team discontinued AVX2-optimized releases due to recurring build issues in GitHub workflows, so we now only install zen-browser-bin from AUR. This change streamlines the installation process.
2025-02-28 14:56:39 -06:00

26 lines
620 B
Bash
Executable File

#!/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)
"$AUR_HELPER" -S --needed --noconfirm zen-browser-bin
;;
*)
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