mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
More Dialog messages
This commit is contained in:
@@ -282,6 +282,10 @@ getAppVersion() {
|
||||
printlog "Replacing App Store apps, no matter the version" WARN
|
||||
appversion=0
|
||||
else
|
||||
if [[ $DIALOG_CMD_FILE != "" ]]; then
|
||||
updateDialog "wait" "Already installed from App Store. Not replaced."
|
||||
sleep 4
|
||||
fi
|
||||
cleanupAndExit 23 "App previously installed from App Store, and we respect that" ERROR
|
||||
fi
|
||||
fi
|
||||
@@ -459,6 +463,10 @@ installAppWithPath() { # $1: path to app to install in $targetDir
|
||||
printlog "notifying"
|
||||
displaynotification "$message" "No update for $name!"
|
||||
fi
|
||||
if [[ $DIALOG_CMD_FILE != "" ]]; then
|
||||
updateDialog "wait" "Latest version already installed..."
|
||||
sleep 2
|
||||
fi
|
||||
cleanupAndExit 0 "No new version to install" REG
|
||||
else
|
||||
printlog "Using force to install anyway."
|
||||
@@ -625,6 +633,10 @@ installFromPKG() {
|
||||
printlog "notifying"
|
||||
displaynotification "$message" "No update for $name!"
|
||||
fi
|
||||
if [[ $DIALOG_CMD_FILE != "" ]]; then
|
||||
updateDialog "wait" "Latest version already installed..."
|
||||
sleep 2
|
||||
fi
|
||||
cleanupAndExit 0 "No new version to install" REQ
|
||||
else
|
||||
printlog "Using force to install anyway."
|
||||
|
||||
Reference in New Issue
Block a user