feat: support twilight flag

This commit is contained in:
Sannidhya 2025-03-26 16:12:11 +05:30
parent 518240fb88
commit 28bfffeb66
No known key found for this signature in database

View file

@ -28,6 +28,7 @@ echo
case $choice in
1)
parseTwilight "$@"
install
;;
2)
@ -125,6 +126,13 @@ install() {
exit 0
}
parseTwilight() {
if [ "$1" == "--twilight" ]; then
official_package_location="https://github.com/zen-browser/desktop/releases/download/twilight/zen.linux-x86_64.tar.xz"
echo "You're currently in Twilight mode, this means you're downloading the latest experimental features and updates."
fi
}
remove() {
if [ -f "$app_bin_in_local_bin" ]; then
echo "Old bin file detected, removing..."