installerTool implemented

This commit is contained in:
Søren Theilgaard
2021-11-15 14:25:57 +01:00
parent 4aa7cd7793
commit 891dab08d4
7 changed files with 41 additions and 17 deletions

View File

@@ -202,6 +202,12 @@ if [[ $currentUser != "loginwindow" && $NOTIFY == "all" ]]; then
displaynotification "Installing $name" "Installation in progress …"
fi
if [ -n "$installerTool" ]; then
# installerTool defined, and we use that for installation
printlog "installerTool used: $installerTool"
appName="$installerTool"
fi
case $type in
dmg)
installFromDMG