update updater script

This commit is contained in:
naturallaw77 2024-03-13 21:07:20 -07:00
parent 32e073bd20
commit 35181a20e9

View File

@ -16,7 +16,11 @@ fi
SPICE () {
if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure | xterm' ; then
time_stamp=$(date +%Y-%m-%d-%T)
mkdir -p /home/free/Documents/Updater_App_Logs
if ! xterm -T "Sovran_SystemsOS_Light 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'" ; then
zenity --error \
--width=400 \