diff --git a/.gitignore b/.gitignore index 4211055..88cfe0b 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ scratch/ # do include Installomator .pkg files #!Installomator-*.pkg checkLabelCurrent.sh +Installomator.sh diff --git a/Installomator.sh b/Installomator.sh index 3f64473..2a4e1cc 100755 --- a/Installomator.sh +++ b/Installomator.sh @@ -302,8 +302,8 @@ if [[ $(/usr/bin/arch) == "arm64" ]]; then rosetta2=no fi fi -VERSION="9.1" -VERSIONDATE="2022-03-18" +VERSION="9.2beta" +VERSIONDATE="2022-05-03" # MARK: Functions @@ -2534,6 +2534,24 @@ icons) appNewVersion=$(versionFromGit sap macOS-icon-generator ) expectedTeamID="7R5ZEU67FQ" ;; +idrive) + name="IDrive" + type="pkgInDmg" + pkgName="IDrive.pkg" + downloadURL=$(curl -fs https://static.idriveonlinebackup.com/downloads/version_mac.js | sed 's/.*href\([^;]*\).*/\1/' | sed 's/.*\(https.*dmg\).*/\1/g') + appNewVersion=$(curl -fs https://static.idriveonlinebackup.com/downloads/version_mac.js | sed 's/.*mac_vernum=\([^;]*\).*/\1/' | sed 's/.*Version \([0-9.]*\).*/\1/') + versionKey="CFBundleVersion" + expectedTeamID="JWDCNYZ922" + ;; +idrivethin) + name="IDrive" + type="pkgInDmg" + pkgName="IDriveThin.pkg" + downloadURL=$(curl -fs https://static.idriveonlinebackup.com/downloads/idrivethin/thin_version.js | sed 's/.*thinclient-mac\([^;]*\).*/\1/' | sed 's/.*\(https.*dmg\).*/\1/g') + appNewVersion=$(curl -fs https://static.idriveonlinebackup.com/downloads/idrivethin/thin_version.js | sed 's/.*thin_mac_ver=\([^;]*\).*/\1/' | sed 's/.*Version \([0-9.]*\).*/\1/') + versionKey="CFBundleVersion" + expectedTeamID="JWDCNYZ922" + ;; iina) name="IINA" type="dmg" diff --git a/fragments/labels/idrivethin.sh b/fragments/labels/idrivethin.sh new file mode 100644 index 0000000..c4ff619 --- /dev/null +++ b/fragments/labels/idrivethin.sh @@ -0,0 +1,9 @@ +idrivethin) + name="IDrive" + type="pkgInDmg" + pkgName="IDriveThin.pkg" + downloadURL=$(curl -fs https://static.idriveonlinebackup.com/downloads/idrivethin/thin_version.js | sed 's/.*thinclient-mac\([^;]*\).*/\1/' | sed 's/.*\(https.*dmg\).*/\1/g') + appNewVersion=$(curl -fs https://static.idriveonlinebackup.com/downloads/idrivethin/thin_version.js | sed 's/.*thin_mac_ver=\([^;]*\).*/\1/' | sed 's/.*Version \([0-9.]*\).*/\1/') + versionKey="CFBundleVersion" + expectedTeamID="JWDCNYZ922" + ;;