Last active
April 26, 2021 20:49
-
-
Save jiriks74/7fc3e2b07c06ee6f2c596f01de43b32b to your computer and use it in GitHub Desktop.
Script to update nitrox mod in lutris
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if zenity --question --ellipsize --title="Update Nitrox" \ | |
--text="Do you wish to update nitrox?\nThis may overwrite some seting in the Nitrox Launcher\n(such as Subnautica game folder)" | |
then | |
{ | |
wget -O nitrox.zip https://nitrox.rux.gg/deeplink/download/latest | |
echo 50 | |
unzip -o -q nitrox.zip -d "drive_c/Program Files/Nitrox/" | |
echo 100 | |
} |\ | |
zenity --progress \ | |
--title="Updating..." \ | |
--text="Updating Nitrox" \ | |
--auto-kill \ | |
--auto-close \ | |
--percentage=0 | |
zenity --info --title="Update complete" --text="Nitrox has been updated" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment