Skip to content

Commit

Permalink
show dialog for script update
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeguzis committed Mar 7, 2024
1 parent 847fa79 commit 20bdfb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utilities/update-emulators/launch-update-emulators.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
# Spaws a new Konsole window to run the script
# Spawns a new terminal window to run the script

# Update git source if possible first
mkdir -p "${HOME}/.local/bin"
curl -o "${HOME}/.local/bin/update-emulators.sh.new" "https://raw.githubusercontent.com/mdeguzis/SteamOS-Tools/master/utilities/update-emulators/update-emulators.sh"
curl -o "${HOME}/.local/bin/update-emulators.sh.new" "https://raw.githubusercontent.com/mdeguzis/SteamOS-Tools/master/utilities/update-emulators/update-emulators.sh"; sleep 3 | zenity --progress --auto-close --pulsate --text="Fetching the latest update-emulators.sh script" --title="Updater" --width=600 --height=250 2>/dev/null

if [[ $? -eq 0 ]]; then
mv "${HOME}/.local/bin/update-emulators.sh.new" "${HOME}/.local/bin/update-emulators.sh"
Expand Down

0 comments on commit 20bdfb9

Please sign in to comment.