mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-27 13:23:13 +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
|
printlog "Replacing App Store apps, no matter the version" WARN
|
||||||
appversion=0
|
appversion=0
|
||||||
else
|
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
|
cleanupAndExit 23 "App previously installed from App Store, and we respect that" ERROR
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -459,6 +463,10 @@ installAppWithPath() { # $1: path to app to install in $targetDir
|
|||||||
printlog "notifying"
|
printlog "notifying"
|
||||||
displaynotification "$message" "No update for $name!"
|
displaynotification "$message" "No update for $name!"
|
||||||
fi
|
fi
|
||||||
|
if [[ $DIALOG_CMD_FILE != "" ]]; then
|
||||||
|
updateDialog "wait" "Latest version already installed..."
|
||||||
|
sleep 2
|
||||||
|
fi
|
||||||
cleanupAndExit 0 "No new version to install" REG
|
cleanupAndExit 0 "No new version to install" REG
|
||||||
else
|
else
|
||||||
printlog "Using force to install anyway."
|
printlog "Using force to install anyway."
|
||||||
@@ -625,6 +633,10 @@ installFromPKG() {
|
|||||||
printlog "notifying"
|
printlog "notifying"
|
||||||
displaynotification "$message" "No update for $name!"
|
displaynotification "$message" "No update for $name!"
|
||||||
fi
|
fi
|
||||||
|
if [[ $DIALOG_CMD_FILE != "" ]]; then
|
||||||
|
updateDialog "wait" "Latest version already installed..."
|
||||||
|
sleep 2
|
||||||
|
fi
|
||||||
cleanupAndExit 0 "No new version to install" REQ
|
cleanupAndExit 0 "No new version to install" REQ
|
||||||
else
|
else
|
||||||
printlog "Using force to install anyway."
|
printlog "Using force to install anyway."
|
||||||
|
|||||||
Reference in New Issue
Block a user