From 158be3d75d703363f8f0fc21affc27e6489a5bed Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sat, 17 Jun 2023 07:44:17 -0700 Subject: [PATCH] updated scripts and removed files --- .../Master_Passwords_Reset.sh | 25 +++++++++++++++++-- .../Sovran_SystemsOS_Reseter_Icon.svg | 0 .../Sovran_SystemsOS_Reseter.desktop | 7 ++++++ .../Sovran_SystemsOS_Updater.desktop | 7 ------ ...er.sh => localscript_to_remote_reseter.sh} | 0 .../sovran_systemsOS_reseter_install.sh | 25 +++++++++++++++++++ 6 files changed, 55 insertions(+), 9 deletions(-) rename Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/{Icon => Icon _Reseter}/Sovran_SystemsOS_Reseter_Icon.svg (100%) create mode 100644 Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Sovran_SystemsOS_Reseter.desktop delete mode 100644 Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Sovran_SystemsOS_Updater.desktop rename Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/{localscript_to_remote_updater.sh => localscript_to_remote_reseter.sh} (100%) create mode 100755 Sovran_SystemsOS_Reseter/sovran_systemsOS_reseter_local_installer/sovran_systemsOS_reseter_install.sh diff --git a/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh b/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh index 37bd501..11e6c6f 100644 --- a/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh +++ b/Sovran_SystemsOS_Reseter/Reseter Source Files/Master_Passwords_Reset.sh @@ -471,13 +471,12 @@ zenity --error \ --ellipsize \ --no-wrap \ --title="Sovran_SystemsOS_Reseter" \ - --text="Could Create Final Reseter Tag" + --text="Could Not Create Final Reseter Tag" exit 1 fi - #### FINAL DIALOG POPUP #### zenity --info \ @@ -486,4 +485,26 @@ zenity --info \ --title="Sovran_SystemsOS_Reseter" \ --text="All Done! All Passwords Are Reset." + + +#### Remove Reseter App #### + + rm -rf /home/free/.Sovran_Systems/localscript_to_remote_reseter.sh + + rm -rf /home/free/.Sovran_Systems/Icon_Reseter + + rm -rf /home/free/.local/share/applications/Sovran_SystemsOS_Reseter.desktop + + + if [[ $? != 0 ]]; then + + zenity --error \ + --ellipsize \ + --no-wrap \ + --title="Sovran_SystemsOS_Reseter" \ + --text="Could Not Remove Reseter App" + + exit 1 + fi + exit 0 \ No newline at end of file diff --git a/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Icon/Sovran_SystemsOS_Reseter_Icon.svg b/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Icon _Reseter/Sovran_SystemsOS_Reseter_Icon.svg similarity index 100% rename from Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Icon/Sovran_SystemsOS_Reseter_Icon.svg rename to Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Icon _Reseter/Sovran_SystemsOS_Reseter_Icon.svg diff --git a/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Sovran_SystemsOS_Reseter.desktop b/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Sovran_SystemsOS_Reseter.desktop new file mode 100644 index 0000000..88fbc5b --- /dev/null +++ b/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Sovran_SystemsOS_Reseter.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Version=1.0 +Terminal=false +Type=Application +Name=Sovran_SystemsOS Updater +Exec=/home/free/.Sovran_Systems/localscript_to_remote_reseter.sh +Icon=/home/free/.Sovran_Systems/Icon_Reseter/Sovran_SystemsOS_Reseter_Iconv3.svg \ No newline at end of file diff --git a/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Sovran_SystemsOS_Updater.desktop b/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Sovran_SystemsOS_Updater.desktop deleted file mode 100644 index 0843de1..0000000 --- a/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/Sovran_SystemsOS_Updater.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Version=1.0 -Terminal=false -Type=Application -Name=Sovran_SystemsOS Updater -Exec=/home/free/.Sovran_Systems/localscript_to_remote_updater.sh -Icon=/home/free/.Sovran_Systems/Icon/Sovran_SystemsOS_Updater_Iconv3.svg \ No newline at end of file diff --git a/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/localscript_to_remote_updater.sh b/Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/localscript_to_remote_reseter.sh similarity index 100% rename from Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/localscript_to_remote_updater.sh rename to Sovran_SystemsOS_Reseter/To Install on local Sovran Pro/localscript_to_remote_reseter.sh diff --git a/Sovran_SystemsOS_Reseter/sovran_systemsOS_reseter_local_installer/sovran_systemsOS_reseter_install.sh b/Sovran_SystemsOS_Reseter/sovran_systemsOS_reseter_local_installer/sovran_systemsOS_reseter_install.sh new file mode 100755 index 0000000..3c2b90e --- /dev/null +++ b/Sovran_SystemsOS_Reseter/sovran_systemsOS_reseter_local_installer/sovran_systemsOS_reseter_install.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +pushd ~/Downloads + +wget https://git.sovransystems.com/Sovran_Systems/Software/archive/main.zip + +unzip main.zip + +popd + +mkdir ~/.Sovran_Systems + +mv "/home/free/Downloads/packages/Sovran_SystemsOS_Reseter/To Install on Local Sovarn Pros/localscript_to_remote_reseter.sh" /home/free/.Sovran_Systems/ + +mv "/home/free/Downloads/packages/Sovran_SystemsOS_Reseter/To Install on Local Sovarn Pros/Icon_Reseter" /home/free/.Sovran_Systems/ + +mv "/home/free/Downloads/packages/Sovran_SystemsOS_Reseter/To Install on Local Sovarn Pros/Sovran_SystemsOS_Reseter.desktop" /home/free/.local/share/applications/ + +chmod 770 /home/free/.Sovran_Systems/localscript_to_remote_reseter.sh + +rm -rf /home/free/Downloads/main.zip + +rm -rf /home/free/Downloads/packages + +exit \ No newline at end of file