From 03f3e258e4a8bb9ac41f729c8937b08d950ef5b9 Mon Sep 17 00:00:00 2001 From: worthypants <6388066+worthypants@users.noreply.github.com> Date: Tue, 3 May 2022 16:52:58 +0200 Subject: [PATCH 1/4] Create new label idrivethin --- fragments/labels/idrivethin.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 fragments/labels/idrivethin.sh diff --git a/fragments/labels/idrivethin.sh b/fragments/labels/idrivethin.sh new file mode 100644 index 0000000..7b42d37 --- /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" + ;; \ No newline at end of file From 3294751e63fed0c92d4aa208e0a2d54877563eb2 Mon Sep 17 00:00:00 2001 From: worthypants <6388066+worthypants@users.noreply.github.com> Date: Tue, 3 May 2022 16:54:22 +0200 Subject: [PATCH 2/4] Revert "Create new label idrivethin" This reverts commit 03f3e258e4a8bb9ac41f729c8937b08d950ef5b9. --- fragments/labels/idrivethin.sh | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 fragments/labels/idrivethin.sh diff --git a/fragments/labels/idrivethin.sh b/fragments/labels/idrivethin.sh deleted file mode 100644 index 7b42d37..0000000 --- a/fragments/labels/idrivethin.sh +++ /dev/null @@ -1,9 +0,0 @@ -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" - ;; \ No newline at end of file From 589747f0ad482ac956920e3665bc89cae06c3d68 Mon Sep 17 00:00:00 2001 From: worthypants <6388066+worthypants@users.noreply.github.com> Date: Tue, 3 May 2022 17:00:22 +0200 Subject: [PATCH 3/4] Create new label idrivethin --- fragments/labels/idrivethin.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 fragments/labels/idrivethin.sh 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" + ;; 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 4/4] 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" ;;