Update extensions-custom.sh

This commit is contained in:
Steve Zabka
2021-10-21 16:18:44 +02:00
committed by GitHub
parent 77c551eab8
commit aabe98559f

View File

@@ -57,6 +57,7 @@ fi
if [ "$reset" = "1" ]; then if [ "$reset" = "1" ]; then
manager-extensions-custom manager-extensions-custom
install-extensions-custom
else else
echo "Reset!" echo "Reset!"
fi fi
@@ -92,9 +93,13 @@ case $? in
zenity --info \ zenity --info \
--text="$text_info_czech_plugin" --text="$text_info_czech_plugin"
manager-extensions-custom manager-extensions-custom
install-extensions-custom
;; ;;
-1) -1)
echo "An unexpected error occurred!";; zenity --error \
--text="$text_error"
exit;
;;
esac esac
} }
@@ -134,6 +139,15 @@ function robodk-plugin-custom {
# Installation of various extensions is offered here. For examble: OctoPrint for Autodesk® Fusion 360™ # Installation of various extensions is offered here. For examble: OctoPrint for Autodesk® Fusion 360™
function install-extensions-custom { function install-extensions-custom {
plugin_1="0"
plugin_2="0"
plugin_3="0"
plugin_4="0"
plugin_5="0"
plugin_6="0"
reset="0"
response=$(zenity --list \ response=$(zenity --list \
--checklist \ --checklist \
--title="$program_name" \ --title="$program_name" \
@@ -166,13 +180,5 @@ function install-extensions-custom {
# THE INSTALLATION PROGRAM IS STARTED HERE: # THE INSTALLATION PROGRAM IS STARTED HERE:
############################################################################## ##############################################################################
plugin_1="0"
plugin_2="0"
plugin_3="0"
plugin_4="0"
plugin_5="0"
plugin_6="0"
reset="0"
manager-extensions-custom manager-extensions-custom
install-extensions-custom install-extensions-custom