mirror of
https://github.com/zen-browser/updates-server.git
synced 2025-07-07 17:05:36 +02:00
fix
: verify os before installation
The script will fail on non-linux systems to avoid accidental execution on unsupported platforms
This commit is contained in:
parent
6e2f4182fb
commit
8b6596a236
1 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,13 @@ desktop_in_local_applications="$local_application_path/$app_name.desktop"
|
|||
icon_path="$app_installation_directory/browser/chrome/icons/default/default128.png"
|
||||
executable_path=$app_installation_directory/zen
|
||||
|
||||
# Check OS
|
||||
if [[ "$(uname)" != "Linux" ]]; then
|
||||
echo "This script is only for Linux."
|
||||
echo "Visit https://github.com/zen-browser/desktop#-installation to learn more about supported operating systems"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo -e "Welcome to Zen tarball installer, just chill and wait for the installation to complete!\n"
|
||||
|
||||
sleep 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue