Skip to content

Commit 28bfffe

Browse files
committed
feat: support twilight flag
1 parent 518240f commit 28bfffe

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

install.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ echo
2828

2929
case $choice in
3030
1)
31+
parseTwilight "$@"
3132
install
3233
;;
3334
2)
@@ -125,6 +126,13 @@ install() {
125126
exit 0
126127
}
127128

129+
parseTwilight() {
130+
if [ "$1" == "--twilight" ]; then
131+
official_package_location="https://github.com/zen-browser/desktop/releases/download/twilight/zen.linux-x86_64.tar.xz"
132+
echo "You're currently in Twilight mode, this means you're downloading the latest experimental features and updates."
133+
fi
134+
}
135+
128136
remove() {
129137
if [ -f "$app_bin_in_local_bin" ]; then
130138
echo "Old bin file detected, removing..."

0 commit comments

Comments
 (0)