mocha-software and buildLabel.sh

Improved buildLabel.sh to handle another set of headers when trying to download, and that can handle the mocha-software.

But mocha-software has been disabled, as Installomator does not offer the headers when that is trying to download.
This commit is contained in:
Søren Theilgaard
2022-01-07 20:41:35 +01:00
parent c3ddd4f8c7
commit d80c76a4d3
8 changed files with 43 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
mochakeyboard)
name="Mocha Keyboard"
type="appInDmgInZip"
downloadURL="https://mochasoft.dk/mochakeyboard.dmg.zip"
appNewVersion=""
expectedTeamID="RR9F5EPNVW"
;;

View File

@@ -0,0 +1,7 @@
mochatelnet)
name="Telnet"
type="appInDmgInZip"
downloadURL="https://mochasoft.dk/telnet.dmg.zip"
appNewVersion=""
expectedTeamID="RR9F5EPNVW"
;;

View File

@@ -0,0 +1,7 @@
mochatn3270)
name="TN3270"
type="appInDmgInZip"
downloadURL="https://mochasoft.dk/tn3270.dmg.zip"
appNewVersion=""
expectedTeamID="RR9F5EPNVW"
;;

View File

@@ -0,0 +1,7 @@
mochatn3812)
name="TN3812"
type="appInDmgInZip"
downloadURL="https://mochasoft.dk/tn3812.dmg.zip"
appNewVersion=""
expectedTeamID="Frydendal"
;;

View File

@@ -0,0 +1,7 @@
mochatn5250)
name="TN5250"
type="appInDmgInZip"
downloadURL="https://mochasoft.dk/tn5250.dmg.zip"
appNewVersion=""
expectedTeamID="RR9F5EPNVW"
;;

View File

@@ -99,10 +99,17 @@ dmgInvestigation() {
if [[ $appPath != "" ]]; then
echo "App found: $appPath"
if [[ $archiveExt = "dmgInZip" ]]; then
archiveExt="appInDmgInZip"
fi
appInvestigation
elif [[ $pkgPath != "" ]]; then
echo "PKG found: $pkgPath"
archiveExt="pkgInDmg"
if [[ $archiveExt = "dmgInZip" ]]; then
archiveExt="pkgInDmgInZip not supported, yet!"
else
archiveExt="pkgInDmg"
fi
pkgInvestigation
else
echo "Nothing found on DMG."