From ed01f6d741b603fd440e9a88b759ed522f066aca Mon Sep 17 00:00:00 2001 From: worthypants <6388066+worthypants@users.noreply.github.com> Date: Tue, 3 May 2022 15:51:45 +0200 Subject: [PATCH] Create new label iDrive --- fragments/labels/idrive.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 fragments/labels/idrive.sh diff --git a/fragments/labels/idrive.sh b/fragments/labels/idrive.sh new file mode 100644 index 0000000..6a16c03 --- /dev/null +++ b/fragments/labels/idrive.sh @@ -0,0 +1,9 @@ +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" + ;;