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.
This commit is contained in:
Sayeed Mahmood Evrenos 2025-03-01 02:56:39 +06:00 committed by GitHub
parent f2f997eb7f
commit 5f6e18b2cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,11 +7,7 @@ installZenBrowser() {
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
"$AUR_HELPER" -S --needed --noconfirm zen-browser-bin
;;
*)
checkFlatpak