diff --git a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh index a263584..031cd40 100755 --- a/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh +++ b/Sovran_SystemsOS_Updater/Updater Source Files/Update_Sovran_SystemsOS.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash set -o nounset - -curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" | zenity --text-info \ --title="Sovran_SystemsOS Updater" \ + --html \ + --url="https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" \ --width=1000 \ --height=700 @@ -14,33 +14,13 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr exit 1 else - - if ! ssh root@localhost 'flatpak update -y | - zenity --progress \ - --no-cancel \ - --auto-close \ - --pulsate \ - --width=500 \ - --text="Updating Flatpaks" \ - --title="Sovran_SystemsOS Updater"'; then + if ! xterm -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "ssh root@localhost 'flatpak update -y && cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'"; then - echo "Could Not Update Flatpaks -- Exiting" | - - zenity --text-info \ - --width=400 \ - --title="Sovran_SystemsOS Updater" - exit 1 - - fi - - if ! xterm -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'"; then - - echo "Could Not Update Sovran_SystemsOS -- Exiting" | - - zenity --text-info \ + zenity --info \ --width=400 \ - --title="Sovran_SystemsOS Updater" + --title="Sovran_SystemsOS Updater" \ + --text="Could Not Update Sovran_SystemsOS -- Exiting" exit 1