From a63ee8f856561e115291616fed2fe83d02c4e592 Mon Sep 17 00:00:00 2001 From: Steve Zabka <79079633+cryinkfly@users.noreply.github.com> Date: Mon, 25 Apr 2022 21:58:08 +0200 Subject: [PATCH] Update install.sh --- files/builds/development-branch/install.sh | 36 +++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/files/builds/development-branch/install.sh b/files/builds/development-branch/install.sh index 2861ff6..fceeda2 100644 --- a/files/builds/development-branch/install.sh +++ b/files/builds/development-branch/install.sh @@ -7,7 +7,7 @@ # Author URI: https://cryinkfly.com # # License: MIT # # Copyright (c) 2020-2022 # -# Time/Date: 10:45/25.04.2022 # +# Time/Date: 21:45/25.04.2022 # # Version: 1.7.9 -> 1.8.0 # #################################################################################################### @@ -489,3 +489,37 @@ function EXTENSION_ULTIMAKER_DIGITAL_FACTORY { wget -N https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/raw/main/files/extensions/Ultimaker_Digital_Factory-win64.msi && WINEPREFIX=$WP_PATH msiexec /i Ultimaker_Digital_Factory-win64.msi } + +############################################################################################################################################################### +# ALL DIALOGS ARE ARRANGED HERE: # +############################################################################################################################################################### + +function SP-WELCOME { +yad \ +--form \ +--separator="" \ +--center \ +--height=125 \ +--width=750 \ +--buttons-layout=center \ +--title="" \ +--field="SP_TITLE:LBL" \ +--field="$SP_WELCOME_LABEL_1:LBL" \ +--field="$SP_WELCOME_LABEL_2:LBL" \ +--align=center \ +--button=gtk-about!!"Here you get more informations about this setup wizard.":1 \ +--button=gtk-preferences!!"Here you can adjust the default setting. For example the language.":2 \ +--button=gtk-cancel:99 \ +--button=gtk-ok:3 + +ret=$? + +# Responses to above button presses are below: +if [[ $ret -eq 1 ]]; then + # About-GTK +elif [[ $ret -eq 2 ]]; then + # Settings-GTK +elif [[ $ret -eq 3 ]]; then + # setupact-progressbar +fi +}