mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-21 05:10:57 +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 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
|
# 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)
|
#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
|
# Variables for label
|
||||||
name="gfxCardStatus"
|
name="gfxCardStatus"
|
||||||
type="zip"
|
type="zip"
|
||||||
|
packageID=""
|
||||||
downloadURL="$(downloadURLFromGit codykrieger gfxCardStatus)"
|
downloadURL="$(downloadURLFromGit codykrieger gfxCardStatus)"
|
||||||
appNewVersion="$(versionFromGit codykrieger gfxCardStatus)"
|
appNewVersion="$(versionFromGit codykrieger gfxCardStatus)"
|
||||||
|
versionKey=""
|
||||||
expectedTeamID="LF22FTQC25"
|
expectedTeamID="LF22FTQC25"
|
||||||
|
|
||||||
# Dialog icon
|
# Dialog icon
|
||||||
@@ -294,10 +296,12 @@ fi
|
|||||||
cmdOutput="$(${destFile} valuesfromarguments LOGO=$LOGO \
|
cmdOutput="$(${destFile} valuesfromarguments LOGO=$LOGO \
|
||||||
name=${name} \
|
name=${name} \
|
||||||
type=${type} \
|
type=${type} \
|
||||||
|
packageID=${packageID} \
|
||||||
downloadURL=\"$downloadURL\" \
|
downloadURL=\"$downloadURL\" \
|
||||||
appNewVersion=${appNewVersion} \
|
appNewVersion=${appNewVersion} \
|
||||||
|
versionKey=${versionKey} \
|
||||||
expectedTeamID=${expectedTeamID} \
|
expectedTeamID=${expectedTeamID} \
|
||||||
${installomatorOptions} || true)"
|
${installomatorOptions} ${installomatorNotify} || true)"
|
||||||
|
|
||||||
checkCmdOutput $cmdOutput
|
checkCmdOutput $cmdOutput
|
||||||
|
|
||||||
|
|||||||
@@ -3,15 +3,17 @@
|
|||||||
# Installation using Installomator with Dialog showing progress (and posibility of adding to the Dock)
|
# 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
|
# 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)
|
#item="" # enter the software to install (if it has a label in future version of Installomator)
|
||||||
|
|
||||||
# Variables for label
|
# Variables for label
|
||||||
name="ClickShare"
|
name="ClickShare"
|
||||||
type="appInDmgInZip"
|
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" )"
|
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}")"
|
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"
|
expectedTeamID="P6CDJZR997"
|
||||||
|
|
||||||
# Dialog icon
|
# Dialog icon
|
||||||
@@ -242,10 +244,12 @@ fi
|
|||||||
cmdOutput="$(${destFile} valuesfromarguments LOGO=$LOGO \
|
cmdOutput="$(${destFile} valuesfromarguments LOGO=$LOGO \
|
||||||
name=${name} \
|
name=${name} \
|
||||||
type=${type} \
|
type=${type} \
|
||||||
|
packageID=${packageID} \
|
||||||
downloadURL=\"$downloadURL\" \
|
downloadURL=\"$downloadURL\" \
|
||||||
appNewVersion=${appNewVersion} \
|
appNewVersion=${appNewVersion} \
|
||||||
|
versionKey=${versionKey} \
|
||||||
expectedTeamID=${expectedTeamID} \
|
expectedTeamID=${expectedTeamID} \
|
||||||
${installomatorOptions} || true)"
|
${installomatorOptions} ${installomatorNotify} || true)"
|
||||||
|
|
||||||
checkCmdOutput $cmdOutput
|
checkCmdOutput $cmdOutput
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user