mirror of
https://github.com/zen-browser/updates-server.git
synced 2025-07-08 09:20:04 +02:00
feat
: support twilight flag
This commit is contained in:
parent
518240fb88
commit
28bfffeb66
1 changed files with 8 additions and 0 deletions
|
@ -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..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue