From 84b9a98e136b7486ece927a2db6345be3690035e Mon Sep 17 00:00:00 2001 From: worthypants <6388066+worthypants@users.noreply.github.com> Date: Mon, 16 May 2022 14:46:10 +0200 Subject: [PATCH] updated label idrive corrected downloadURL and appNewVersion --- fragments/labels/idrive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fragments/labels/idrive.sh b/fragments/labels/idrive.sh index 6a16c03..31dca50 100644 --- a/fragments/labels/idrive.sh +++ b/fragments/labels/idrive.sh @@ -2,8 +2,8 @@ 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/') + downloadURL=$(curl -fs https://static.idriveonlinebackup.com/downloads/version_mac.js | sed -E 's/.*(https.*dmg).*/\1/g') + appNewVersion=$(curl -fs https://static.idriveonlinebackup.com/downloads/version_mac.js | sed -E 's/.*mac_vernum\=\"Version\ ([0-9.]*).*/\1/g') versionKey="CFBundleVersion" expectedTeamID="JWDCNYZ922" ;;