mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Missing notification and other fields for Installomator call
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Installation using Installomator with Dialog showing progress (and posibility of adding to the Dock)
|
||||
# Installation of software using `valuesfromarguments` to install a custom software using Installomator through GitHub
|
||||
|
||||
LOGO="mosyleb" # "mosyleb", "mosylem", "addigy", "microsoft", "ws1"
|
||||
LOGO="" # "mosyleb", "mosylem", "addigy", "microsoft", "ws1"
|
||||
|
||||
#item="gfxcardstatus" # enter the software to install (if it has a label in future version of Installomator)
|
||||
|
||||
@@ -63,8 +63,10 @@ versionFromGit() {
|
||||
# Variables for label
|
||||
name="gfxCardStatus"
|
||||
type="zip"
|
||||
packageID=""
|
||||
downloadURL="$(downloadURLFromGit codykrieger gfxCardStatus)"
|
||||
appNewVersion="$(versionFromGit codykrieger gfxCardStatus)"
|
||||
versionKey=""
|
||||
expectedTeamID="LF22FTQC25"
|
||||
|
||||
# Dialog icon
|
||||
@@ -294,10 +296,12 @@ fi
|
||||
cmdOutput="$(${destFile} valuesfromarguments LOGO=$LOGO \
|
||||
name=${name} \
|
||||
type=${type} \
|
||||
packageID=${packageID} \
|
||||
downloadURL=\"$downloadURL\" \
|
||||
appNewVersion=${appNewVersion} \
|
||||
versionKey=${versionKey} \
|
||||
expectedTeamID=${expectedTeamID} \
|
||||
${installomatorOptions} || true)"
|
||||
${installomatorOptions} ${installomatorNotify} || true)"
|
||||
|
||||
checkCmdOutput $cmdOutput
|
||||
|
||||
|
||||
@@ -3,15 +3,17 @@
|
||||
# Installation using Installomator with Dialog showing progress (and posibility of adding to the Dock)
|
||||
# Installation of software using `valuesfromarguments` to install a custom software using Installomator
|
||||
|
||||
LOGO="mosyleb" # "mosyleb", "mosylem", "addigy", "microsoft", "ws1"
|
||||
LOGO="" # "mosyleb", "mosylem", "addigy", "microsoft", "ws1"
|
||||
|
||||
#item="" # enter the software to install (if it has a label in future version of Installomator)
|
||||
|
||||
# Variables for label
|
||||
name="ClickShare"
|
||||
type="appInDmgInZip"
|
||||
packageID=""
|
||||
downloadURL="https://www.barco.com$( curl -fs "https://www.barco.com/en/clickshare/app" | grep -A6 -i "macos" | grep -i "FileNumber" | tr '"' "\n" | grep -i "FileNumber" )"
|
||||
appNewVersion="$(eval "$( echo $downloadURL | sed -E 's/.*(MajorVersion.*BuildVersion=[0-9]*).*/\1/' | sed 's/&//g' )" ; ((MajorVersion++)) ; ((MajorVersion--)); ((MinorVersion++)) ; ((MinorVersion--)); ((PatchVersion++)) ; ((PatchVersion--)); ((BuildVersion++)) ; ((BuildVersion--)); echo "${MajorVersion}.${MinorVersion}.${PatchVersion}-b${BuildVersion}")"
|
||||
versionKey=""
|
||||
expectedTeamID="P6CDJZR997"
|
||||
|
||||
# Dialog icon
|
||||
@@ -242,10 +244,12 @@ fi
|
||||
cmdOutput="$(${destFile} valuesfromarguments LOGO=$LOGO \
|
||||
name=${name} \
|
||||
type=${type} \
|
||||
packageID=${packageID} \
|
||||
downloadURL=\"$downloadURL\" \
|
||||
appNewVersion=${appNewVersion} \
|
||||
versionKey=${versionKey} \
|
||||
expectedTeamID=${expectedTeamID} \
|
||||
${installomatorOptions} || true)"
|
||||
${installomatorOptions} ${installomatorNotify} || true)"
|
||||
|
||||
checkCmdOutput $cmdOutput
|
||||
|
||||
|
||||
Reference in New Issue
Block a user