From e8d56b585cf0f500bb4dde1fe78d17829b63b376 Mon Sep 17 00:00:00 2001 From: worthypants <6388066+worthypants@users.noreply.github.com> Date: Mon, 16 May 2022 14:37:05 +0200 Subject: [PATCH] Updated idrivethin revised downloadurl and appnewversion --- fragments/labels/idrivethin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fragments/labels/idrivethin.sh b/fragments/labels/idrivethin.sh index c4ff619..c6b1cf4 100644 --- a/fragments/labels/idrivethin.sh +++ b/fragments/labels/idrivethin.sh @@ -2,8 +2,8 @@ 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/') + downloadURL=$(curl -fs https://static.idriveonlinebackup.com/downloads/idrivethin/thin_version.js | sed -E 's/.*thinclient-mac([^;]*).*/\1/g' | sed -E 's/.*(https.*dmg).*/\1/g') + appNewVersion=$(curl -fs https://static.idriveonlinebackup.com/downloads/idrivethin/thin_version.js | sed -E 's/.*thin\_mac\_ver\=\"Version\ ([0-9.]*).*/\1/g') versionKey="CFBundleVersion" expectedTeamID="JWDCNYZ922" ;;