From f0f4ff5747eac1fa29b5c8c091c2a81fdc957b34 Mon Sep 17 00:00:00 2001 From: Armin Briegel <1933192+scriptingosx@users.noreply.github.com> Date: Fri, 18 Mar 2022 14:03:21 +0100 Subject: [PATCH 01/14] updated version --- fragments/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fragments/version.sh b/fragments/version.sh index c1d513b..11d5a7f 100644 --- a/fragments/version.sh +++ b/fragments/version.sh @@ -1 +1 @@ -9.2beta +10dev From cec9d53ff80c57b58dc4f5d20855f6eaf8f93839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Tue, 22 Mar 2022 16:39:30 +0100 Subject: [PATCH 02/14] QGIS software latest release "pr" This will download the release called "Latest release (richest on features)". ``` $ Installomator/utils/assemble.sh qgis-pr DEBUG=0 2022-03-22 16:23:41 : WARN : qgis-pr : setting variable from argument DEBUG=0 2022-03-22 16:23:41 : REQ : qgis-pr : ################## Start Installomator v. 10dev, date 2022-03-22 2022-03-22 16:23:41 : INFO : qgis-pr : ################## Version: 10dev 2022-03-22 16:23:41 : INFO : qgis-pr : ################## Date: 2022-03-22 2022-03-22 16:23:41 : INFO : qgis-pr : ################## qgis-pr 2022-03-22 16:23:42 : INFO : qgis-pr : BLOCKING_PROCESS_ACTION=tell_user 2022-03-22 16:23:42 : INFO : qgis-pr : NOTIFY=success 2022-03-22 16:23:42 : INFO : qgis-pr : LOGGING=INFO 2022-03-22 16:23:42 : INFO : qgis-pr : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-03-22 16:23:42 : INFO : qgis-pr : Label type: dmg 2022-03-22 16:23:42 : INFO : qgis-pr : archiveName: QGIS.dmg 2022-03-22 16:23:42 : INFO : qgis-pr : no blocking processes defined, using QGIS as default 2022-03-22 16:23:42 : INFO : qgis-pr : name: QGIS, appName: QGIS.app 2022-03-22 16:23:42 : INFO : qgis-pr : App(s) found: 2022-03-22 16:23:42 : WARN : qgis-pr : could not find QGIS.app 2022-03-22 16:23:42 : INFO : qgis-pr : appversion: 2022-03-22 16:23:42 : INFO : qgis-pr : Latest version of QGIS is 3.24.1 2022-03-22 16:23:42 : REQ : qgis-pr : Downloading https://download.qgis.org/downloads/macos/qgis-macos-pr.dmg to QGIS.dmg 2022-03-22 16:25:31 : REQ : qgis-pr : no more blocking processes, continue with update 2022-03-22 16:25:31 : REQ : qgis-pr : Installing QGIS 2022-03-22 16:25:31 : INFO : qgis-pr : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.DTKj8N3Y/QGIS.dmg 2022-03-22 16:26:48 : INFO : qgis-pr : Mounted: /Volumes/QGIS.app 1 2022-03-22 16:26:48 : INFO : qgis-pr : Verifying: /Volumes/QGIS.app 1/QGIS.app 2022-03-22 16:29:55 : INFO : qgis-pr : Team ID matching: 4F7N4UDA22 (expected: 4F7N4UDA22 ) 2022-03-22 16:29:55 : INFO : qgis-pr : Installing QGIS version 3.24.1 on versionKey CFBundleShortVersionString. 2022-03-22 16:29:55 : INFO : qgis-pr : App has LSMinimumSystemVersion: 10.13.0 2022-03-22 16:29:55 : INFO : qgis-pr : Copy /Volumes/QGIS.app 1/QGIS.app to /Applications 2022-03-22 16:32:56 : WARN : qgis-pr : Changing owner to st 2022-03-22 16:32:57 : INFO : qgis-pr : Finishing... 2022-03-22 16:33:07 : INFO : qgis-pr : App(s) found: /Applications/QGIS.app 2022-03-22 16:33:07 : INFO : qgis-pr : found app at /Applications/QGIS.app, version 3.24.1, on versionKey CFBundleShortVersionString 2022-03-22 16:33:07 : REQ : qgis-pr : Installed QGIS, version 3.24.1 2022-03-22 16:33:07 : INFO : qgis-pr : notifying 2022-03-22 16:33:08 : INFO : qgis-pr : App not closed, so no reopen. 2022-03-22 16:33:08 : REQ : qgis-pr : All done! 2022-03-22 16:33:08 : REQ : qgis-pr : ################## End Installomator, exit code 0 $ Installomator/utils/assemble.sh qgis-pr DEBUG=0 2022-03-22 16:36:26 : WARN : qgis-pr : setting variable from argument DEBUG=0 2022-03-22 16:36:26 : REQ : qgis-pr : ################## Start Installomator v. 10dev, date 2022-03-22 2022-03-22 16:36:26 : INFO : qgis-pr : ################## Version: 10dev 2022-03-22 16:36:26 : INFO : qgis-pr : ################## Date: 2022-03-22 2022-03-22 16:36:26 : INFO : qgis-pr : ################## qgis-pr 2022-03-22 16:36:26 : INFO : qgis-pr : BLOCKING_PROCESS_ACTION=tell_user 2022-03-22 16:36:26 : INFO : qgis-pr : NOTIFY=success 2022-03-22 16:36:26 : INFO : qgis-pr : LOGGING=INFO 2022-03-22 16:36:26 : INFO : qgis-pr : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-03-22 16:36:26 : INFO : qgis-pr : Label type: dmg 2022-03-22 16:36:26 : INFO : qgis-pr : archiveName: QGIS.dmg 2022-03-22 16:36:26 : INFO : qgis-pr : no blocking processes defined, using QGIS as default 2022-03-22 16:36:26 : INFO : qgis-pr : App(s) found: /Applications/QGIS.app 2022-03-22 16:36:26 : INFO : qgis-pr : found app at /Applications/QGIS.app, version 3.24.1, on versionKey CFBundleShortVersionString 2022-03-22 16:36:26 : INFO : qgis-pr : appversion: 3.24.1 2022-03-22 16:36:26 : INFO : qgis-pr : Latest version of QGIS is 3.24.1 2022-03-22 16:36:26 : INFO : qgis-pr : There is no newer version available. 2022-03-22 16:36:26 : INFO : qgis-pr : App not closed, so no reopen. 2022-03-22 16:36:26 : REQ : qgis-pr : No newer version. 2022-03-22 16:36:26 : REQ : qgis-pr : ################## End Installomator, exit code 0 ``` --- fragments/labels/qgis-pr.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 fragments/labels/qgis-pr.sh diff --git a/fragments/labels/qgis-pr.sh b/fragments/labels/qgis-pr.sh new file mode 100644 index 0000000..0c29be1 --- /dev/null +++ b/fragments/labels/qgis-pr.sh @@ -0,0 +1,7 @@ +qgis-pr) + name="QGIS" + type="dmg" + downloadURL="https://download.qgis.org/downloads/macos/qgis-macos-pr.dmg" + appNewVersion="$(curl -fs "https://www.qgis.org/da/_static/documentation_options.js" | grep -i version | cut -d "'" -f2)" + expectedTeamID="4F7N4UDA22" + ;; From 37f6290d34e75a1db1dd1f671c7bd4b3524b0963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Wed, 23 Mar 2022 14:04:43 +0100 Subject: [PATCH 03/14] firefoxpkg_intl Trying to determine the language of the user, and then installing that localized version, instead of en_US. But it will fall back to en_US if something goes wrong. --- fragments/labels/firefoxpkg_intl.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 fragments/labels/firefoxpkg_intl.sh diff --git a/fragments/labels/firefoxpkg_intl.sh b/fragments/labels/firefoxpkg_intl.sh new file mode 100644 index 0000000..3e029ce --- /dev/null +++ b/fragments/labels/firefoxpkg_intl.sh @@ -0,0 +1,24 @@ +firefoxpkg_intl) + # This label will try to figure out the selected language of the user, + # and install corrosponding version of Firefox ESR + name="Firefox" + type="pkg" + userLanguage=$(runAsUser defaults read .GlobalPreferences AppleLocale) + printlog "Found language $userLanguage to be used for Firefox." WARN + if ! curl -fs "https://ftp.mozilla.org/pub/firefox/releases/latest/README.txt" | grep -o "=$userLanguage"; then + userLanguage=$(echo $userLanguage | cut -c 1-2) + if ! curl -fs "https://ftp.mozilla.org/pub/firefox/releases/latest/README.txt" | grep "=$userLanguage"; then + userLanguage="en_US" + fi + fi + printlog "Using language $userLanguage for download." WARN + downloadURL="https://download.mozilla.org/?product=firefox-pkg-latest-ssl&os=osx&lang=$userLanguage" + # https://download.mozilla.org/?product=firefox-pkg-latest-ssl&os=osx&lang=en-US + if ! curl -sfL --output /dev/null -r 0-0 "$downloadURL" ; then + printlog "Download not found for that language. Using en-US" WARN + downloadURL="https://download.mozilla.org/?product=firefox-pkg-latest-ssl&os=osx&lang=en-US" + fi + appNewVersion=$(curl -fsIL "$downloadURL" | grep -i location | cut -d "/" -f7) + expectedTeamID="43AQ936H96" + blockingProcesses=( firefox ) + ;; From affe0f4073e79cca46312de05e1b74ca6c805f01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Wed, 23 Mar 2022 14:11:05 +0100 Subject: [PATCH 04/14] log levels on localization --- fragments/labels/firefox_intl.sh | 6 +++--- fragments/labels/firefoxesr_intl.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fragments/labels/firefox_intl.sh b/fragments/labels/firefox_intl.sh index 0218c04..3af441a 100644 --- a/fragments/labels/firefox_intl.sh +++ b/fragments/labels/firefox_intl.sh @@ -4,17 +4,17 @@ firefox_intl) name="Firefox" type="dmg" userLanguage=$(runAsUser defaults read .GlobalPreferences AppleLocale) - printlog "Found language $userLanguage to be used for Firefox." + printlog "Found language $userLanguage to be used for Firefox." WARN if ! curl -fs "https://ftp.mozilla.org/pub/firefox/releases/latest/README.txt" | grep -o "=$userLanguage"; then userLanguage=$(echo $userLanguage | cut -c 1-2) if ! curl -fs "https://ftp.mozilla.org/pub/firefox/releases/latest/README.txt" | grep "=$userLanguage"; then userLanguage="en_US" fi fi - printlog "Using language $userLanguage for download." + printlog "Using language $userLanguage for download." WARN downloadURL="https://download.mozilla.org/?product=firefox-latest&os=osx&lang=$userLanguage" if ! curl -sfL --output /dev/null -r 0-0 "$downloadURL" ; then - printlog "Download not found for that language. Using en-US" + printlog "Download not found for that language. Using en-US" WARN downloadURL="https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US" fi appNewVersion=$(curl -fs https://www.mozilla.org/en-US/firefox/releases/ | grep ' Date: Wed, 23 Mar 2022 16:14:35 +0100 Subject: [PATCH 05/14] CraftManager for Sketch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Result: ``` ➜ Installomator/utils/assemble.sh craftmanagerforsketch DEBUG=0 INSTALL=force 2022-03-23 16:12:43 : WARN : craftmanagerforsketch : setting variable from argument DEBUG=0 2022-03-23 16:12:43 : WARN : craftmanagerforsketch : setting variable from argument INSTALL=force 2022-03-23 16:12:43 : REQ : craftmanagerforsketch : ################## Start Installomator v. 10dev, date 2022-03-23 2022-03-23 16:12:43 : INFO : craftmanagerforsketch : ################## Version: 10dev 2022-03-23 16:12:43 : INFO : craftmanagerforsketch : ################## Date: 2022-03-23 2022-03-23 16:12:43 : INFO : craftmanagerforsketch : ################## craftmanagerforsketch 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : BLOCKING_PROCESS_ACTION=tell_user 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : NOTIFY=success 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : LOGGING=INFO 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : Label type: zip 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : archiveName: CraftManager.zip 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : no blocking processes defined, using CraftManager as default 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : App(s) found: /Applications/CraftManager.app 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : found app at /Applications/CraftManager.app, version 1.1.1, on versionKey CFBundleShortVersionString 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : appversion: 1.1.1 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : Label is not of type “updateronly”, and it’s set to use force to install or ignoring app store apps, so not using updateTool. 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : Latest version of CraftManager is 1.1.1 2022-03-23 16:12:44 : INFO : craftmanagerforsketch : There is no newer version available. 2022-03-23 16:12:44 : REQ : craftmanagerforsketch : Downloading https://craft-assets.invisionapp.com/CraftManager/production/CraftManager.zip to CraftManager.zip 2022-03-23 16:13:06 : REQ : craftmanagerforsketch : no more blocking processes, continue with update 2022-03-23 16:13:06 : REQ : craftmanagerforsketch : Installing CraftManager 2022-03-23 16:13:06 : INFO : craftmanagerforsketch : Unzipping CraftManager.zip 2022-03-23 16:13:06 : INFO : craftmanagerforsketch : Verifying: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.JOfEecvm/CraftManager.app 2022-03-23 16:13:07 : INFO : craftmanagerforsketch : Team ID matching: VRXQSNCL5W (expected: VRXQSNCL5W ) 2022-03-23 16:13:07 : INFO : craftmanagerforsketch : Downloaded version of CraftManager is 1.1.1 on versionKey CFBundleShortVersionString, same as installed. 2022-03-23 16:13:07 : INFO : craftmanagerforsketch : Using force to install anyway. 2022-03-23 16:13:07 : INFO : craftmanagerforsketch : App has LSMinimumSystemVersion: 10.15 2022-03-23 16:13:07 : WARN : craftmanagerforsketch : Removing existing /Applications/CraftManager.app 2022-03-23 16:13:07 : INFO : craftmanagerforsketch : Copy /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.JOfEecvm/CraftManager.app to /Applications 2022-03-23 16:13:07 : WARN : craftmanagerforsketch : Changing owner to st 2022-03-23 16:13:08 : INFO : craftmanagerforsketch : Finishing... 2022-03-23 16:13:18 : INFO : craftmanagerforsketch : App(s) found: /Applications/CraftManager.app 2022-03-23 16:13:18 : INFO : craftmanagerforsketch : found app at /Applications/CraftManager.app, version 1.1.1, on versionKey CFBundleShortVersionString 2022-03-23 16:13:18 : REQ : craftmanagerforsketch : Installed CraftManager, version 1.1.1 2022-03-23 16:13:18 : INFO : craftmanagerforsketch : notifying 2022-03-23 16:13:18 : INFO : craftmanagerforsketch : App not closed, so no reopen. 2022-03-23 16:13:18 : REQ : craftmanagerforsketch : All done! 2022-03-23 16:13:18 : REQ : craftmanagerforsketch : ################## End Installomator, exit code 0 ➜ Installomator/utils/assemble.sh craftmanagerforsketch DEBUG=0 2022-03-23 16:13:23 : WARN : craftmanagerforsketch : setting variable from argument DEBUG=0 2022-03-23 16:13:23 : REQ : craftmanagerforsketch : ################## Start Installomator v. 10dev, date 2022-03-23 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : ################## Version: 10dev 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : ################## Date: 2022-03-23 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : ################## craftmanagerforsketch 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : BLOCKING_PROCESS_ACTION=tell_user 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : NOTIFY=success 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : LOGGING=INFO 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : Label type: zip 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : archiveName: CraftManager.zip 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : no blocking processes defined, using CraftManager as default 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : App(s) found: /Applications/CraftManager.app 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : found app at /Applications/CraftManager.app, version 1.1.1, on versionKey CFBundleShortVersionString 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : appversion: 1.1.1 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : Latest version of CraftManager is 1.1.1 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : There is no newer version available. 2022-03-23 16:13:23 : INFO : craftmanagerforsketch : App not closed, so no reopen. 2022-03-23 16:13:23 : REQ : craftmanagerforsketch : No newer version. 2022-03-23 16:13:23 : REQ : craftmanagerforsketch : ################## End Installomator, exit code 0 ``` --- fragments/labels/craftmanagerforsketch.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 fragments/labels/craftmanagerforsketch.sh diff --git a/fragments/labels/craftmanagerforsketch.sh b/fragments/labels/craftmanagerforsketch.sh new file mode 100644 index 0000000..26e70d3 --- /dev/null +++ b/fragments/labels/craftmanagerforsketch.sh @@ -0,0 +1,7 @@ +craftmanagerforsketch) + name="CraftManager" + type="zip" + downloadURL="https://craft-assets.invisionapp.com/CraftManager/production/CraftManager.zip" + appNewVersion=$(curl -fs https://craft-assets.invisionapp.com/CraftManager/production/appcast.xml | xpath '//rss/channel/item[1]/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f2) + expectedTeamID="VRXQSNCL5W" + ;; From 7fa9d3c24aa7e375e6f99009e6e8f6ab9ebb8c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Wed, 30 Mar 2022 13:25:23 +0200 Subject: [PATCH 06/14] Zoho WorkDrive Genie MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` ➜ Installomator/utils/assemble.sh zohoworkdrivegenie DEBUG=0 INSTALL=force 2022-03-30 13:20:44 : WARN : zohoworkdrivegenie : setting variable from argument DEBUG=0 2022-03-30 13:20:44 : WARN : zohoworkdrivegenie : setting variable from argument INSTALL=force 2022-03-30 13:20:44 : REQ : zohoworkdrivegenie : ################## Start Installomator v. 10dev, date 2022-03-30 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : ################## Version: 10dev 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : ################## Date: 2022-03-30 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : ################## zohoworkdrivegenie 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : BLOCKING_PROCESS_ACTION=tell_user 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : NOTIFY=success 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : LOGGING=INFO 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : Label type: dmg 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : archiveName: Zoho WorkDrive Genie.dmg 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : no blocking processes defined, using Zoho WorkDrive Genie as default 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : App(s) found: /Applications/Zoho WorkDrive Genie.app 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : found app at /Applications/Zoho WorkDrive Genie.app, version 1.0, on versionKey CFBundleShortVersionString 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : appversion: 1.0 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : Label is not of type “updateronly”, and it’s set to use force to install or ignoring app store apps, so not using updateTool. 2022-03-30 13:20:44 : INFO : zohoworkdrivegenie : Latest version not specified. 2022-03-30 13:20:44 : REQ : zohoworkdrivegenie : Downloading https://www.zoho.com/workdrive/downloads/edit-tool/Zoho_WorkDrive_Genie.dmg to Zoho WorkDrive Genie.dmg 2022-03-30 13:20:49 : REQ : zohoworkdrivegenie : no more blocking processes, continue with update 2022-03-30 13:20:49 : REQ : zohoworkdrivegenie : Installing Zoho WorkDrive Genie 2022-03-30 13:20:49 : INFO : zohoworkdrivegenie : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.J1mdaQJZ/Zoho WorkDrive Genie.dmg 2022-03-30 13:20:52 : INFO : zohoworkdrivegenie : Mounted: /Volumes/Zoho WorkDrive Genie 2022-03-30 13:20:52 : INFO : zohoworkdrivegenie : Verifying: /Volumes/Zoho WorkDrive Genie/Zoho WorkDrive Genie.app 2022-03-30 13:20:54 : INFO : zohoworkdrivegenie : Team ID matching: TZ824L8Y37 (expected: TZ824L8Y37 ) 2022-03-30 13:20:54 : INFO : zohoworkdrivegenie : Downloaded version of Zoho WorkDrive Genie is 1.0 on versionKey CFBundleShortVersionString, same as installed. 2022-03-30 13:20:54 : INFO : zohoworkdrivegenie : Using force to install anyway. 2022-03-30 13:20:54 : INFO : zohoworkdrivegenie : App has LSMinimumSystemVersion: 10.13 2022-03-30 13:20:54 : INFO : zohoworkdrivegenie : CLIInstaller exists, running installer command /Volumes/Zoho WorkDrive Genie/Zoho WorkDrive Genie.app/Contents/MacOS/Zoho WorkDrive Genie 2022-03-30 13:21:00 : INFO : zohoworkdrivegenie : Succesfully ran /Volumes/Zoho WorkDrive Genie/Zoho WorkDrive Genie.app/Contents/MacOS/Zoho WorkDrive Genie 2022-03-30 13:21:00 : INFO : zohoworkdrivegenie : Finishing... 2022-03-30 13:21:10 : INFO : zohoworkdrivegenie : App(s) found: /Applications/Zoho WorkDrive Genie.app 2022-03-30 13:21:10 : INFO : zohoworkdrivegenie : found app at /Applications/Zoho WorkDrive Genie.app, version 1.0, on versionKey CFBundleShortVersionString 2022-03-30 13:21:10 : REQ : zohoworkdrivegenie : Installed Zoho WorkDrive Genie, version 1.0 2022-03-30 13:21:10 : INFO : zohoworkdrivegenie : notifying 2022-03-30 13:21:11 : INFO : zohoworkdrivegenie : App not closed, so no reopen. 2022-03-30 13:21:11 : REQ : zohoworkdrivegenie : All done! 2022-03-30 13:21:11 : REQ : zohoworkdrivegenie : ################## End Installomator, exit code 0 ``` --- fragments/labels/zohoworkdrivegenie.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fragments/labels/zohoworkdrivegenie.sh diff --git a/fragments/labels/zohoworkdrivegenie.sh b/fragments/labels/zohoworkdrivegenie.sh new file mode 100644 index 0000000..9861324 --- /dev/null +++ b/fragments/labels/zohoworkdrivegenie.sh @@ -0,0 +1,8 @@ +zohoworkdrivegenie) + name="Zoho WorkDrive Genie" + type="dmg" + # https://www.zoho.com/workdrive/genie.html + downloadURL="https://www.zoho.com/workdrive/downloads/edit-tool/Zoho_WorkDrive_Genie.dmg" + CLIInstaller="Zoho WorkDrive Genie.app/Contents/MacOS/Zoho WorkDrive Genie" + expectedTeamID="TZ824L8Y37" + ;; From f8a3104470bacb371fd1566dbe822e92d08a779b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Wed, 30 Mar 2022 13:39:23 +0200 Subject: [PATCH 07/14] MDM scripts updated --- MDM/App script.sh | 40 ++++++++++++++------- MDM/App-loop script.sh | 50 +++++++++++++++++--------- MDM/Installomator update.sh | 46 ++++++++++++------------ MDM/MDMAddigy CustomSoftware.sh | 53 ++++++++++++++++++---------- MDM/MDMMosyle install.sh | 22 +++++++----- MDM/Manual valuesfromarguments.sh | 58 +++++++++++++++++++------------ 6 files changed, 167 insertions(+), 102 deletions(-) diff --git a/MDM/App script.sh b/MDM/App script.sh index a33a43a..c7b4a10 100755 --- a/MDM/App script.sh +++ b/MDM/App script.sh @@ -5,8 +5,28 @@ what="brave" # enter the software to install # To be used as a script sent out from a MDM. # Fill the variable "what" above with a label. # Script will run this label. +LOGO="appstore" # or "addigy", "microsoft", "mosyleb", "mosylem" +###################################################################### +# Parameters for reinstall/initial install (owner root:wheel): +# "BLOCKING_PROCESS_ACTION=quit_kill INSTALL=force IGNORE_APP_STORE_APPS=yes SYSTEMOWNER=1" +# Parameters for Self Service installed app: +# "BLOCKING_PROCESS_ACTION=prompt_user NOTIFY=all" +# Parameters for security important apps, like browsers (run automaticaly every day): +# "BLOCKING_PROCESS_ACTION=tell_user_then_kill" +# Update of service apps (run automatically): +# "BLOCKING_PROCESS_ACTION=quit_kill NOTIFY=silent" +parameters="BLOCKING_PROCESS_ACTION=tell_user_then_kill NOTIFY=all" ############################################### +# Verify that Installomator has been installed +destFile="/usr/local/Installomator/Installomator.sh" +if [ ! -e "${destFile}" ]; then + echo "Installomator not found here:" + echo "${destFile}" + echo "Exiting." + exit 99 +fi + # No sleeping /usr/bin/caffeinate -d -i -m -u & caffeinatepid=$! @@ -16,18 +36,14 @@ caffexit () { exit $1 } -# Verify that Installomator has been installed -destFile="/usr/local/Installomator/Installomator.sh" -if [ ! -e "${destFile}" ]; then - echo "Installomator not found here:" - echo "${destFile}" - echo "Exiting." - caffexit 99 -fi - -${destFile} ${what} LOGO=mosyleb BLOCKING_PROCESS_ACTION=tell_user #NOTIFY=all #INSTALL=force -if [ $? != 0 ]; then -# This is currently not working in Mosyle, that will ignore script errors. Please request support for this from Mosyle! +cmdOutput="$(${destFile} ${what} LOGO=$LOGO $parameters LOGGING=WARN || true)" +# Check result +exitStatus="$( echo "${cmdOutput}" | grep --binary-files=text -i "exit" | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' || true )" +if [[ ${exitStatus} -ne 0 ]] ; then + echo -e "Error installing ${what}. Exit code ${exitStatus}" + #echo "$cmdOutput" + errorOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "error" || true )" + echo "$errorOutput" echo "Error installing ${what}. Exit code $?" caffexit $? fi diff --git a/MDM/App-loop script.sh b/MDM/App-loop script.sh index 17ce761..8fb33e7 100755 --- a/MDM/App-loop script.sh +++ b/MDM/App-loop script.sh @@ -1,11 +1,31 @@ #!/bin/zsh # Installation using Installomator -what="microsoftteams microsoftyammer firefox bravebrowser cyberduck vlc signal" # enter the software to install separated with spaces +whatList="microsoftteams microsoftyammer firefox bravebrowser cyberduck vlc signal" # enter the software to install separated with spaces # To be used as a script sent out from a MDM. -# Fill the variable "what" above with labels separated by space " ". +# Fill the variable "whatList" above with labels separated by space " ". # Script will loop through these labels. +LOGO="appstore" # or "addigy", "microsoft", "mosyleb", "mosylem" ###################################################################### +# Parameters for reinstall/initial install (owner root:wheel): +# "BLOCKING_PROCESS_ACTION=quit_kill INSTALL=force IGNORE_APP_STORE_APPS=yes SYSTEMOWNER=1" +# Parameters for Self Service installed app: +# "BLOCKING_PROCESS_ACTION=prompt_user NOTIFY=all" +# Parameters for security important apps, like browsers (run automaticaly every day): +# "BLOCKING_PROCESS_ACTION=tell_user_then_kill" +# Update of service apps (run automatically): +# "BLOCKING_PROCESS_ACTION=quit_kill NOTIFY=silent" +parameters="BLOCKING_PROCESS_ACTION=tell_user NOTIFY=all" +###################################################################### + +# Verify that Installomator has been installed +destFile="/usr/local/Installomator/Installomator.sh" +if [ ! -e "${destFile}" ]; then + echo "Installomator not found here:" + echo "${destFile}" + echo "Exiting." + exit 99 +fi # No sleeping /usr/bin/caffeinate -d -i -m -u & @@ -19,21 +39,17 @@ caffexit () { # Count errors errorCount=0 -# Verify that Installomator has been installed -destFile="/usr/local/Installomator/Installomator.sh" -if [ ! -e "${destFile}" ]; then - echo "Installomator not found here:" - echo "${destFile}" - echo "Exiting." - caffexit 99 -fi - -for item in $what; do - #echo $item - ${destFile} ${item} LOGO=mosyleb BLOCKING_PROCESS_ACTION=tell_user #NOTIFY=all #INSTALL=force - if [ $? != 0 ]; then - # This is currently not working in Mosyle, that will ignore script errors. Please request support for this from Mosyle! - echo "[$(DATE)] Error installing ${item}. Exit code $?" +for what in $whatList; do + #echo $what + # Install software using Installomator + cmdOutput="$(${destFile} ${what} LOGO=$LOGO $parameters LOGGING=WARN || true)" + # Check result + exitStatus="$( echo "${cmdOutput}" | grep --binary-files=text -i "exit" | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' || true )" + if [[ ${exitStatus} -ne 0 ]] ; then + echo -e "Error installing ${what}. Exit code ${exitStatus}" + #echo "$cmdOutput" + errorOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "error" || true )" + echo "$errorOutput" let errorCount++ fi done diff --git a/MDM/Installomator update.sh b/MDM/Installomator update.sh index 70fe71f..5b6bb67 100755 --- a/MDM/Installomator update.sh +++ b/MDM/Installomator update.sh @@ -1,9 +1,18 @@ #!/bin/bash # Updating Installomator # Usefull to push out after deployment if earlier version was deployed in DEP profile -# Currently script uses valuesfromarguments as a label is not included before next release, so this can be used to install to version 0.7 what="installomator" # enter the software to install +LOGO="appstore" # or "addigy", "microsoft", "mosyleb", "mosylem" + +# Verify that Installomator has been installed +destFile="/usr/local/Installomator/Installomator.sh" +if [ ! -e "${destFile}" ]; then + echo "Installomator not found here:" + echo "${destFile}" + echo "Exiting." + exit 99 +fi # No sleeping /usr/bin/caffeinate -d -i -m -u & @@ -14,30 +23,19 @@ caffexit () { exit $1 } -# Verify that Installomator has been installed -destFile="/usr/local/Installomator/Installomator.sh" -if [ ! -e "${destFile}" ]; then - echo "Installomator not found here:" - echo "${destFile}" - echo "Exiting." - caffexit 99 -fi +# Install software using Installomator +cmdOutput="$(${destFile} ${what} LOGO=$LOGO BLOCKING_PROCESS_ACTION=ignore NOTIFY=silent LOGGING=req || true)" -${destFile} valuesfromarguments\ - name=Installomator \ - type=pkg \ - packageID=com.scriptingosx.Installomator \ - downloadURL=https://github.com/Installomator/Installomator/releases/download/v0.7release/Installomator-0.7.0.pkg \ - appNewVersion=0.7 \ - expectedTeamID=JME5BW3F3R \ - BLOCKING_PROCESS_ACTION=ignore \ - NOTIFY=silent - -# ${destFile} ${what} BLOCKING_PROCESS_ACTION=ignore NOTIFY=silent -if [ $? != 0 ]; then -# This is currently not working in Mosyle, that will ignore script errors. Please request support for this from Mosyle! - echo "Error installing ${what}. Exit code $?" - caffexit $? +# Check result +exitStatus="$( echo "${cmdOutput}" | grep --binary-files=text -i "exit" | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' || true )" +if [[ ${exitStatus} -eq 0 ]] ; then + echo -e "${what} succesfully installed.\n" +else + echo -e "Error installing ${what}. Exit code ${exitStatus}\n" + #echo "$cmdOutput" + errorOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "error" || true )" + echo "$errorOutput" + caffexit $exitStatus fi echo "[$(DATE)][LOG-END]" diff --git a/MDM/MDMAddigy CustomSoftware.sh b/MDM/MDMAddigy CustomSoftware.sh index 8feb85a..e7918fd 100755 --- a/MDM/MDMAddigy CustomSoftware.sh +++ b/MDM/MDMAddigy CustomSoftware.sh @@ -5,15 +5,34 @@ # Mark: Installation script # Just click “Add” to autogenerate the installer script line by clicking the “Add”-button next to the Installer PKG, replace with first line below -/usr/sbin/installer -pkg "/Library/Addigy/ansible/packages/Installomator (0.7.0)/Installomator-0.7.0.pkg" -target / +/usr/sbin/installer -pkg "/Library/Addigy/ansible/packages/Installomator (9.1.0)/Installomator-9.1.pkg" -target / # Installation using Installomator -what="supportapp xink textmate microsoftedge wwdc keka vlc " # enter the software to installed separated with spaces +whatList="supportapp xink textmate microsoftedge wwdc keka vlc " # enter the software to installed separated with spaces # To be used as a script sent out from a MDM. -# Fill the variable "what" above with labels separated by space " ". +# Fill the variable "whatList" above with labels separated by space " ". # Script will loop through these labels and exit with number of errors. ###################################################################### +# Parameters for reinstall/initial install (owner root:wheel): +# "BLOCKING_PROCESS_ACTION=quit_kill INSTALL=force IGNORE_APP_STORE_APPS=yes SYSTEMOWNER=1" +# Parameters for Self Service installed app: +# "BLOCKING_PROCESS_ACTION=prompt_user NOTIFY=all" +# Parameters for security important apps, like browsers (run automaticaly every day): +# "BLOCKING_PROCESS_ACTION=tell_user_then_kill" +# Update of service apps (run automatically): +# "BLOCKING_PROCESS_ACTION=quit_kill NOTIFY=silent" +parameters="BLOCKING_PROCESS_ACTION=quit_kill INSTALL=force IGNORE_APP_STORE_APPS=yes" +###################################################################### + +# Verify that Installomator has been installed +destFile="/usr/local/Installomator/Installomator.sh" +if [ ! -e "${destFile}" ]; then + echo "Installomator not found here:" + echo "${destFile}" + echo "Exiting." + exit 99 +fi # No sleeping /usr/bin/caffeinate -d -i -m -u & @@ -27,21 +46,17 @@ caffexit () { # Count errors errorCount=0 -# Verify that Installomator has been installed -destFile="/usr/local/Installomator/Installomator.sh" -if [ ! -e "${destFile}" ]; then - echo "Installomator not found here:" - echo "${destFile}" - echo "Exiting." - caffexit 99 -fi - -for item in $what; do - #echo $item - ${destFile} ${item} LOGO=addigy NOTIFY=silent BLOCKING_PROCESS_ACTION=quit_kill #INSTALL=force - if [ $? != 0 ]; then - # Error handling - echo "[$(DATE)] Error installing ${item}. Exit code $?" +for what in $whatList; do + #echo $what + # Install software using Installomator + cmdOutput="$(${destFile} ${what} LOGO=addigy $parameters || true)" + # Check result + exitStatus="$( echo "${cmdOutput}" | grep --binary-files=text -i "exit" | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' || true )" + if [[ ${exitStatus} -ne 0 ]] ; then + echo -e "Error installing ${what}. Exit code ${exitStatus}" + #echo "$cmdOutput" + errorOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "error" || true )" + echo "$errorOutput" let errorCount++ fi done @@ -56,7 +71,7 @@ caffexit $errorCount # Install on success # Remember to fill out the correct “TARGET_VERSION” and “PKG_ID”, and click "Install on succes". PKG_ID="com.scriptingosx.Installomator" -TARGET_VERSION="8.0" +TARGET_VERSION="9.1" vercomp () { if [[ $1 == $2 ]]; then diff --git a/MDM/MDMMosyle install.sh b/MDM/MDMMosyle install.sh index 6c6f9ca..27f9d8d 100644 --- a/MDM/MDMMosyle install.sh +++ b/MDM/MDMMosyle install.sh @@ -1,10 +1,11 @@ PKG_ID="com.scriptingosx.Installomator" -TARGET_VERSION="8.0" +TARGET_VERSION="9.1" URLDOWNLOAD="%MosyleCDNFile:blah-blah-blah%" ###################################################################### -# Installation using Installomator (enter the software to install separated with spaces in the "what"-variable) -what="handbrake theunarchiver microsoftoffice365" +# Installation using Installomator (enter the software to install separated with spaces in the "whatList"-variable) +whatList="handbrake theunarchiver microsoftoffice365" # Covered by Mosyle Catalog: "brave firefox googlechrome microsoftedge microsoftteams signal sublimetext vlc webex zoom" among others +LOGO="mosyleb" # or "mosylem" ###################################################################### ## Mark: Code here @@ -56,12 +57,17 @@ if [ ! -e "${destFile}" ]; then caffexit 99 fi -for item in $what; do +for what in $whatList; do #echo $item - ${destFile} ${item} LOGO=mosyle NOTIFY=all BLOCKING_PROCESS_ACTION=tell_user #NOTIFY=silent BLOCKING_PROCESS_ACTION=quit_kill #INSTALL=force - if [ $? != 0 ]; then - # Error handling - echo "[$(DATE)] Error installing ${item}. Exit code $?" + # Install software using Installomator + cmdOutput="$(${destFile} ${what} LOGO=$LOGO NOTIFY=all BLOCKING_PROCESS_ACTION=tell_user || true)" # NOTIFY=silent BLOCKING_PROCESS_ACTION=quit_kill INSTALL=force + # Check result + exitStatus="$( echo "${cmdOutput}" | grep --binary-files=text -i "exit" | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' || true )" + if [[ ${exitStatus} -ne 0 ]] ; then + echo "Error installing ${what}. Exit code ${exitStatus}" + #echo "$cmdOutput" + errorOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "error" || true )" + echo "$errorOutput" let errorCount++ fi done diff --git a/MDM/Manual valuesfromarguments.sh b/MDM/Manual valuesfromarguments.sh index 706f81f..ee80291 100755 --- a/MDM/Manual valuesfromarguments.sh +++ b/MDM/Manual valuesfromarguments.sh @@ -1,8 +1,20 @@ #!/bin/bash +# Software + # Installation using Installomator # Example of installing software using valuesfromarguments to install a custom software -what="valuesfromarguments" # enter the software to install +LOGO="appstore" # or "addigy", "microsoft", "mosyleb", "mosylem" +############################################### + +# Verify that Installomator has been installed +destFile="/usr/local/Installomator/Installomator.sh" +if [ ! -e "${destFile}" ]; then + echo "Installomator not found here:" + echo "${destFile}" + echo "Exiting." + exit 99 +fi # No sleeping /usr/bin/caffeinate -d -i -m -u & @@ -13,29 +25,31 @@ caffexit () { exit $1 } -# Verify that Installomator has been installed -destFile="/usr/local/Installomator/Installomator.sh" -if [ ! -e "${destFile}" ]; then - echo "Installomator not found here:" - echo "${destFile}" - echo "Exiting." - caffexit 99 -fi +# Variables to calculate +downloadURL="https://craft-assets.invisionapp.com/CraftManager/production/CraftManager.zip" +appNewVersion=$(curl -fs https://craft-assets.invisionapp.com/CraftManager/production/appcast.xml | xpath -e '//rss/channel/item[1]/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f2) -${destFile} valuesfromarguments \ - name=\"Zoho\ WorkDrive\" \ - type=dmg \ - downloadURL=https://files-accl.zohopublic.com/public/wdbin/download/46f971e4fc4a32b68ad5d7dade38a7d2 \ - appNewVersion=2.6.25 \ - expectedTeamID=TZ824L8Y37 \ - BLOCKING_PROCESS_ACTION=quit \ - NOTIFY=all +# Install software using Installomator +cmdOutput="$(${destFile} valuesfromarguments LOGO=$LOGO \ + name=CraftManager \ + type=zip \ + downloadURL=$downloadURL \ + appNewVersion=$appNewVersion \ + expectedTeamID=VRXQSNCL5W \ + BLOCKING_PROCESS_ACTION=prompt_user \ + LOGGING=REQ \ + NOTIFY=all || true)" -# ${destFile} ${what} BLOCKING_PROCESS_ACTION=ignore NOTIFY=silent -if [ $? != 0 ]; then -# This is currently not working in Mosyle, that will ignore script errors. Please request support for this from Mosyle! - echo "Error installing ${what}. Exit code $?" - caffexit $? +# Check result +exitStatus="$( echo "${cmdOutput}" | grep --binary-files=text -i "exit" | tail -1 | sed -E 's/.*exit code ([0-9]).*/\1/g' || true )" +if [[ ${exitStatus} -eq 0 ]] ; then + echo -e "${what} succesfully installed.\n" +else + echo -e "Error installing ${what}. Exit code ${exitStatus}\n" + #printlog "$cmdOutput" + errorOutput="$( echo "${cmdOutput}" | grep --binary-files=text -i "error" || true )" + echo "$errorOutput" + caffexit $exitStatus fi echo "[$(DATE)][LOG-END]" From 1c2d8d9c17598cf8573f3cb4262b9cfe66a49638 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Fri, 8 Apr 2022 21:14:49 +0200 Subject: [PATCH 08/14] Fixed `downloadURL` in sketch --- fragments/labels/sketch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fragments/labels/sketch.sh b/fragments/labels/sketch.sh index 7cf3b9a..c8ab750 100644 --- a/fragments/labels/sketch.sh +++ b/fragments/labels/sketch.sh @@ -1,7 +1,7 @@ sketch) name="Sketch" type="zip" - downloadURL=$(curl -sf https://www.sketch.com/downloads/mac/ | grep 'href="https://download.sketch.com' | sed -E 's/.*href=\"(.*)\".?/\1/g') + downloadURL=$(curl -sf https://www.sketch.com/downloads/mac/ | grep 'href="https://download.sketch.com' | tr '"' "\n" | grep -E "https.*.zip") appNewVersion=$(curl -fs https://www.sketch.com/updates/ | grep "Sketch Version" | head -1 | sed -E 's/.*Version ([0-9.]*)<.*/\1/g') # version from update page expectedTeamID="WUGMZZ5K46" ;; From 79b2b43cd0328beab316dae7f79e1290642790bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Wed, 13 Apr 2022 13:57:36 +0200 Subject: [PATCH 09/14] Dropbox with `appNewVersion` Output: ``` sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh dropbox DEBUG=0 Password: 2022-04-13 13:55:33 : WARN : dropbox : setting variable from argument DEBUG=0 2022-04-13 13:55:33 : REQ : dropbox : ################## Start Installomator v. 10dev, date 2022-04-13 2022-04-13 13:55:33 : INFO : dropbox : ################## Version: 10dev 2022-04-13 13:55:33 : INFO : dropbox : ################## Date: 2022-04-13 2022-04-13 13:55:33 : INFO : dropbox : ################## dropbox 2022-04-13 13:55:34 : INFO : dropbox : BLOCKING_PROCESS_ACTION=tell_user 2022-04-13 13:55:34 : INFO : dropbox : NOTIFY=success 2022-04-13 13:55:34 : INFO : dropbox : LOGGING=INFO 2022-04-13 13:55:34 : INFO : dropbox : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-04-13 13:55:34 : INFO : dropbox : Label type: dmg 2022-04-13 13:55:34 : INFO : dropbox : archiveName: Dropbox.dmg 2022-04-13 13:55:34 : INFO : dropbox : no blocking processes defined, using Dropbox as default 2022-04-13 13:55:34 : INFO : dropbox : name: Dropbox, appName: Dropbox.app 2022-04-13 13:55:34 : INFO : dropbox : App(s) found: 2022-04-13 13:55:34 : WARN : dropbox : could not find Dropbox.app 2022-04-13 13:55:34 : INFO : dropbox : appversion: 2022-04-13 13:55:34 : INFO : dropbox : Latest version of Dropbox is 145.4.4921 2022-04-13 13:55:34 : REQ : dropbox : Downloading https://www.dropbox.com/download?plat=mac&full=1 to Dropbox.dmg 2022-04-13 13:55:37 : REQ : dropbox : no more blocking processes, continue with update 2022-04-13 13:55:37 : REQ : dropbox : Installing Dropbox 2022-04-13 13:55:37 : INFO : dropbox : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.HdtYqL07/Dropbox.dmg 2022-04-13 13:55:38 : INFO : dropbox : Mounted: /Volumes/Dropbox Offline Installer 2022-04-13 13:55:38 : INFO : dropbox : Verifying: /Volumes/Dropbox Offline Installer/Dropbox.app 2022-04-13 13:55:42 : INFO : dropbox : Team ID matching: G7HH3F8CAK (expected: G7HH3F8CAK ) 2022-04-13 13:55:42 : INFO : dropbox : Installing Dropbox version 145.4.4921 on versionKey CFBundleShortVersionString. 2022-04-13 13:55:42 : INFO : dropbox : App has LSMinimumSystemVersion: 10.10 2022-04-13 13:55:42 : INFO : dropbox : Copy /Volumes/Dropbox Offline Installer/Dropbox.app to /Applications 2022-04-13 13:55:45 : WARN : dropbox : Changing owner to st 2022-04-13 13:55:45 : INFO : dropbox : Finishing... 2022-04-13 13:55:55 : INFO : dropbox : App(s) found: /Applications/Dropbox.app 2022-04-13 13:55:55 : INFO : dropbox : found app at /Applications/Dropbox.app, version 145.4.4921, on versionKey CFBundleShortVersionString 2022-04-13 13:55:55 : REQ : dropbox : Installed Dropbox, version 145.4.4921 2022-04-13 13:55:55 : INFO : dropbox : notifying 2022-04-13 13:55:56 : INFO : dropbox : App not closed, so no reopen. 2022-04-13 13:55:56 : REQ : dropbox : All done! 2022-04-13 13:55:56 : REQ : dropbox : ################## End Installomator, exit code 0 ``` --- fragments/labels/dropbox.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/fragments/labels/dropbox.sh b/fragments/labels/dropbox.sh index 6936d96..06a02b9 100644 --- a/fragments/labels/dropbox.sh +++ b/fragments/labels/dropbox.sh @@ -2,5 +2,6 @@ dropbox) name="Dropbox" type="dmg" downloadURL="https://www.dropbox.com/download?plat=mac&full=1" + appNewVersion=$(curl -fsIL "$downloadURL" | grep -i "^location" | sed -E 's/.*%20([0-9.]*)\.dmg/\1/g') expectedTeamID="G7HH3F8CAK" ;; From c6470fdd79520248bd2e715b7d4a5f04aa773e83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Mon, 25 Apr 2022 09:02:27 +0200 Subject: [PATCH 10/14] duckduckgo web browser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s only in preview now, and you need an invitation code to run the app, but now we are ready for this. --- fragments/labels/duckduckgo.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fragments/labels/duckduckgo.sh diff --git a/fragments/labels/duckduckgo.sh b/fragments/labels/duckduckgo.sh new file mode 100644 index 0000000..bbac890 --- /dev/null +++ b/fragments/labels/duckduckgo.sh @@ -0,0 +1,8 @@ +duckduckgo) + name="DuckDuckGo" + type="dmg" + #downloadURL="https://staticcdn.duckduckgo.com/macos-desktop-browser/duckduckgo.dmg" + downloadURL=$(curl -fs https://staticcdn.duckduckgo.com/macos-desktop-browser/appcast.xml | xpath '(//rss/channel/item/enclosure/@url)[last()]' 2>/dev/null | cut -d '"' -f2) + appNewVersion=$(curl -fs https://staticcdn.duckduckgo.com/macos-desktop-browser/appcast.xml | xpath '(//rss/channel/item/enclosure/@sparkle:version)[last()]' 2>/dev/null | cut -d '"' -f2) + expectedTeamID="HKE973VLUW" + ;; From 9307374775456587d4fe22fe448ab1931f77f6ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Tue, 26 Apr 2022 21:40:23 +0200 Subject: [PATCH 11/14] mightymike now has now been signed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` ➜ Installomator/utils/assemble.sh mightymike DEBUG=0 2022-04-26 20:50:59 : WARN : mightymike : setting variable from argument DEBUG=0 2022-04-26 20:50:59 : REQ : mightymike : ################## Start Installomator v. 10dev, date 2022-04-26 2022-04-26 20:50:59 : INFO : mightymike : ################## Version: 10dev 2022-04-26 20:51:00 : INFO : mightymike : ################## Date: 2022-04-26 2022-04-26 20:51:00 : INFO : mightymike : ################## mightymike 2022-04-26 20:51:00 : INFO : mightymike : BLOCKING_PROCESS_ACTION=tell_user 2022-04-26 20:51:00 : INFO : mightymike : NOTIFY=success 2022-04-26 20:51:00 : INFO : mightymike : LOGGING=INFO 2022-04-26 20:51:00 : INFO : mightymike : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-04-26 20:51:00 : INFO : mightymike : Label type: dmg 2022-04-26 20:51:00 : INFO : mightymike : archiveName: Mighty Mike.dmg 2022-04-26 20:51:00 : INFO : mightymike : no blocking processes defined, using Mighty Mike as default 2022-04-26 20:51:00 : INFO : mightymike : name: Mighty Mike, appName: Mighty Mike.app 2022-04-26 20:51:00 : INFO : mightymike : App(s) found: 2022-04-26 20:51:00 : WARN : mightymike : could not find Mighty Mike.app 2022-04-26 20:51:00 : INFO : mightymike : appversion: 2022-04-26 20:51:00 : INFO : mightymike : Latest version of Mighty Mike is 3.0.1 2022-04-26 20:51:00 : REQ : mightymike : Downloading https://github.com/jorio/MightyMike/releases/download/v3.0.1/MightyMike-3.0.1-mac.dmg to Mighty Mike.dmg 2022-04-26 20:51:02 : REQ : mightymike : no more blocking processes, continue with update 2022-04-26 20:51:02 : REQ : mightymike : Installing Mighty Mike 2022-04-26 20:51:02 : INFO : mightymike : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.fKf0WTjS/Mighty Mike.dmg 2022-04-26 20:51:05 : INFO : mightymike : Mounted: /Volumes/Mighty Mike 3.0.1 2022-04-26 20:51:05 : INFO : mightymike : Verifying: /Volumes/Mighty Mike 3.0.1/Mighty Mike.app 2022-04-26 20:51:06 : INFO : mightymike : Team ID matching: RVNL7XC27G (expected: RVNL7XC27G ) 2022-04-26 20:51:06 : INFO : mightymike : Installing Mighty Mike version 3.0.1 on versionKey CFBundleShortVersionString. 2022-04-26 20:51:06 : INFO : mightymike : App has LSMinimumSystemVersion: 10.11 2022-04-26 20:51:06 : INFO : mightymike : Copy /Volumes/Mighty Mike 3.0.1/Mighty Mike.app to /Applications 2022-04-26 20:51:06 : WARN : mightymike : Changing owner to st 2022-04-26 20:51:06 : INFO : mightymike : Finishing... 2022-04-26 20:51:16 : INFO : mightymike : App(s) found: /Applications/Mighty Mike.app 2022-04-26 20:51:16 : INFO : mightymike : found app at /Applications/Mighty Mike.app, version 3.0.1, on versionKey CFBundleShortVersionString 2022-04-26 20:51:16 : REQ : mightymike : Installed Mighty Mike, version 3.0.1 2022-04-26 20:51:16 : INFO : mightymike : notifying 2022-04-26 20:51:16 : INFO : mightymike : App not closed, so no reopen. 2022-04-26 20:51:16 : REQ : mightymike : All done! 2022-04-26 20:51:16 : REQ : mightymike : ################## End Installomator, exit code 0 ``` --- fragments/{disabled => labels}/mightymike.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename fragments/{disabled => labels}/mightymike.sh (100%) diff --git a/fragments/disabled/mightymike.sh b/fragments/labels/mightymike.sh similarity index 100% rename from fragments/disabled/mightymike.sh rename to fragments/labels/mightymike.sh From 2589d2ec389189f2e55998b4606d6ea8fa90fe32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Tue, 26 Apr 2022 21:53:57 +0200 Subject: [PATCH 12/14] Update to duckduckgo as appcast was changed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The appcast url now has the newest version at the top. I guess we should sort the list if the newest will be moved again. Now this result: ``` ➜ Installomator/utils/assemble.sh duckduckgo DEBUG=0 2022-04-26 21:51:22 : WARN : duckduckgo : setting variable from argument DEBUG=0 2022-04-26 21:51:22 : REQ : duckduckgo : ################## Start Installomator v. 10dev, date 2022-04-26 2022-04-26 21:51:22 : INFO : duckduckgo : ################## Version: 10dev 2022-04-26 21:51:22 : INFO : duckduckgo : ################## Date: 2022-04-26 2022-04-26 21:51:22 : INFO : duckduckgo : ################## duckduckgo 2022-04-26 21:51:22 : INFO : duckduckgo : BLOCKING_PROCESS_ACTION=tell_user 2022-04-26 21:51:22 : INFO : duckduckgo : NOTIFY=success 2022-04-26 21:51:22 : INFO : duckduckgo : LOGGING=INFO 2022-04-26 21:51:22 : INFO : duckduckgo : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-04-26 21:51:22 : INFO : duckduckgo : Label type: dmg 2022-04-26 21:51:22 : INFO : duckduckgo : archiveName: DuckDuckGo.dmg 2022-04-26 21:51:22 : INFO : duckduckgo : no blocking processes defined, using DuckDuckGo as default 2022-04-26 21:51:22 : INFO : duckduckgo : App(s) found: /Applications/DuckDuckGo.app 2022-04-26 21:51:22 : INFO : duckduckgo : found app at /Applications/DuckDuckGo.app, version 0.22.3, on versionKey CFBundleShortVersionString 2022-04-26 21:51:22 : INFO : duckduckgo : appversion: 0.22.3 2022-04-26 21:51:22 : INFO : duckduckgo : Latest version of DuckDuckGo is 0.23.0 2022-04-26 21:51:22 : REQ : duckduckgo : Downloading https://staticcdn.duckduckgo.com/macos-desktop-browser/duckduckgo-0.23.0.dmg to DuckDuckGo.dmg 2022-04-26 21:51:24 : REQ : duckduckgo : no more blocking processes, continue with update 2022-04-26 21:51:24 : REQ : duckduckgo : Installing DuckDuckGo 2022-04-26 21:51:24 : INFO : duckduckgo : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.lQwUqkMi/DuckDuckGo.dmg 2022-04-26 21:51:28 : INFO : duckduckgo : Mounted: /Volumes/DuckDuckGo 2022-04-26 21:51:28 : INFO : duckduckgo : Verifying: /Volumes/DuckDuckGo/DuckDuckGo.app 2022-04-26 21:51:29 : INFO : duckduckgo : Team ID matching: HKE973VLUW (expected: HKE973VLUW ) 2022-04-26 21:51:29 : INFO : duckduckgo : Downloaded version of DuckDuckGo is 0.23.0 on versionKey CFBundleShortVersionString (replacing version 0.22.3). 2022-04-26 21:51:29 : INFO : duckduckgo : App has LSMinimumSystemVersion: 10.15 2022-04-26 21:51:29 : WARN : duckduckgo : Removing existing /Applications/DuckDuckGo.app 2022-04-26 21:51:29 : INFO : duckduckgo : Copy /Volumes/DuckDuckGo/DuckDuckGo.app to /Applications 2022-04-26 21:51:29 : WARN : duckduckgo : Changing owner to st 2022-04-26 21:51:29 : INFO : duckduckgo : Finishing... 2022-04-26 21:51:39 : INFO : duckduckgo : App(s) found: /Applications/DuckDuckGo.app 2022-04-26 21:51:39 : INFO : duckduckgo : found app at /Applications/DuckDuckGo.app, version 0.23.0, on versionKey CFBundleShortVersionString 2022-04-26 21:51:39 : REQ : duckduckgo : Installed DuckDuckGo, version 0.23.0 2022-04-26 21:51:39 : INFO : duckduckgo : notifying 2022-04-26 21:51:40 : INFO : duckduckgo : App not closed, so no reopen. 2022-04-26 21:51:40 : REQ : duckduckgo : All done! 2022-04-26 21:51:40 : REQ : duckduckgo : ################## End Installomator, exit code 0 ``` --- fragments/labels/duckduckgo.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fragments/labels/duckduckgo.sh b/fragments/labels/duckduckgo.sh index bbac890..a5cb4e0 100644 --- a/fragments/labels/duckduckgo.sh +++ b/fragments/labels/duckduckgo.sh @@ -2,7 +2,9 @@ duckduckgo) name="DuckDuckGo" type="dmg" #downloadURL="https://staticcdn.duckduckgo.com/macos-desktop-browser/duckduckgo.dmg" - downloadURL=$(curl -fs https://staticcdn.duckduckgo.com/macos-desktop-browser/appcast.xml | xpath '(//rss/channel/item/enclosure/@url)[last()]' 2>/dev/null | cut -d '"' -f2) - appNewVersion=$(curl -fs https://staticcdn.duckduckgo.com/macos-desktop-browser/appcast.xml | xpath '(//rss/channel/item/enclosure/@sparkle:version)[last()]' 2>/dev/null | cut -d '"' -f2) + #downloadURL=$(curl -fs https://staticcdn.duckduckgo.com/macos-desktop-browser/appcast.xml | xpath '(//rss/channel/item/enclosure/@url)[last()]' 2>/dev/null | cut -d '"' -f2) + downloadURL=$(curl -fs https://staticcdn.duckduckgo.com/macos-desktop-browser/appcast.xml | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | cut -d '"' -f2) + #appNewVersion=$(curl -fs https://staticcdn.duckduckgo.com/macos-desktop-browser/appcast.xml | xpath '(//rss/channel/item/enclosure/@sparkle:version)[last()]' 2>/dev/null | cut -d '"' -f2) + appNewVersion=$(curl -fs https://staticcdn.duckduckgo.com/macos-desktop-browser/appcast.xml | xpath '(//rss/channel/item/sparkle:shortVersionString)[1]' 2>/dev/null | cut -d ">" -f2 | cut -d "<" -f1) expectedTeamID="HKE973VLUW" ;; From 5dc137dcbe5d2daf8abf2ee4d98e72d725a889ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Fri, 29 Apr 2022 13:44:41 +0200 Subject: [PATCH 13/14] Remote Desktop Manager changed domain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Result free version ``` ➜ Installomator/utils/assemble.sh remotedesktopmanagerfree DEBUG=0 Password: 2022-04-29 13:33:24 : WARN : remotedesktopmanagerfree : setting variable from argument DEBUG=0 2022-04-29 13:33:24 : REQ : remotedesktopmanagerfree : ################## Start Installomator v. 10dev, date 2022-04-29 2022-04-29 13:33:24 : INFO : remotedesktopmanagerfree : ################## Version: 10dev 2022-04-29 13:33:24 : INFO : remotedesktopmanagerfree : ################## Date: 2022-04-29 2022-04-29 13:33:24 : INFO : remotedesktopmanagerfree : ################## remotedesktopmanagerfree 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : BLOCKING_PROCESS_ACTION=tell_user 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : NOTIFY=success 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : LOGGING=INFO 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : Label type: dmg 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : archiveName: Remote Desktop Manager Free.dmg 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : no blocking processes defined, using Remote Desktop Manager Free as default 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : App(s) found: /Applications/Remote Desktop Manager Free.app 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : found app at /Applications/Remote Desktop Manager Free.app, version 2021.2.14.0, on versionKey CFBundleShortVersionString 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : appversion: 2021.2.14.0 2022-04-29 13:33:35 : INFO : remotedesktopmanagerfree : Latest version of Remote Desktop Manager Free is 2022.1.12.0 2022-04-29 13:33:35 : REQ : remotedesktopmanagerfree : Downloading https://cdn.devolutions.net/download/Mac/Devolutions.RemoteDesktopManager.Free.Mac.2022.1.12.0.dmg to Remote Desktop Manager Free.dmg 2022-04-29 13:34:05 : REQ : remotedesktopmanagerfree : no more blocking processes, continue with update 2022-04-29 13:34:05 : REQ : remotedesktopmanagerfree : Installing Remote Desktop Manager Free 2022-04-29 13:34:05 : INFO : remotedesktopmanagerfree : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.isdXwxzs/Remote Desktop Manager Free.dmg 2022-04-29 13:34:10 : INFO : remotedesktopmanagerfree : Mounted: /Volumes/Remote Desktop Manager Free.app Installer 2022-04-29 13:34:10 : INFO : remotedesktopmanagerfree : Verifying: /Volumes/Remote Desktop Manager Free.app Installer/Remote Desktop Manager Free.app 2022-04-29 13:34:21 : INFO : remotedesktopmanagerfree : Team ID matching: N592S9ASDB (expected: N592S9ASDB ) 2022-04-29 13:34:21 : INFO : remotedesktopmanagerfree : Downloaded version of Remote Desktop Manager Free is 2022.1.12.0 on versionKey CFBundleShortVersionString (replacing version 2021.2.14.0). 2022-04-29 13:34:21 : INFO : remotedesktopmanagerfree : App has LSMinimumSystemVersion: 10.10 2022-04-29 13:34:21 : WARN : remotedesktopmanagerfree : Removing existing /Applications/Remote Desktop Manager Free.app 2022-04-29 13:34:21 : INFO : remotedesktopmanagerfree : Copy /Volumes/Remote Desktop Manager Free.app Installer/Remote Desktop Manager Free.app to /Applications 2022-04-29 13:34:24 : WARN : remotedesktopmanagerfree : Changing owner to st 2022-04-29 13:34:24 : INFO : remotedesktopmanagerfree : Finishing... 2022-04-29 13:34:34 : INFO : remotedesktopmanagerfree : App(s) found: /Applications/Remote Desktop Manager Free.app 2022-04-29 13:34:34 : INFO : remotedesktopmanagerfree : found app at /Applications/Remote Desktop Manager Free.app, version 2022.1.12.0, on versionKey CFBundleShortVersionString 2022-04-29 13:34:34 : REQ : remotedesktopmanagerfree : Installed Remote Desktop Manager Free, version 2022.1.12.0 2022-04-29 13:34:34 : INFO : remotedesktopmanagerfree : notifying 2022-04-29 13:34:35 : INFO : remotedesktopmanagerfree : App not closed, so no reopen. 2022-04-29 13:34:35 : REQ : remotedesktopmanagerfree : All done! 2022-04-29 13:34:35 : REQ : remotedesktopmanagerfree : ################## End Installomator, exit code 0 ``` Enterprise version: ``` ➜ Installomator/utils/assemble.sh remotedesktopmanagerenterprise DEBUG=0 INSTALL=force 2022-04-29 13:35:51 : WARN : remotedesktopmanagerenterprise : setting variable from argument DEBUG=0 2022-04-29 13:35:51 : WARN : remotedesktopmanagerenterprise : setting variable from argument INSTALL=force 2022-04-29 13:35:51 : REQ : remotedesktopmanagerenterprise : ################## Start Installomator v. 10dev, date 2022-04-29 2022-04-29 13:35:51 : INFO : remotedesktopmanagerenterprise : ################## Version: 10dev 2022-04-29 13:35:51 : INFO : remotedesktopmanagerenterprise : ################## Date: 2022-04-29 2022-04-29 13:35:51 : INFO : remotedesktopmanagerenterprise : ################## remotedesktopmanagerenterprise 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : BLOCKING_PROCESS_ACTION=tell_user 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : NOTIFY=success 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : LOGGING=INFO 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : Label type: dmg 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : archiveName: Remote Desktop Manager.dmg 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : no blocking processes defined, using Remote Desktop Manager as default 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : name: Remote Desktop Manager, appName: Remote Desktop Manager.app 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : App(s) found: /Applications/Remote Desktop Manager Free.app 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : found app at /Applications/Remote Desktop Manager Free.app, version 2022.1.12.0, on versionKey CFBundleShortVersionString 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : appversion: 2022.1.12.0 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : Label is not of type “updateronly”, and it’s set to use force to install or ignoring app store apps, so not using updateTool. 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : Latest version of Remote Desktop Manager is 2022.1.12.0 2022-04-29 13:35:52 : INFO : remotedesktopmanagerenterprise : There is no newer version available. 2022-04-29 13:35:52 : REQ : remotedesktopmanagerenterprise : Downloading https://cdn.devolutions.net/download/Mac/Devolutions.RemoteDesktopManager.Mac.2022.1.12.0.dmg to Remote Desktop Manager.dmg 2022-04-29 13:36:24 : REQ : remotedesktopmanagerenterprise : no more blocking processes, continue with update 2022-04-29 13:36:24 : REQ : remotedesktopmanagerenterprise : Installing Remote Desktop Manager 2022-04-29 13:36:24 : INFO : remotedesktopmanagerenterprise : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.cOMzga0I/Remote Desktop Manager.dmg 2022-04-29 13:36:27 : INFO : remotedesktopmanagerenterprise : Mounted: /Volumes/Remote Desktop Manager.app Installer 2022-04-29 13:36:27 : INFO : remotedesktopmanagerenterprise : Verifying: /Volumes/Remote Desktop Manager.app Installer/Remote Desktop Manager.app 2022-04-29 13:36:32 : INFO : remotedesktopmanagerenterprise : Team ID matching: N592S9ASDB (expected: N592S9ASDB ) 2022-04-29 13:36:32 : INFO : remotedesktopmanagerenterprise : Downloaded version of Remote Desktop Manager is 2022.1.12.0 on versionKey CFBundleShortVersionString, same as installed. 2022-04-29 13:36:32 : INFO : remotedesktopmanagerenterprise : Using force to install anyway. 2022-04-29 13:36:32 : INFO : remotedesktopmanagerenterprise : App has LSMinimumSystemVersion: 10.10 2022-04-29 13:36:32 : INFO : remotedesktopmanagerenterprise : Copy /Volumes/Remote Desktop Manager.app Installer/Remote Desktop Manager.app to /Applications 2022-04-29 13:36:35 : WARN : remotedesktopmanagerenterprise : Changing owner to st 2022-04-29 13:36:35 : INFO : remotedesktopmanagerenterprise : Finishing... 2022-04-29 13:36:45 : INFO : remotedesktopmanagerenterprise : App(s) found: /Applications/Remote Desktop Manager.app 2022-04-29 13:36:45 : INFO : remotedesktopmanagerenterprise : found app at /Applications/Remote Desktop Manager.app, version 2022.1.12.0, on versionKey CFBundleShortVersionString 2022-04-29 13:36:45 : REQ : remotedesktopmanagerenterprise : Installed Remote Desktop Manager, version 2022.1.12.0 2022-04-29 13:36:45 : INFO : remotedesktopmanagerenterprise : notifying 2022-04-29 13:36:45 : INFO : remotedesktopmanagerenterprise : App not closed, so no reopen. 2022-04-29 13:36:45 : REQ : remotedesktopmanagerenterprise : All done! 2022-04-29 13:36:45 : REQ : remotedesktopmanagerenterprise : ################## End Installomator, exit code 0 ``` --- fragments/labels/remotedesktopmanagerenterprise.sh | 2 +- fragments/labels/remotedesktopmanagerfree.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fragments/labels/remotedesktopmanagerenterprise.sh b/fragments/labels/remotedesktopmanagerenterprise.sh index f058838..d247099 100644 --- a/fragments/labels/remotedesktopmanagerenterprise.sh +++ b/fragments/labels/remotedesktopmanagerenterprise.sh @@ -1,7 +1,7 @@ remotedesktopmanagerenterprise) name="Remote Desktop Manager" type="dmg" - downloadURL=$(curl -fs https://remotedesktopmanager.com/home/thankyou/rdmmacbin | grep -oe "http.*\.dmg" | head -1) + downloadURL=$(curl -fs https://devolutions.net/remote-desktop-manager/home/thankyou/rdmmacbin | grep -oe "http.*\.dmg" | head -1) appNewVersion=$(echo "$downloadURL" | sed -E 's/.*\.Mac\.([0-9.]*)\.dmg/\1/g') expectedTeamID="N592S9ASDB" ;; diff --git a/fragments/labels/remotedesktopmanagerfree.sh b/fragments/labels/remotedesktopmanagerfree.sh index 0d8dd95..60d8e5c 100644 --- a/fragments/labels/remotedesktopmanagerfree.sh +++ b/fragments/labels/remotedesktopmanagerfree.sh @@ -1,7 +1,7 @@ remotedesktopmanagerfree) name="Remote Desktop Manager Free" type="dmg" - downloadURL=$(curl -fs https://remotedesktopmanager.com/home/thankyou/rdmmacfreebin | grep -oe "http.*\.dmg" | head -1) + downloadURL=$(curl -fs https://devolutions.net/remote-desktop-manager/home/thankyou/rdmmacfreebin | grep -oe "http.*\.dmg" | head -1) appNewVersion=$(echo "$downloadURL" | sed -E 's/.*\.Mac\.([0-9.]*)\.dmg/\1/g') expectedTeamID="N592S9ASDB" ;; From 744ce4949d9eee7f570096ed66d1ebb8b2584dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Fri, 29 Apr 2022 14:31:10 +0200 Subject: [PATCH 14/14] Update remotedesktopmanagerenterprise.sh --- fragments/labels/remotedesktopmanagerenterprise.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/fragments/labels/remotedesktopmanagerenterprise.sh b/fragments/labels/remotedesktopmanagerenterprise.sh index d247099..4dd975d 100644 --- a/fragments/labels/remotedesktopmanagerenterprise.sh +++ b/fragments/labels/remotedesktopmanagerenterprise.sh @@ -4,4 +4,5 @@ remotedesktopmanagerenterprise) downloadURL=$(curl -fs https://devolutions.net/remote-desktop-manager/home/thankyou/rdmmacbin | grep -oe "http.*\.dmg" | head -1) appNewVersion=$(echo "$downloadURL" | sed -E 's/.*\.Mac\.([0-9.]*)\.dmg/\1/g') expectedTeamID="N592S9ASDB" + blockingProcesses=( "$name" ) ;;