updated the Sovran_SystemsOS updater to squash some bugs

This commit is contained in:
naturallaw77 2023-12-11 13:52:29 -08:00
parent 01418c77e8
commit ed1cd95063

View File

@ -14,7 +14,7 @@ fi
}
SPICE () {
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'"
xterm -T "Sovran_SystemsOS Updater" -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'"
if [[ $? != 1 ]] ; then
@ -22,7 +22,7 @@ zenity --info \
--ellipsize \
--no-wrap \
--width=700 \
--title="Sovran_SystemsOS" \
--title="Sovran_SystemsOS Updater" \
--text="Yay complete! Please reboot when you are ready."
exit 1
@ -31,7 +31,7 @@ else
zenity --error \
--width=700 \
--title="Sovran_SystemsOS" \
--title="Sovran_SystemsOS Updater" \
--text="Could not complete the update."
exit 2
@ -47,7 +47,7 @@ curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovr
zenity --text-info \
--width=1000 \
--height=700 \
--title="Sovran_SystemsOS"
--title="Sovran_SystemsOS Updater"
if [[ $? -eq 1 ]]; then
@ -57,7 +57,7 @@ else
FLATPAK
SPICE | zenity --progress --no-cancel --auto-close --width=550 --pulsate --text="Updating now. In rare cases, it could take up to 3 hours. Please Be Patient..." ----title="Sovran_SystemsOS"
SPICE | zenity --progress --no-cancel --auto-close --width=550 --pulsate --text="Updating now. In rare cases, it could take up to 3 hours. Please Be Patient..." --title="Sovran_SystemsOS Updater"
fi