502 Commits

Author SHA1 Message Date
Søren Theilgaard
0b22cc2423 Create forticlient_ztna.sh 2022-05-12 15:55:25 +02:00
Armin Briegel
ad5ad5f408 Merge pull request #394 from willpolley/dev
Added label propresenter7
2022-05-12 15:47:22 +02:00
Armin Briegel
69fbc31078 Merge pull request #492 from lart2150/bugfix/ringcentralapp
updates for ringcentral app
2022-05-12 15:24:13 +02:00
Armin Briegel
cd5a4b2b5e Merge pull request #450 from bbenkle/dev
DBeaverCE
2022-05-12 10:24:17 +02:00
Brian Engert
fca59f554b updates for ringcentral app
* update installers to install latest version
* add arm installer (no universal installer yet)
2022-04-18 16:55:40 -05:00
Adam Codega
3ef215c22b Delete grammarly.sh
Committed incorrectly to root of repo.
2022-04-08 09:43:00 -04:00
Bradley Benkle
20e87458ad Revert "Create androidstudio.sh"
This reverts commit 1797bb645b.
2022-03-24 16:44:33 -04:00
Bradley Benkle
1797bb645b Create androidstudio.sh 2022-03-24 16:37:23 -04:00
Bradley Benkle
38f2f45d97 Update dbeaverce.sh 2022-03-21 12:52:07 -04:00
Armin Briegel
f0f4ff5747 updated version 2022-03-18 14:03:21 +01:00
Armin Briegel
579862274a updated version 2022-03-18 14:02:32 +01:00
Armin Briegel
72fdc2365e Merge branch 'main' of github.com:Installomator/Installomator 2022-03-18 13:54:55 +01:00
Armin Briegel
ac042bc700 preparing v9.1 release 2022-03-18 13:51:25 +01:00
Armin Briegel
f001a829bd new label autodeskfusion360admininstall, closes #447 2022-03-18 13:18:38 +01:00
Armin Briegel
9736e1dbfa changed name for cosmetic reasons 2022-03-18 13:17:47 +01:00
Armin Briegel
d78c6fdd5c Merge pull request #446 from Installomator/Micosorft-Endpoint-Manager-(Intune)
Micosorft endpoint manager (intune)
2022-03-18 13:12:21 +01:00
Armin Briegel
65b16dc1ed new label grammarly, closes #444 2022-03-18 13:04:35 +01:00
Armin Briegel
9f5b89c37e moved grammarly.sh to the right location 2022-03-18 13:04:03 +01:00
Armin Briegel
05c1bf7cfc updated label microsoftdefender, closes #440 2022-03-18 12:59:09 +01:00
Armin Briegel
e07b4dd08f new label axurerp10, closes #439 2022-03-18 11:14:07 +01:00
Armin Briegel
88da86d4f0 new lable microsoftazuredatastudio, closes #438 2022-03-18 11:11:12 +01:00
Armin Briegel
b512ae17a3 merged #436 2022-03-18 11:08:46 +01:00
Armin Briegel
1787842366 added new label dialog/swiftdialog, closes #435 2022-03-18 11:04:39 +01:00
Armin Briegel
3e0ad885d8 closes #424 2022-03-18 11:01:03 +01:00
Armin Briegel
001cd592b0 added new label dockutil, closes #432 2022-03-18 10:56:49 +01:00
Armin Briegel
de93df0f85 added new label macadminspython, closes #431 2022-03-18 10:55:03 +01:00
Armin Briegel
0d9628b587 always download Google Chrome universal, closes #430 2022-03-18 10:52:32 +01:00
Armin Briegel
41e828f87a new label 1passwordcli, closes #429 2022-03-18 10:48:08 +01:00
Armin Briegel
eb25c271e3 updated label for appcleaner, closes #428 2022-03-18 10:45:13 +01:00
Armin Briegel
25c419b50d merged logging fixes, closes #427 2022-03-18 10:42:06 +01:00
Armin Briegel
7025efe566 added label for amazoncorretto8jdk, closes #425 2022-03-18 10:38:56 +01:00
Armin Briegel
22a34c45c9 added label for clipy, closes #412 2022-03-18 10:37:13 +01:00
Armin Briegel
cc06b77611 fixed filename for houdahspot label 2022-03-18 10:29:39 +01:00
glowlace
70c4d59df7 Added autodeskfusion360admininstall.sh label 2022-03-18 00:13:21 -05:00
Søren Theilgaard
7fcba4cb6e Merge branch 'main' into Micosorft-Endpoint-Manager-(Intune) 2022-03-15 15:14:30 +01:00
Søren Theilgaard
00ebfa35fd Correct MDM profile name and LOGO path now 2022-03-15 15:13:22 +01:00
Søren Theilgaard
2d813bce80 Microsoft Endpoint Manager (Intune) 2022-03-14 10:19:47 +01:00
Søren Theilgaard
69e4cdd216 Microsoft Endpoint Manager (Intune) added for LOGO 2022-03-14 10:18:58 +01:00
unfo33
55eb9e2d89 Create grammarly.sh 2022-03-11 20:57:58 -05:00
marcelpogorzelski
2349f456bc Fixed Microsoft Defender label
Change applications name to Microsoft Defender and added microsoftdefender as label.

Tested with Intel and Apple Silicon
2022-03-08 11:10:47 +01:00
Macnichol, Christopher
8fd949a567 Create axurerp10.sh 2022-03-07 17:17:56 -05:00
Macnichol, Christopher
f9997623f1 Create microsoftazuredatastudio.sh 2022-03-07 14:57:11 -05:00
Søren Theilgaard
4b14b31ff3 Fixed version
Issue #433 fixed.
2022-03-07 15:11:02 +01:00
Søren Theilgaard
ed737510bb Fixed bad copy-paste 2022-03-07 09:42:51 +01:00
Søren Theilgaard
ec9f1bb9a2 Update to label name as well 2022-03-07 09:38:06 +01:00
Bart Reardon
9022d8e74d Merge branch 'dev' into follow-git-redirects
# Conflicts:
#	fragments/version.sh
2022-03-06 09:02:13 +11:00
Bart Reardon
2a9b73dba7 update downloadURLFromGit() and versionFromGit() to follow redirects 2022-03-06 08:50:49 +11:00
Pro4TLZZ
40f20b3536 update dialog name 2022-03-05 21:31:37 +00:00
Pro4TLZZ
3a0c104f48 update dialog name 2022-03-05 21:30:54 +00:00
Pro4TLZZ
7629acf6a5 update dialog name 2022-03-05 21:30:17 +00:00
Armin Briegel
54070273bc Merge pull request #424 from jamesrampton/README-tweak
Fix a minor typo in README
2022-03-03 15:00:04 +01:00
Armin Briegel
3d84300665 added label for dockutil 2022-03-03 14:53:59 +01:00
Søren Theilgaard
bbae9356c4 appCustomVersion for getting installed version 2022-03-03 14:53:47 +01:00
Armin Briegel
57733423b1 added label for MacAdmins Python 2022-03-03 14:48:36 +01:00
Maarten Wijnants
c3f751bad8 Always download Chrome universal 2022-03-03 11:33:49 +01:00
Rob Smithers
56bf2a3dc4 Create 1passwordcli.sh 2022-03-02 16:04:44 -05:00
Søren Theilgaard
28ddefbd57 Update tembo.sh 2022-03-01 15:07:43 +01:00
Søren Theilgaard
3a0373af60 Few DEVONtechnologies labels 2022-03-01 15:06:32 +01:00
Søren Theilgaard
fb7d9c43a8 Nanosaur now signed
```
$ Installomator/utils/assemble.sh nanosaur DEBUG=0
2022-03-01 09:12:25 : REQ   : nanosaur : setting variable from argument DEBUG=0
2022-03-01 09:12:25 : REQ   : nanosaur : ################## Start Installomator v. 9.1beta, date 2022-03-01
2022-03-01 09:12:25 : INFO  : nanosaur : ################## Version: 9.1beta
2022-03-01 09:12:25 : INFO  : nanosaur : ################## Date: 2022-03-01
2022-03-01 09:12:25 : INFO  : nanosaur : ################## nanosaur
2022-03-01 09:12:25 : INFO  : nanosaur : BLOCKING_PROCESS_ACTION=tell_user
2022-03-01 09:12:25 : INFO  : nanosaur : NOTIFY=success
2022-03-01 09:12:25 : INFO  : nanosaur : LOGGING=INFO
2022-03-01 09:12:25 : INFO  : nanosaur : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-03-01 09:12:25 : INFO  : nanosaur : Label type: dmg
2022-03-01 09:12:25 : INFO  : nanosaur : archiveName: Nanosaur.dmg
2022-03-01 09:12:25 : INFO  : nanosaur : no blocking processes defined, using Nanosaur as default
2022-03-01 09:12:25 : INFO  : nanosaur : name: Nanosaur, appName: Nanosaur.app
2022-03-01 09:12:25 : INFO  : nanosaur : App(s) found:
2022-03-01 09:12:25 : WARN  : nanosaur : could not find Nanosaur.app
2022-03-01 09:12:25 : INFO  : nanosaur : appversion:
2022-03-01 09:12:25 : INFO  : nanosaur : Latest version of Nanosaur is 1.4.3
2022-03-01 09:12:25 : REQ   : nanosaur : Downloading https://github.com/jorio/Nanosaur/releases/download/v1.4.3/Nanosaur-1.4.3-mac.dmg to Nanosaur.dmg
2022-03-01 09:12:27 : REQ   : nanosaur : no more blocking processes, continue with update
2022-03-01 09:12:27 : REQ   : nanosaur : Installing Nanosaur
2022-03-01 09:12:27 : INFO  : nanosaur : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.EyqBn1xp/Nanosaur.dmg
2022-03-01 09:12:31 : INFO  : nanosaur : Mounted: /Volumes/Nanosaur 1.4.3
2022-03-01 09:12:31 : INFO  : nanosaur : Verifying: /Volumes/Nanosaur 1.4.3/Nanosaur.app
2022-03-01 09:12:31 : INFO  : nanosaur : Team ID matching: RVNL7XC27G (expected: RVNL7XC27G )
2022-03-01 09:12:31 : INFO  : nanosaur : Installing Nanosaur version 1.4.3 on versionKey CFBundleShortVersionString.
2022-03-01 09:12:31 : INFO  : nanosaur : App has LSMinimumSystemVersion: 10.11
2022-03-01 09:12:31 : INFO  : nanosaur : Copy /Volumes/Nanosaur 1.4.3/Nanosaur.app to /Applications
2022-03-01 09:12:31 : INFO  : nanosaur : Changing owner to st
2022-03-01 09:12:31 : INFO  : nanosaur : Finishing...
2022-03-01 09:12:41 : INFO  : nanosaur : App(s) found: /Applications/Nanosaur.app
2022-03-01 09:12:41 : INFO  : nanosaur : found app at /Applications/Nanosaur.app, version 1.4.3, on versionKey CFBundleShortVersionString
2022-03-01 09:12:41 : INFO  : nanosaur : Installed Nanosaur, version 1.4.3
2022-03-01 09:12:41 : INFO  : nanosaur : notifying
2022-03-01 09:12:53 : INFO  : nanosaur : App not closed, so no reopen.
2022-03-01 09:12:53 : INFO  : nanosaur :
2022-03-01 09:12:53 : REQ   : nanosaur : ################## End Installomator, exit code 0
```
2022-03-01 09:13:38 +01:00
Søren Theilgaard
ebed623837 Houdah Tembo
```
Installomator/utils/assemble.sh houdahtembo DEBUG=0 INSTALL=force
2022-02-25 11:27:28 : REQ   : houdahtembo : setting variable from argument DEBUG=0
2022-02-25 11:27:28 : REQ   : houdahtembo : setting variable from argument INSTALL=force
2022-02-25 11:27:28 : REQ   : houdahtembo : ################## Start Installomator v. 9.1beta, date 2022-02-25
2022-02-25 11:27:28 : INFO  : houdahtembo : ################## Version: 9.1beta
2022-02-25 11:27:28 : INFO  : houdahtembo : ################## Date: 2022-02-25
2022-02-25 11:27:28 : INFO  : houdahtembo : ################## houdahtembo
2022-02-25 11:27:30 : INFO  : houdahtembo : BLOCKING_PROCESS_ACTION=tell_user
2022-02-25 11:27:30 : INFO  : houdahtembo : NOTIFY=success
2022-02-25 11:27:30 : INFO  : houdahtembo : LOGGING=INFO
2022-02-25 11:27:30 : INFO  : houdahtembo : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-02-25 11:27:30 : INFO  : houdahtembo : Label type: zip
2022-02-25 11:27:30 : INFO  : houdahtembo : archiveName: Tembo.zip
2022-02-25 11:27:30 : INFO  : houdahtembo : no blocking processes defined, using Tembo as default
2022-02-25 11:27:30 : INFO  : houdahtembo : App(s) found: /Applications/Tembo.app
2022-02-25 11:27:30 : INFO  : houdahtembo : found app at /Applications/Tembo.app, version 2.6, on versionKey CFBundleShortVersionString
2022-02-25 11:27:30 : INFO  : houdahtembo : appversion: 2.6
2022-02-25 11:27:30 : INFO  : houdahtembo : 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-02-25 11:27:30 : INFO  : houdahtembo : Latest version of Tembo is 2.6
2022-02-25 11:27:30 : INFO  : houdahtembo : There is no newer version available.
2022-02-25 11:27:30 : REQ   : houdahtembo : Downloading https://dl.houdah.com/tembo/updates/cast2_assets/Tembo2.6.zip to Tembo.zip
2022-02-25 11:27:35 : REQ   : houdahtembo : no more blocking processes, continue with update
2022-02-25 11:27:35 : REQ   : houdahtembo : Installing Tembo
2022-02-25 11:27:35 : INFO  : houdahtembo : Unzipping Tembo.zip
2022-02-25 11:27:35 : INFO  : houdahtembo : Verifying: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.RzdJx8SQ/Tembo.app
2022-02-25 11:27:35 : INFO  : houdahtembo : Team ID matching: DKGQD8H8ZY (expected: DKGQD8H8ZY )
2022-02-25 11:27:35 : INFO  : houdahtembo : Downloaded version of Tembo is 2.6 on versionKey CFBundleShortVersionString, same as installed.
2022-02-25 11:27:35 : INFO  : houdahtembo : Using force to install anyway.
2022-02-25 11:27:35 : INFO  : houdahtembo : App has LSMinimumSystemVersion: 10.11
2022-02-25 11:27:36 : INFO  : houdahtembo : Copy /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.RzdJx8SQ/Tembo.app to /Applications
2022-02-25 11:27:36 : INFO  : houdahtembo : Changing owner to st
2022-02-25 11:27:36 : INFO  : houdahtembo : Finishing...
2022-02-25 11:27:46 : INFO  : houdahtembo : App(s) found: /Applications/Tembo.app
2022-02-25 11:27:46 : INFO  : houdahtembo : found app at /Applications/Tembo.app, version 2.6, on versionKey CFBundleShortVersionString
2022-02-25 11:27:46 : INFO  : houdahtembo : Installed Tembo, version 2.6
2022-02-25 11:27:46 : INFO  : houdahtembo : notifying
2022-02-25 11:27:46 : INFO  : houdahtembo : App not closed, so no reopen.
2022-02-25 11:27:46 : INFO  : houdahtembo :
2022-02-25 11:27:46 : REQ   : houdahtembo : ################## End Installomator, exit code 0
```
2022-02-25 11:28:30 +01:00
Søren Theilgaard
b18aac905e HoudahSpot
```
Installomator/utils/assemble.sh houdahspot DEBUG=0 INSTALL=force
2022-02-25 09:22:23 : REQ   : houdahspot : setting variable from argument DEBUG=0
2022-02-25 09:22:23 : REQ   : houdahspot : setting variable from argument INSTALL=force
2022-02-25 09:22:23 : REQ   : houdahspot : ################## Start Installomator v. 9.1beta, date 2022-02-25
2022-02-25 09:22:23 : INFO  : houdahspot : ################## Version: 9.1beta
2022-02-25 09:22:23 : INFO  : houdahspot : ################## Date: 2022-02-25
2022-02-25 09:22:23 : INFO  : houdahspot : ################## houdahspot
2022-02-25 09:22:25 : INFO  : houdahspot : BLOCKING_PROCESS_ACTION=tell_user
2022-02-25 09:22:25 : INFO  : houdahspot : NOTIFY=success
2022-02-25 09:22:25 : INFO  : houdahspot : LOGGING=INFO
2022-02-25 09:22:25 : INFO  : houdahspot : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-02-25 09:22:25 : INFO  : houdahspot : Label type: zip
2022-02-25 09:22:25 : INFO  : houdahspot : archiveName: HoudahSpot.zip
2022-02-25 09:22:25 : INFO  : houdahspot : no blocking processes defined, using HoudahSpot as default
2022-02-25 09:22:25 : INFO  : houdahspot : App(s) found: /Applications/HoudahSpot.app
2022-02-25 09:22:25 : INFO  : houdahspot : found app at /Applications/HoudahSpot.app, version 6.1.11, on versionKey CFBundleShortVersionString
2022-02-25 09:22:25 : INFO  : houdahspot : appversion: 6.1.11
2022-02-25 09:22:25 : INFO  : houdahspot : 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-02-25 09:22:25 : INFO  : houdahspot : Latest version of HoudahSpot is 6.1.11
2022-02-25 09:22:25 : INFO  : houdahspot : There is no newer version available.
2022-02-25 09:22:25 : REQ   : houdahspot : Downloading https://dl.houdah.com/houdahSpot/updates/cast6_assets/HoudahSpot6.1.11.zip to HoudahSpot.zip
2022-02-25 09:22:32 : REQ   : houdahspot : no more blocking processes, continue with update
2022-02-25 09:22:32 : REQ   : houdahspot : Installing HoudahSpot
2022-02-25 09:22:32 : INFO  : houdahspot : Unzipping HoudahSpot.zip
2022-02-25 09:22:32 : INFO  : houdahspot : Verifying: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.O8lA89oA/HoudahSpot.app
2022-02-25 09:22:33 : INFO  : houdahspot : Team ID matching: DKGQD8H8ZY (expected: DKGQD8H8ZY )
2022-02-25 09:22:33 : INFO  : houdahspot : Downloaded version of HoudahSpot is 6.1.11 on versionKey CFBundleShortVersionString, same as installed.
2022-02-25 09:22:33 : INFO  : houdahspot : Using force to install anyway.
2022-02-25 09:22:33 : INFO  : houdahspot : App has LSMinimumSystemVersion: 10.14
2022-02-25 09:22:33 : INFO  : houdahspot : Copy /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.O8lA89oA/HoudahSpot.app to /Applications
2022-02-25 09:22:33 : INFO  : houdahspot : Changing owner to st
2022-02-25 09:22:33 : INFO  : houdahspot : Finishing...
2022-02-25 09:22:43 : INFO  : houdahspot : App(s) found: /Applications/HoudahSpot.app
2022-02-25 09:22:43 : INFO  : houdahspot : found app at /Applications/HoudahSpot.app, version 6.1.11, on versionKey CFBundleShortVersionString
2022-02-25 09:22:43 : INFO  : houdahspot : Installed HoudahSpot, version 6.1.11
2022-02-25 09:22:43 : INFO  : houdahspot : notifying
2022-02-25 09:22:43 : INFO  : houdahspot : App not closed, so no reopen.
2022-02-25 09:22:43 : INFO  : houdahspot :
2022-02-25 09:22:43 : REQ   : houdahspot : ################## End Installomator, exit code 0
```
2022-02-25 09:23:26 +01:00
Adrian Bühler
4f1c56177a Update appcleaner.sh
Fix downloadURL to use `item[last()]`.
Add `appNewVersion`.
2022-02-24 16:26:40 +01:00
Søren Theilgaard
0a3b7af338 EasyFind from DEVONtechnologies 2022-02-24 12:28:26 +01:00
Søren Theilgaard
9b6c337d7a Improved logging for app copy with ditto
And a few lines changed to `WARN`.
2022-02-21 21:53:18 +01:00
Søren Theilgaard
9fd2b87e3c Few logging levels changed
I want to return a valid explanation for log level REQ for why the script stops.
2022-02-21 16:47:57 +01:00
Søren Theilgaard
a16cd44b0e Merge branch 'main' into Theile-labels-2022-02 2022-02-21 13:43:19 +01:00
Søren Theilgaard
74f6b569dd Support App fixed
Now `supportapp` label have been fixed, so that it will be quit, and can be installed if it is running.
2022-02-21 13:41:51 +01:00
Armin Briegel
d475b2b8ab added label file for amazoncorretto8jdk, #423 2022-02-21 09:39:37 +01:00
James Rampton
d79886b88f Fix a minor typo in README 2022-02-21 08:21:48 +00:00
Armin Briegel
56125c07b1 updated version 2022-02-20 13:08:25 +01:00
Armin Briegel
a3dbf75818 updated version 2022-02-20 13:07:53 +01:00
Armin Briegel
afbd1e363e updated changelog 2022-02-20 12:57:15 +01:00
Armin Briegel
22bc0ecbf6 updated version 2022-02-20 12:48:46 +01:00
Armin Briegel
24f729d357 updated Labels.txt 2022-02-18 17:17:46 +01:00
Armin Briegel
81b02e3932 updated Installomator.sh 2022-02-18 17:16:43 +01:00
Armin Briegel
800912be0c Merge branch 'pr/417' into dev-v9.0.1 2022-02-18 17:08:59 +01:00
Armin Briegel
1e3a50c07f Merge branch 'app-searching-changes-in-getAppVersion' into dev-v9.0.1 2022-02-18 16:56:22 +01:00
Armin Briegel
693164c9a0 Merge branch 'packages-app' into dev-v9.0.1 2022-02-18 16:54:33 +01:00
Fletcher Salesky
0c12343fbb Added support for Loom Apple Silicon version 2022-02-11 15:08:57 -08:00
Søren Theilgaard
cba0e8c766 Merge branch 'Logging-level-improvements' of https://github.com/Installomator/Installomator into Logging-level-improvements 2022-02-09 16:24:40 +01:00
Søren Theilgaard
a25c904ba7 Update functions.sh 2022-02-09 16:23:52 +01:00
Armin Briegel
d64c18df93 Merge branch 'Logging-level-improvements' into packages-app 2022-02-09 15:49:25 +01:00
Armin Briegel
9afdc233f9 replaced a stray 'tmpdir' 2022-02-09 15:49:05 +01:00
Armin Briegel
bc7d005fb9 Merge branch 'Logging-level-improvements' into packages-app 2022-02-09 15:43:21 +01:00
Armin Briegel
175f682b43 re-enabled packages label 2022-02-09 15:41:45 +01:00
Søren Theilgaard
ff8a9c2c3a Few more DEBUG loggings 2022-02-09 14:38:58 +01:00
Søren Theilgaard
bf740d1ffe Update functions.sh 2022-02-09 14:23:32 +01:00
Søren Theilgaard
1da37a13ca Another ls that could return an error 2022-02-09 14:10:01 +01:00
Søren Theilgaard
b30d4da703 Update functions.sh 2022-02-09 14:04:23 +01:00
Søren Theilgaard
c3714d855c Missing spaces
After manually moving Firefox to Utilities I have tested with this:
```
$ sudo /Installomator/utils/assemble.sh firefox DEBUG=0 INSTALL=force
2022-02-09 09:44:04 : INFO  : firefox : setting variable from argument DEBUG=0
2022-02-09 09:44:04 : INFO  : firefox : setting variable from argument INSTALL=force
2022-02-09 09:44:04 : REQ   : firefox : ################## Start Installomator v. 9.1beta, date 2022-02-09
2022-02-09 09:44:04 : INFO  : firefox : ################## Version: 9.1beta
2022-02-09 09:44:04 : INFO  : firefox : ################## Date: 2022-02-09
2022-02-09 09:44:04 : INFO  : firefox : ################## firefox
2022-02-09 09:44:04 : INFO  : firefox : BLOCKING_PROCESS_ACTION=tell_user
2022-02-09 09:44:04 : INFO  : firefox : NOTIFY=success
2022-02-09 09:44:04 : INFO  : firefox : LOGGING=INFO
2022-02-09 09:44:04 : INFO  : firefox : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-02-09 09:44:04 : INFO  : firefox : Label type: dmg
2022-02-09 09:44:04 : INFO  : firefox : targetDir for installation: /Applications/Utilities
2022-02-09 09:44:04 : INFO  : firefox : found app at /Applications/Utilities/Firefox.app, version 97.0, on versionKey CFBundleShortVersionString
2022-02-09 09:44:04 : INFO  : firefox : appversion: 97.0
2022-02-09 09:44:04 : INFO  : firefox : 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-02-09 09:44:04 : INFO  : firefox : Latest version of Firefox is 97.0
2022-02-09 09:44:04 : INFO  : firefox : There is no newer version available.
2022-02-09 09:44:04 : REQ   : firefox : Downloading https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US to Firefox.dmg
2022-02-09 09:44:16 : REQ   : firefox : no more blocking processes, continue with update
2022-02-09 09:44:16 : REQ   : firefox : Installing Firefox
2022-02-09 09:44:16 : INFO  : firefox : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.NMItuUfS/Firefox.dmg
2022-02-09 09:44:24 : INFO  : firefox : Mounted: /Volumes/Firefox
2022-02-09 09:44:24 : INFO  : firefox : Verifying: /Volumes/Firefox/Firefox.app
2022-02-09 09:44:33 : INFO  : firefox : Team ID matching: 43AQ936H96 (expected: 43AQ936H96 )
2022-02-09 09:44:33 : INFO  : firefox : Downloaded version of Firefox is 97.0 on versionKey CFBundleShortVersionString, same as installed.
2022-02-09 09:44:33 : INFO  : firefox : Using force to install anyway.
2022-02-09 09:44:33 : INFO  : firefox : App has LSMinimumSystemVersion: 10.12.0
2022-02-09 09:44:33 : INFO  : firefox : Copy /Volumes/Firefox/Firefox.app to /Applications/Utilities
2022-02-09 09:44:40 : INFO  : firefox : Changing owner to st
2022-02-09 09:44:40 : INFO  : firefox : Finishing...
2022-02-09 09:44:50 : INFO  : firefox : targetDir for installation: /Applications/Utilities
2022-02-09 09:44:50 : INFO  : firefox : found app at /Applications/Utilities/Firefox.app, version 97.0, on versionKey CFBundleShortVersionString
2022-02-09 09:44:50 : INFO  : firefox : Installed Firefox, version 97.0
2022-02-09 09:44:50 : INFO  : firefox : notifying
2022-02-09 09:44:50 : REQ   : firefox : ################## End Installomator, exit code 0
```
2022-02-09 09:46:24 +01:00
Søren Theilgaard
dd83f6bd75 Update functions.sh 2022-02-09 09:41:03 +01:00
Søren Theilgaard
c55cc788bb Update functions.sh 2022-02-09 09:21:46 +01:00
bull
df616d2f51 Create clipy.sh
Support Clipy
https://github.com/Clipy/Clipy
2022-02-09 14:07:32 +09:00
Søren Theilgaard
557d63a4f3 If we exit a 0 we should still get the exit message 2022-02-08 13:48:33 +01:00
Søren Theilgaard
0432eb62d3 Improved logging levels
Also fixes #340
2022-02-08 12:36:16 +01:00
Armin Briegel
071586e43c updated version 2022-02-08 11:13:49 +01:00
Armin Briegel
aea7d282fe updated contributing.md 2022-02-08 11:13:03 +01:00
Armin Briegel
cd6b1397c8 updated version 2022-02-08 10:50:55 +01:00
Armin Briegel
1d405de70a re-built Installomator.sh 2022-02-08 10:41:30 +01:00
Armin Briegel
0645ff6335 Merge branch '2022-02-02_Theile-base' into dev 2022-02-08 10:38:57 +01:00
Armin Briegel
c9d1d458f3 final touches for 9.0 release 2022-02-08 10:38:40 +01:00
Armin Briegel
19c1275f12 updated version 2022-02-08 10:12:05 +01:00
Armin Briegel
aa53b0be68 Merge pull request #406 from Installomator/2022-02-02_Theile-base
Version 9.0 fixed, from branch 2022 02 02 theile base
2022-02-08 10:10:40 +01:00
Armin Briegel
9b58f57ae1 Merge pull request #405 from Installomator/zulujdk13-fix
fixed zulujdk13 downloadURLs
2022-02-08 10:08:47 +01:00
Søren Theilgaard
806c87266b Update CHANGELOG.md 2022-02-07 19:38:48 +01:00
Søren Theilgaard
7d60f0a11f Can handle .gz archives 2022-02-07 19:19:57 +01:00
Søren Theilgaard
435a60ac9f Minor additions 2022-02-07 19:11:28 +01:00
Søren Theilgaard
cf414f7dc6 Fixing wacomdrivers 2022-02-07 16:52:17 +01:00
Søren Theilgaard
ae3f711738 Further logging, finding pkg only return files
Important change, when we use `find` to locate pkgs. Now only files will be returned.
2022-02-07 16:32:23 +01:00
Søren Theilgaard
c238f94a9b Update checkLabels.sh 2022-02-07 14:31:34 +01:00
Armin Briegel
9275e0c045 fixed zulujdk13 downloadURLs 2022-02-07 14:21:35 +01:00
Søren Theilgaard
b3d3f25e19 Update checkInstallomator.sh 2022-02-07 14:12:06 +01:00
Søren Theilgaard
2a1176a947 Different check for file
The ls command to check for this file will throw an error when the file does not exist. Better to simply test for the file (with size greater than zero).
2022-02-07 12:56:13 +01:00
Søren Theilgaard
842b1e19cb Testing SYSTEMOWNER=1 2022-02-07 12:08:50 +01:00
Søren Theilgaard
d34f3102fc Update checkInstallomator.sh 2022-02-07 11:40:31 +01:00
Søren Theilgaard
d74036e853 Update logitechoptions.sh 2022-02-07 09:42:18 +01:00
Søren Theilgaard
bb4a396788 Renaming file to match primary label name 2022-02-04 14:37:03 +01:00
Søren Theilgaard
4bc67f3de3 Minor logging correction 2022-02-04 14:36:44 +01:00
Søren Theilgaard
08e9e63422 Align a function and improve checking in checkLabels
Will now also go through labels with warnings in the, to figure out if the label works. Many warnings are about version checking, so those will be verified now.
2022-02-04 11:59:51 +01:00
Søren Theilgaard
378b166164 Labels fixed 2022-02-04 10:55:14 +01:00
Søren Theilgaard
83c1911248 Ended up with double-log-lines 2022-02-04 09:26:42 +01:00
Søren Theilgaard
ee9861c0f5 Extra space to align log output 2022-02-04 09:02:56 +01:00
Søren Theilgaard
516f05a4cb No packageID in eshareosx 2022-02-03 06:32:23 +01:00
Søren Theilgaard
e181a02838 Update checkInstallomator.sh 2022-02-02 22:09:40 +01:00
Søren Theilgaard
f2782989ce Minor changes 2022-02-02 22:01:41 +01:00
Søren Theilgaard
36fc48682e Testing improved
Will now ask for admin credentials to run a real installation of 3 different labels with different notifications
2022-02-02 21:58:06 +01:00
Søren Theilgaard
890c26e2e1 Logging correction for app delete 2022-02-02 21:47:59 +01:00
Søren Theilgaard
f1616d0d02 Logging fixes 2022-02-02 21:23:41 +01:00
Søren Theilgaard
0a05b533a5 Logging info and a fix 2022-02-02 19:59:14 +01:00
Søren Theilgaard
d36b42acf4 Isaac logging improvements/fixes
Moved the variable declarations from `functions.sh` to `arguments.sh`. We need the argument parsing before setting the logging level and other variables.
2022-02-02 19:39:48 +01:00
Søren Theilgaard
434b755946 Renamed to promiseutility
Not sure why the "r" was there in the first place.
2022-02-02 16:13:33 +01:00
Søren Theilgaard
62734a2acc 403 labels! 2022-02-02 16:00:23 +01:00
Søren Theilgaard
29fadb78b4 Update checkInstallomator.sh 2022-02-02 15:57:30 +01:00
Søren Theilgaard
3a397c5881 Label name and better handling 2022-02-02 15:37:08 +01:00
Søren Theilgaard
bbf4b22296 Fix for Apple signed software
Somehow went missing in the Isaac logging.
2022-02-02 15:23:46 +01:00
Søren Theilgaard
790dabaa27 Comment on exit value if only label name is requested 2022-02-02 15:08:39 +01:00
Søren Theilgaard
ded71fdf8d Error in cleanupAndExit fixed
Unmounted drive after we deleted the temporary items. Reversed order.
2022-02-02 15:02:31 +01:00
Søren Theilgaard
952683310a Merge branch 'pr/268' into 2022-02-02_Theile-base 2022-02-02 14:46:47 +01:00
Søren Theilgaard
5991ce2287 Merge branch 'checkInstallomator.sh' into 2022-02-02_Theile-base 2022-02-02 14:44:19 +01:00
Søren Theilgaard
19137f6d94 Merge branch 'Fixing-if-LSMinimumSystemVersion-doesn't-exist' into 2022-02-02_Theile-base 2022-02-02 14:42:26 +01:00
Søren Theilgaard
fe21c1395a Merge branch 'README-overhaul' into 2022-02-02_Theile-base 2022-02-02 14:42:04 +01:00
Søren Theilgaard
5b54eb7674 Merge branch 'Improved-Isaac-logging' into 2022-02-02_Theile-base 2022-02-02 14:38:18 +01:00
Søren Theilgaard
6559d84075 Merge branch 'Download-with-more-headers' into 2022-02-02_Theile-base 2022-02-02 14:36:43 +01:00
Søren Theilgaard
168abdb32e Merge branch 'versionKey-improvements' into 2022-02-02_Theile-base 2022-02-02 14:34:01 +01:00
Søren Theilgaard
f53e20e313 Update functions.sh
If only returning label name, then we exit with 0.
2022-02-02 13:49:00 +01:00
Søren Theilgaard
9416700da2 Update checkInstallomator.sh
More description on what to test
2022-02-01 09:12:50 +01:00
Søren Theilgaard
dd2af4a40e Create checkInstallomator.sh
This script will check certain labels. It's meant to check all (or most) of Installomator, to see if the code is working. We need labels that are representative for alle the functionality in the script.

(Bug-fix for LSMinimumSystemVersion is needed for some of these to work)
2022-02-01 00:13:51 +01:00
Søren Theilgaard
bc26aa0ca6 Update functions.sh
Had a problem with `dbeaverce` that claimed LSMinimumSystemVersion was used even though it was not, so improved the handling.
2022-01-31 23:41:07 +01:00
Søren Theilgaard
ec2debc9a8 Update README.md 2022-01-31 12:57:31 +01:00
Søren Theilgaard
1e68b7e501 Update README.md 2022-01-31 10:00:07 +01:00
Søren Theilgaard
64a33a7f6b Update README.md 2022-01-31 09:49:47 +01:00
Søren Theilgaard
3bf9299218 Merge pull request #392 from Installomator/Labels-Theile-9
Canva
2022-01-30 11:28:13 +01:00
Søren Theilgaard
ac9c5096cd Update canva.sh
Results:
```
checkLabels.sh canva

Total labels:
canva

Architecture: i386

########## canva
Name: Canva
Download URL: https://desktop-release.canva.com/Canva-latest.dmg
Type: dmg
Version: 1.38.0
OK: downloadURL works OK
OK: download extension MATCH on dmg

Architecture: arm64

########## canva
Name: Canva
Download URL: https://desktop-release.canva.com/Canva-latest-arm64.dmg
Type: dmg
Version: 1.38.0
OK: downloadURL works OK
OK: download extension MATCH on dmg

Warnings counted: 0
ERRORS counted: 0
Done!

assemble.sh canva
2022-01-30 11:16:01 canva ################## Start Installomator v. 9.0dev
2022-01-30 11:16:01 canva ################## canva
2022-01-30 11:16:01 canva DEBUG mode 1 enabled.
2022-01-30 11:16:02 canva BLOCKING_PROCESS_ACTION=tell_user
2022-01-30 11:16:02 canva NOTIFY=success
2022-01-30 11:16:02 canva LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-01-30 11:16:02 canva no blocking processes defined, using Canva as default
2022-01-30 11:16:02 canva Changing directory to /Users/st/Documents/GitHub/Installomator/build
2022-01-30 11:16:02 canva App(s) found: /Applications/Canva.app
2022-01-30 11:16:02 canva found app at /Applications/Canva.app, version 1.38.0
2022-01-30 11:16:02 canva appversion: 1.38.0
2022-01-30 11:16:02 canva Latest version of Canva is 1.38.0
2022-01-30 11:16:02 canva DEBUG mode 1 enabled, not exiting, but there is no new version of app.
2022-01-30 11:16:02 canva Downloading https://desktop-release.canva.com/Canva-latest-arm64.dmg to Canva.dmg
2022-01-30 11:16:10 canva DEBUG mode 1, not checking for blocking processes
2022-01-30 11:16:10 canva Installing Canva
2022-01-30 11:16:10 canva Mounting /Users/st/Documents/GitHub/Installomator/build/Canva.dmg
2022-01-30 11:16:15 canva Mounted: /Volumes/Canva 1.38.0-arm64 1
2022-01-30 11:16:15 canva Verifying: /Volumes/Canva 1.38.0-arm64 1/Canva.app
2022-01-30 11:16:17 canva Team ID matching: 5HD2ARTBFS (expected: 5HD2ARTBFS )
2022-01-30 11:16:17 canva Downloaded version of Canva is 1.38.0, same as installed.
2022-01-30 11:16:17 canva Unmounting /Volumes/Canva 1.38.0-arm64 1
"disk6" ejected.
2022-01-30 11:16:17 canva DEBUG mode 1, not reopening anything
2022-01-30 11:16:17 canva ################## End Installomator, exit code 0
```
2022-01-30 11:18:22 +01:00
Søren Theilgaard
22395d00a5 Merge pull request #395 from SmithersJr/Rancher-Desktop-label 2022-01-29 14:07:20 +01:00
Rob Smithers
a994a8497c Create rancherdesktop.sh
Adding label for Rancher Desktop
2022-01-28 14:20:44 -05:00
Will Polley
e7f4f86b58 Added label propresenter7
To retrieve a response from the update feed, certain variables were required. Changing those variables did not seem to change the output of the update service.

installormator.sh propresenter7 DEBUG=0
2022-01-23 11:47:26 propresenter7 setting variable from argument DEBUG=0
2022-01-23 11:47:26 propresenter7 ################## Start Installomator v. 9.0dev
2022-01-23 11:47:26 propresenter7 ################## propresenter7
2022-01-23 11:47:26 propresenter7 BLOCKING_PROCESS_ACTION=tell_user
2022-01-23 11:47:26 propresenter7 NOTIFY=success
2022-01-23 11:47:26 propresenter7 LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-01-23 11:47:26 propresenter7 Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.K74BOKe5
2022-01-23 11:47:26 propresenter7 App(s) found:
2022-01-23 11:47:26 propresenter7 could not find ProPresenter.app
2022-01-23 11:47:26 propresenter7 appversion:
2022-01-23 11:47:26 propresenter7 Latest version of ProPresenter 7 is 7.8
2022-01-23 11:47:26 propresenter7 Downloading https://renewedvision.com/downloads/propresenter/mac/ProPresenter_7.8_117964825.zip to ProPresenter 7.zip
2022-01-23 11:47:28 propresenter7 no more blocking processes, continue with update
2022-01-23 11:47:28 propresenter7 Installing ProPresenter 7
2022-01-23 11:47:28 propresenter7 Unzipping ProPresenter 7.zip
2022-01-23 11:47:29 propresenter7 Verifying: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.K74BOKe5/ProPresenter.app
2022-01-23 11:47:31 propresenter7 Team ID matching: 97GAAZ6CPX (expected: 97GAAZ6CPX )
2022-01-23 11:47:31 propresenter7 Downloaded version of ProPresenter 7 is 7.8 (replacing version ).
2022-01-23 11:47:31 propresenter7 Copy /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.K74BOKe5/ProPresenter.app to /Applications
2022-01-23 11:47:33 propresenter7 Changing owner to will.polley
2022-01-23 11:47:33 propresenter7 Finishing...
2022-01-23 11:47:43 propresenter7 App(s) found: /Applications/ProPresenter.app
2022-01-23 11:47:43 propresenter7 found app at /Applications/ProPresenter.app, version 7.8
2022-01-23 11:47:43 propresenter7 Installed ProPresenter 7, version 7.8
2022-01-23 11:47:43 propresenter7 notifying
2022-01-23 11:47:43 propresenter7 Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.K74BOKe5
2022-01-23 11:47:44 propresenter7 App not closed, so no reopen.
2022-01-23 11:47:44 propresenter7 ################## End Installomator, exit code 0
2022-01-23 12:02:38 -05:00
Søren Theilgaard
621d6df346 Update arguments.sh 2022-01-22 06:18:00 +01:00
Søren Theilgaard
9bd11b6826 wireshark version update 2022-01-20 14:36:51 +01:00
Søren Theilgaard
6e76685721 Android file transfer 2022-01-20 14:18:27 +01:00
Søren Theilgaard
64a91bff36 MDM script correction
I seems to have seen that `caffeinate` is not really stopped, so I added `pkill caffeinate`.
2022-01-20 11:34:18 +01:00
Søren Theilgaard
7d02cf1da4 tageditor label fix 2022-01-20 10:05:31 +01:00
Søren Theilgaard
2baf2abb91 Merge branch 'dev' of https://github.com/Installomator/Installomator into dev 2022-01-20 09:58:38 +01:00
Søren Theilgaard
5068ebcfd0 iina label fix in filename 2022-01-20 09:58:28 +01:00
Søren Theilgaard
2571744a65 Merge pull request #390 from pythoninthegrass/tableaupublic
Added Tableau Public to labels
2022-01-20 09:54:00 +01:00
Søren Theilgaard
f2354ec755 Update tableaupublic.sh 2022-01-20 09:03:08 +01:00
Søren Theilgaard
f218889f7c Merge pull request #389 from fleish/dev
Update GPG Suite for blocking process & add DaisyDisk app
2022-01-20 08:47:24 +01:00
Søren Theilgaard
449f7e5261 Update daisydisk.sh 2022-01-20 08:35:06 +01:00
pythoninthegrass
197e07ed99 Added Tableau Public to 2022-01-19 17:48:21 -06:00
fleish
ad4692e9bf Create daisydisk.sh
DaisyDisk app from https://daisydiskapp.com/
2022-01-19 15:08:42 -08:00
fleish
195b7df5f5 GPG Suite blocking process update
Looks for GPG Keychain as there is no GPG Suite.app
2022-01-19 15:07:19 -08:00
Adam Codega
6f4d9b5e81 Merge pull request #388 from Installomator/revert-370-dev
Revert "Update gpgsuite blockingProcesses for GPG Keychain & add DaisyDisk label"
2022-01-19 16:55:44 -05:00
Adam Codega
4745138258 Revert "Update gpgsuite blockingProcesses for GPG Keychain & add DaisyDisk label" 2022-01-19 16:55:17 -05:00
Søren Theilgaard
c64dced024 Merge pull request #386 from apizz/patch-5
Add Code42 arm64 downloadURL introduced with 8.8.2 release
2022-01-19 14:44:57 +01:00
AP Orlebeke
dd7344b838 Remove credit per request 2022-01-19 08:42:09 -05:00
Søren Theilgaard
49337a4ae8 versionKey improved
If `versionKey` is used as part of `valuesfromarguments` it will currently be replaced by our standard value `CFBundleShortVersionString` (it was only testet on labels). So added an `if...then` to know if it was already set as part of the arguments.
Also improved logging to show what `versionKey` is.
2022-01-19 14:36:05 +01:00
AP Orlebeke
cfaa94c51f Add arm64 downloadURL introduced with 8.8.2 2022-01-18 19:41:09 -05:00
Søren Theilgaard
83459a83d6 Merge pull request #384 from Installomator/remotedesktopmanager-ent-free
Remote Desktop Manager Enterprise and Free, and front update
2022-01-18 20:31:05 +01:00
Søren Theilgaard
08435381a1 Update front.sh 2022-01-18 20:30:39 +01:00
Søren Theilgaard
df40501291 Remote Desktop Manager Enterprise and Free
Two more apps
2022-01-18 11:27:44 +01:00
Søren Theilgaard
197b34fe02 Update buildLabel.sh 2022-01-17 15:40:03 +01:00
Søren Theilgaard
0f448404e2 Merge branch 'dev' into fullscreen-check 2022-01-17 09:53:11 +01:00
Søren Theilgaard
c98fd8f26c Update CHANGELOG.md 2022-01-17 09:46:41 +01:00
Søren Theilgaard
244e4bb25a Merge pull request #354 from acodega/acodegaPromptUserHelpText
Improve documentation on prompt_user and related variables
2022-01-17 09:34:45 +01:00
Søren Theilgaard
c60999ac7d Update README.md 2022-01-17 09:34:14 +01:00
Søren Theilgaard
dc520726f8 Merge branch 'dev' into acodegaPromptUserHelpText 2022-01-17 09:29:57 +01:00
Søren Theilgaard
c7165f2154 Merge pull request #378 from adibue/adibue-wireshark-add-arm
Added downloadURL for ARM
2022-01-17 09:18:12 +01:00
Søren Theilgaard
717d7f46a6 Merge pull request #377 from adibue/adibue-docker-xpath-correction
Docker: Changed xpath to use 'last()'
2022-01-17 09:17:39 +01:00
Søren Theilgaard
35921e5893 Merge pull request #381 from Installomator/lowprofile-label
Create lowprofile.sh
2022-01-17 09:16:41 +01:00
Søren Theilgaard
fb777c7038 Merge pull request #380 from fleish/dev
Fix authydesktop downloadURL
2022-01-17 09:16:29 +01:00
Søren Theilgaard
c7eeaeee19 Create lowprofile.sh
Installing app with force to replace currently installed version:
```
Installomator/utils/assemble.sh lowprofile DEBUG=0 INSTALL=force
2022-01-14 21:24:43 lowprofile setting variable from argument DEBUG=0
2022-01-14 21:24:43 lowprofile setting variable from argument INSTALL=force
2022-01-14 21:24:43 lowprofile ################## Start Installomator v. 9.0dev
2022-01-14 21:24:43 lowprofile ################## lowprofile
2022-01-14 21:24:43 lowprofile BLOCKING_PROCESS_ACTION=tell_user
2022-01-14 21:24:43 lowprofile NOTIFY=success
2022-01-14 21:24:43 lowprofile LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-01-14 21:24:43 lowprofile no blocking processes defined, using Low Profile as default
2022-01-14 21:24:43 lowprofile Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.sTvDinhT
2022-01-14 21:24:43 lowprofile App(s) found: /Applications/Low Profile.app
2022-01-14 21:24:43 lowprofile found app at /Applications/Low Profile.app, version 2.0
2022-01-14 21:24:43 lowprofile appversion: 2.0
2022-01-14 21:24:43 lowprofile 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-01-14 21:24:43 lowprofile Latest version of Low Profile is 2.0
2022-01-14 21:24:43 lowprofile There is no newer version available.
2022-01-14 21:24:43 lowprofile Downloading https://github.com/ninxsoft/LowProfile/releases/download/v2.0/Low.Profile.2.0.dmg to Low Profile.dmg
2022-01-14 21:24:45 lowprofile no more blocking processes, continue with update
2022-01-14 21:24:45 lowprofile Installing Low Profile
2022-01-14 21:24:45 lowprofile Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.sTvDinhT/Low Profile.dmg
2022-01-14 21:24:48 lowprofile Mounted: /Volumes/Low Profile 1
2022-01-14 21:24:48 lowprofile Verifying: /Volumes/Low Profile 1/Low Profile.app
2022-01-14 21:24:48 lowprofile Team ID matching: 7K3HVCLV7Z (expected: 7K3HVCLV7Z )
2022-01-14 21:24:48 lowprofile Downloaded version of Low Profile is 2.0, same as installed.
2022-01-14 21:24:48 lowprofile Using force to install anyway.
2022-01-14 21:24:48 lowprofile App has LSMinimumSystemVersion: 12.0
2022-01-14 21:24:48 lowprofile Removing existing /Applications/Low Profile.app
2022-01-14 21:24:48 lowprofile Copy /Volumes/Low Profile 1/Low Profile.app to /Applications
2022-01-14 21:24:48 lowprofile Changing owner to st
2022-01-14 21:24:48 lowprofile Finishing...
2022-01-14 21:24:58 lowprofile App(s) found: /Applications/Low Profile.app
2022-01-14 21:24:58 lowprofile found app at /Applications/Low Profile.app, version 2.0
2022-01-14 21:24:58 lowprofile Installed Low Profile, version 2.0
2022-01-14 21:24:58 lowprofile notifying
2022-01-14 21:24:58 lowprofile Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.sTvDinhT
2022-01-14 21:24:58 lowprofile Unmounting /Volumes/Low Profile 1
"disk5" ejected.
2022-01-14 21:24:58 lowprofile App not closed, so no reopen.
2022-01-14 21:24:58 lowprofile ################## End Installomator, exit code 0
```
2022-01-14 21:26:03 +01:00
fleish
d470867c10 Fix authydesktop downloadURL
Checks for redirect_url and replaces space to be urlencoded
2022-01-14 11:55:02 -08:00
Adrian Bühler
0916d618b6 Added downloadURL for ARM
Added Download URL to the Apple Silicon DMG.
2022-01-14 14:54:22 +01:00
Søren Theilgaard
e4a5f47272 Label on each log line (again) 2022-01-14 10:14:29 +01:00
Søren Theilgaard
fee9394751 Few more DEBUG loggings 2022-01-14 10:02:00 +01:00
Adrian Bühler
d2381d2053 Changed xpath to use 'last()'
When I created PR #374, the sparkle feed had just one entry. Turns out, that Docker uses the last entry of the feed for the latest version.
With simply changing xpath to use `[last()]`, the version checking now behaves as expected.
2022-01-14 09:33:42 +01:00
Søren Theilgaard
7f2bdfb1df Local logging improvements
Improved first lines of logs to be required and show `VERSION` and `VERSIONDATE` on separate lines.
Logging sent to Datadog will have `VERSION` on each line.
2022-01-13 21:52:15 +01:00
Søren Theilgaard
69372e4929 Merge pull request #368 from adibue/adibue-libreoffice-patch
Update libreoffice.sh
2022-01-13 20:45:01 +01:00
Søren Theilgaard
b45bb0c39a Merge pull request #370 from fleish/dev
Update gpgsuite blockingProcesses for GPG Keychain & add DaisyDisk label
2022-01-13 20:39:06 +01:00
Søren Theilgaard
e6b58010d5 Merge pull request #374 from adibue/adibue-docker-fix-appnewversion
Fixed 'appNewVersion' for 'docker'
2022-01-13 20:19:33 +01:00
Søren Theilgaard
82faf74eb3 Update functions.sh 2022-01-13 14:12:51 +01:00
Søren Theilgaard
f96cd178c6 CLIInstaller included
and a few other displaylog lines changed
2022-01-13 09:44:34 +01:00
Søren Theilgaard
99b908f646 Logging 2022-01-12 21:34:16 +01:00
Adrian Bühler
59c7590107 Fixed 'appNewVersion' for 'docker'
URLs for version checking have changed. It's now using the `shortVersionString` from the sparkle feed.

Example run for M1:

```
$ sudo zsh Installomator.sh docker DEBUG=0

2022-01-12 18:16:35 docker setting variable from argument DEBUG=0
2022-01-12 18:16:35 docker ################## Start Installomator v. 8.0
2022-01-12 18:16:35 docker ################## docker
2022-01-12 18:16:35 docker BLOCKING_PROCESS_ACTION=tell_user
2022-01-12 18:16:35 docker NOTIFY=success
2022-01-12 18:16:35 docker LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-01-12 18:16:35 docker no blocking processes defined, using Docker as default
2022-01-12 18:16:35 docker Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.t4N46qTN
2022-01-12 18:16:35 docker App(s) found: /Applications/Docker.app
2022-01-12 18:16:35 docker found app at /Applications/Docker.app, version 4.3.2
2022-01-12 18:16:35 docker appversion: 4.3.2
2022-01-12 18:16:35 docker Latest version of Docker is 4.3.2
2022-01-12 18:16:35 docker There is no newer version available.
2022-01-12 18:16:35 docker Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.t4N46qTN
2022-01-12 18:16:35 docker App not closed, so no reopen.
2022-01-12 18:16:35 docker ################## End Installomator, exit code 0
```
2022-01-12 18:22:36 +01:00
Søren Theilgaard
180ca0952b Update checkLabels.sh 2022-01-12 14:03:30 +01:00
Søren Theilgaard
c0ce59a1ec Update functions.sh 2022-01-12 13:55:40 +01:00
Søren Theilgaard
a36e9fce43 Isaac Logging
Improvements to logging:
- Logging levels as DEBUG 0 INFO 1 WARN 2 ERROR 3 REQ 4
- External logging to Datadog
- A function to shorten duplicate lines in installation logs
- Ability to extract install.log in the time when Installomator was running, if further investigations needs to be done to logs
2022-01-12 13:53:48 +01:00
Søren Theilgaard
da21ea8582 Update checkLabels.sh
Need `INSTAL=force` and `IGNORE_APP_STORE_APPS=yes` to be able test any title on any system.
2022-01-12 12:53:07 +01:00
Søren Theilgaard
c8071a2a63 Create diskspace.sh 2022-01-12 12:48:45 +01:00
Søren Theilgaard
0fc7761fb9 Label fixed 2022-01-12 09:26:46 +01:00
Søren Theilgaard
4df1a6dbaa canva and logitechoptions labels fixed 2022-01-11 23:39:55 +01:00
Søren Theilgaard
cd0204bb04 Update checkLabels.sh 2022-01-11 23:05:53 +01:00
Søren Theilgaard
901ea4babd Update checkLabels.sh 2022-01-11 23:03:51 +01:00
Søren Theilgaard
504e8528ce Update checkLabels.sh 2022-01-11 22:56:38 +01:00
Søren Theilgaard
6f229b0b8c Update buildLabel.sh 2022-01-11 21:38:49 +01:00
Søren Theilgaard
36b7148e30 Update checkLabels.sh 2022-01-11 20:39:53 +01:00
Søren Theilgaard
0cdc780a5f Update checkLabels.sh 2022-01-11 19:06:50 +01:00
Søren Theilgaard
59eaff7d26 Update CHANGELOG.md 2022-01-11 18:58:39 +01:00
fleish
8532baf8a5 Add DaisyDisk label 2022-01-11 09:46:07 -08:00
fleish
9d021e012c Merge pull request #1 from fleish/fleish-patch-gpgsuite
Update gpgsuite blockingProcesses for GPG Keychain
2022-01-11 09:42:07 -08:00
fleish
22129c7220 Update gpgsuite blockingProcesses for GPG Keychain 2022-01-11 09:41:15 -08:00
Søren Theilgaard
ca1759abd9 Update checkLabels.sh 2022-01-11 18:37:34 +01:00
Søren Theilgaard
1360b51eae removed the debug set -x 2022-01-11 16:35:09 +01:00
Søren Theilgaard
193d51d49f curlOptions as array. 2022-01-11 16:32:18 +01:00
Søren Theilgaard
bd07ee6c76 More to curlOptions 2022-01-11 12:53:06 +01:00
Søren Theilgaard
01eabca204 Introducing curlOptions to labels. 2022-01-11 11:54:54 +01:00
Søren Theilgaard
732181c3a6 Delete main.sh 2022-01-11 11:42:29 +01:00
Søren Theilgaard
a8c9fdbab7 Download with extra sets of headers 2022-01-10 20:26:53 +01:00
Adrian Bühler
27fd0b0347 Update libreoffice.sh
Added `downloadURL` for Apple Silicon. Also added `blockingProcesses`, so open documents are not quit anymore while updating.
2022-01-10 17:44:28 +01:00
Søren Theilgaard
3c7d570249 Update brave.sh 2022-01-10 13:07:39 +01:00
Søren Theilgaard
fe4c8a96da brave fix 2022-01-10 13:04:04 +01:00
Søren Theilgaard
9603ef3552 Merge pull request #337 from kdrwygvh/zulu-jdk-17-newlabel
New label for Azul Zulu JDK 17
2022-01-09 21:46:36 +01:00
Søren Theilgaard
e41cf16945 Merge pull request #336 from kdrwygvh/zulu-jdk-15-urlupdate
Updated URL
2022-01-09 21:44:40 +01:00
Søren Theilgaard
d88712be1d Merge pull request #335 from kdrwygvh/zulu-jdk-11-urlupdate
Updated URL
2022-01-09 21:44:08 +01:00
Søren Theilgaard
bb6bf1c526 Merge pull request #341 from apizz/flux
Add Flux
2022-01-09 21:42:37 +01:00
Søren Theilgaard
4e21a99fd7 Update flux.sh 2022-01-09 21:41:32 +01:00
Søren Theilgaard
320757c747 Merge pull request #359 from Installomator/Theile-labels-9.0
Theile labels 9.0
2022-01-09 21:33:08 +01:00
Søren Theilgaard
18e3024604 Merge branch 'dev' into Theile-labels-9.0 2022-01-09 21:32:59 +01:00
Søren Theilgaard
188689f1fd Merge pull request #353 from Installomator/pkgInDMGExpansionFix
Pkg in dmg expansion fix
2022-01-09 21:29:41 +01:00
Søren Theilgaard
1b6d7929d3 Merge pull request #348 from AustinLeath/dev
Grammar fixes for fragments/header.sh
2022-01-09 21:28:27 +01:00
Søren Theilgaard
b61f18e6f4 Merge pull request #366 from Installomator/LSMinimumSystemVersion-check
LSMinimumSystemVersion handling
2022-01-09 21:24:44 +01:00
Søren Theilgaard
899dbaa6b3 Merge branch 'dev' into LSMinimumSystemVersion-check 2022-01-09 21:24:27 +01:00
Søren Theilgaard
cd91fd5b2f Merge pull request #365 from Installomator/Return-label-name
`RETURN_LABEL_NAME` implemented
2022-01-09 21:23:32 +01:00
Søren Theilgaard
cd1d05b21f Merge branch 'dev' into Return-label-name 2022-01-09 21:23:24 +01:00
Søren Theilgaard
d74eab2ae7 Merge pull request #343 from Installomator/Fix-for-app-store-replacement-when-label-have-updatetool
Change to App Store replacement logic
2022-01-09 21:22:35 +01:00
Søren Theilgaard
88367cf6b2 Merge branch 'dev' into Fix-for-app-store-replacement-when-label-have-updatetool 2022-01-09 21:22:27 +01:00
Søren Theilgaard
cced10b1c6 Merge pull request #346 from Installomator/Systemowner
possibility to have root:wheel on copied apps
2022-01-09 21:19:44 +01:00
Søren Theilgaard
79cdaa2b40 Merge pull request #349 from adibue/adibue-add-tidal
Added 'tidal'
2022-01-09 21:18:23 +01:00
Søren Theilgaard
4d9348761b Update tidal.sh 2022-01-09 21:15:52 +01:00
Søren Theilgaard
6e5a5d0a41 Merge pull request #351 from dvreijen/patch-1
New label for Itsycal
2022-01-09 20:56:48 +01:00
Søren Theilgaard
02b0829877 Update itsycal.sh 2022-01-09 20:55:13 +01:00
Søren Theilgaard
c1734bac7f Update itsycal.sh 2022-01-09 20:28:22 +01:00
Søren Theilgaard
31fe45e61a Merge pull request #352 from Installomator/applefontsfix
updated teamID for apple fonts labels
2022-01-09 20:16:54 +01:00
Søren Theilgaard
9711d53d5e Merge pull request #355 from apizz/secretive
Add secretive
2022-01-09 20:14:35 +01:00
Søren Theilgaard
7e059581ad Update secretive.sh 2022-01-09 20:13:49 +01:00
Søren Theilgaard
294dd3c58f Merge pull request #363 from apizz/textexpander-patch
Update textexpander download URL
2022-01-09 20:12:37 +01:00
Søren Theilgaard
ea58d0e48b Merge pull request #356 from kdrwygvh/box-url-update
Updated URL for Box Drive
2022-01-09 20:09:08 +01:00
Søren Theilgaard
85a8fd09d9 Update boxdrive.sh 2022-01-09 20:08:46 +01:00
Søren Theilgaard
67212af6d7 Merge pull request #357 from jeff-finlay/patch-2
Create iina
2022-01-09 20:07:26 +01:00
Søren Theilgaard
a78bd9a285 Merge pull request #358 from nestyurkin/nestyurkin-patch-1
Create Pritunl
2022-01-09 20:05:01 +01:00
Søren Theilgaard
791fd45bae Update CHANGELOG.md 2022-01-09 11:23:57 +01:00
Søren Theilgaard
264dc99a97 Update CHANGELOG.md 2022-01-09 10:47:30 +01:00
Søren Theilgaard
aa2f4146f7 Update CHANGELOG.md 2022-01-09 10:45:06 +01:00
Søren Theilgaard
9b47ed2e3f pkgName can be searched for.
In `logitechoptions` we do not know what the app-name is that contains the pkg in the bundle-package, so now we only give the name of the pkg, and then Installomator will find it.
2022-01-09 10:42:45 +01:00
Søren Theilgaard
130764696d New URL and version
But Installomator does not handle regex in the pkgName, so this doesn't work, yet.
2022-01-09 10:05:03 +01:00
Søren Theilgaard
6a9ffeb101 Create sdnotary.sh
Great app for signing AppleScript and Automator Apps.

```
Installomator/utils/assemble.sh sdnotary DEBUG=0
2022-01-08 20:02:33 sdnotary setting variable from argument DEBUG=0
2022-01-08 20:02:33 sdnotary ################## Start Installomator v. 9.0dev
2022-01-08 20:02:33 sdnotary ################## sdnotary
2022-01-08 20:02:35 sdnotary BLOCKING_PROCESS_ACTION=tell_user
2022-01-08 20:02:35 sdnotary NOTIFY=success
2022-01-08 20:02:35 sdnotary LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-01-08 20:02:35 sdnotary no blocking processes defined, using SD Notary as default
2022-01-08 20:02:35 sdnotary Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Y3LciW3v
2022-01-08 20:02:35 sdnotary App(s) found: /Applications/SD Notary.app
2022-01-08 20:02:35 sdnotary found app at /Applications/SD Notary.app, version 1.4.9
2022-01-08 20:02:35 sdnotary appversion: 1.4.9
2022-01-08 20:02:35 sdnotary Latest version of SD Notary is 1.4.9
2022-01-08 20:02:35 sdnotary There is no newer version available.
2022-01-08 20:02:35 sdnotary Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Y3LciW3v
2022-01-08 20:02:35 sdnotary App not closed, so no reopen.
2022-01-08 20:02:35 sdnotary ################## End Installomator, exit code 0

Installomator/utils/assemble.sh sdnotary DEBUG=0 INSTALL=force
2022-01-08 20:02:55 sdnotary setting variable from argument DEBUG=0
2022-01-08 20:02:55 sdnotary setting variable from argument INSTALL=force
2022-01-08 20:02:55 sdnotary ################## Start Installomator v. 9.0dev
2022-01-08 20:02:55 sdnotary ################## sdnotary
2022-01-08 20:02:57 sdnotary BLOCKING_PROCESS_ACTION=tell_user
2022-01-08 20:02:57 sdnotary NOTIFY=success
2022-01-08 20:02:57 sdnotary LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-01-08 20:02:57 sdnotary no blocking processes defined, using SD Notary as default
2022-01-08 20:02:57 sdnotary Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Pt3uud5W
2022-01-08 20:02:57 sdnotary App(s) found: /Applications/SD Notary.app
2022-01-08 20:02:57 sdnotary found app at /Applications/SD Notary.app, version 1.4.9
2022-01-08 20:02:57 sdnotary appversion: 1.4.9
2022-01-08 20:02:57 sdnotary Using force to install, so not using updateTool.
2022-01-08 20:02:57 sdnotary Latest version of SD Notary is 1.4.9
2022-01-08 20:02:57 sdnotary There is no newer version available.
2022-01-08 20:02:57 sdnotary Downloading https://s3.amazonaws.com/latenightsw.com/SDNotary1.4.9-65.zip to SD Notary.zip
2022-01-08 20:02:58 sdnotary no more blocking processes, continue with update
2022-01-08 20:02:58 sdnotary Installing SD Notary
2022-01-08 20:02:58 sdnotary Unzipping SD Notary.zip
2022-01-08 20:02:58 sdnotary Verifying: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Pt3uud5W/SD Notary.app
2022-01-08 20:02:59 sdnotary Team ID matching: Z7S6X96M3X (expected: Z7S6X96M3X )
2022-01-08 20:02:59 sdnotary Downloaded version of SD Notary is 1.4.9, same as installed.
2022-01-08 20:02:59 sdnotary Using force to install anyway.
2022-01-08 20:02:59 sdnotary Removing existing /Applications/SD Notary.app
2022-01-08 20:02:59 sdnotary Copy /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Pt3uud5W/SD Notary.app to /Applications
2022-01-08 20:02:59 sdnotary Changing owner to st
2022-01-08 20:02:59 sdnotary Finishing...
2022-01-08 20:03:09 sdnotary App(s) found: /Applications/SD Notary.app
2022-01-08 20:03:09 sdnotary found app at /Applications/SD Notary.app, version 1.4.9
2022-01-08 20:03:09 sdnotary Installed SD Notary, version 1.4.9
2022-01-08 20:03:09 sdnotary notifying
2022-01-08 20:03:09 sdnotary Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Pt3uud5W
2022-01-08 20:03:09 sdnotary App not closed, so no reopen.
2022-01-08 20:03:09 sdnotary ################## End Installomator, exit code 0
```
2022-01-08 20:04:47 +01:00
Søren Theilgaard
a1afc4727e Update functions.sh
Now return one `#` when unknown label is given, not a whole bunch of them.

```
Installomator/utils/assemble.sh strangelabel RETURN_LABEL_NAME=1 DEBUG=0 | tail -1
#
```
2022-01-08 15:37:08 +01:00
Søren Theilgaard
d80c76a4d3 mocha-software and buildLabel.sh
Improved buildLabel.sh to handle another set of headers when trying to download, and that can handle the mocha-software.

But mocha-software has been disabled, as Installomator does not offer the headers when that is trying to download.
2022-01-07 20:41:35 +01:00
Søren Theilgaard
c3ddd4f8c7 Update buildLabel.sh
Different set of headers.
2022-01-07 19:40:51 +01:00
Søren Theilgaard
75e550acfe notification
Now with notification:
```
Installomator/utils/assemble.sh omnidisksweeper DEBUG=0 INSTALL=force NOTIFY=all
2022-01-07 14:05:25 omnidisksweeper setting variable from argument DEBUG=0
2022-01-07 14:05:25 omnidisksweeper setting variable from argument INSTALL=force
2022-01-07 14:05:25 omnidisksweeper setting variable from argument NOTIFY=all
2022-01-07 14:05:25 omnidisksweeper ################## Start Installomator v. 9.0dev
2022-01-07 14:05:25 omnidisksweeper ################## omnidisksweeper
2022-01-07 14:05:25 omnidisksweeper BLOCKING_PROCESS_ACTION=tell_user
2022-01-07 14:05:25 omnidisksweeper NOTIFY=all
2022-01-07 14:05:25 omnidisksweeper LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-01-07 14:05:26 omnidisksweeper no blocking processes defined, using OmniDiskSweeper as default
2022-01-07 14:05:26 omnidisksweeper Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.11IcaInb
2022-01-07 14:05:26 omnidisksweeper App(s) found: /Applications/OmniDiskSweeper.app
2022-01-07 14:05:26 omnidisksweeper found app at /Applications/OmniDiskSweeper.app, version 1.13
2022-01-07 14:05:26 omnidisksweeper appversion: 1.13
2022-01-07 14:05:26 omnidisksweeper Using force to install, so not using updateTool.
2022-01-07 14:05:26 omnidisksweeper Latest version of OmniDiskSweeper is 1.13
2022-01-07 14:05:26 omnidisksweeper There is no newer version available.
2022-01-07 14:05:26 omnidisksweeper Downloading https://downloads.omnigroup.com/software/MacOSX/10.14/OmniDiskSweeper-1.13.dmg to OmniDiskSweeper.dmg
2022-01-07 14:05:26 omnidisksweeper notifying
2022-01-07 14:05:28 omnidisksweeper no more blocking processes, continue with update
2022-01-07 14:05:28 omnidisksweeper Installing OmniDiskSweeper
2022-01-07 14:05:28 omnidisksweeper notifying
2022-01-07 14:05:28 omnidisksweeper Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.11IcaInb/OmniDiskSweeper.dmg
2022-01-07 14:05:29 omnidisksweeper Mounted: /Volumes/OmniDiskSweeper
2022-01-07 14:05:29 omnidisksweeper Verifying: /Volumes/OmniDiskSweeper/OmniDiskSweeper.app
2022-01-07 14:05:31 omnidisksweeper Team ID matching: 34YW5XSRB7 (expected: 34YW5XSRB7 )
2022-01-07 14:05:31 omnidisksweeper Downloaded version of OmniDiskSweeper is 1.13, same as installed.
2022-01-07 14:05:31 omnidisksweeper Using force to install anyway.
2022-01-07 14:05:31 omnidisksweeper App has LSMinimumSystemVersion: 10.14
2022-01-07 14:05:32 omnidisksweeper App requires higher System Version than installed: 10.13.5
2022-01-07 14:05:32 omnidisksweeper notifying
2022-01-07 14:05:32 omnidisksweeper ERROR: Installed macOS is too old for this app.
2022-01-07 14:05:32 omnidisksweeper Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.11IcaInb
2022-01-07 14:05:32 omnidisksweeper Unmounting /Volumes/OmniDiskSweeper
"disk4" ejected.
2022-01-07 14:05:32 omnidisksweeper App not closed, so no reopen.
2022-01-07 14:05:32 omnidisksweeper ################## End Installomator, exit code 6
```
2022-01-07 14:07:21 +01:00
Søren Theilgaard
6c498dbf31 LSMinimumSystemVersion handling
If an app has `LSMinimumSystemVersion` in the `Info.plist`, then we will check if the installed macOS lives up to this, and exit if not.

First a normal run on Monterey:
```
Installomator/utils/assemble.sh omnidisksweeper DEBUG=0 INSTALL=force
2022-01-07 13:37:43 omnidisksweeper setting variable from argument DEBUG=0
2022-01-07 13:37:43 omnidisksweeper setting variable from argument INSTALL=force
2022-01-07 13:37:43 omnidisksweeper ################## Start Installomator v. 9.0dev
2022-01-07 13:37:43 omnidisksweeper ################## omnidisksweeper
2022-01-07 13:37:44 omnidisksweeper BLOCKING_PROCESS_ACTION=tell_user
2022-01-07 13:37:44 omnidisksweeper NOTIFY=success
2022-01-07 13:37:44 omnidisksweeper LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-01-07 13:37:44 omnidisksweeper no blocking processes defined, using OmniDiskSweeper as default
2022-01-07 13:37:44 omnidisksweeper Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.41qqoUEN
2022-01-07 13:37:44 omnidisksweeper App(s) found: /Applications/OmniDiskSweeper.app
2022-01-07 13:37:44 omnidisksweeper found app at /Applications/OmniDiskSweeper.app, version 1.13
2022-01-07 13:37:44 omnidisksweeper appversion: 1.13
2022-01-07 13:37:44 omnidisksweeper Using force to install, so not using updateTool.
2022-01-07 13:37:44 omnidisksweeper Latest version of OmniDiskSweeper is 1.13
2022-01-07 13:37:44 omnidisksweeper There is no newer version available.
2022-01-07 13:37:44 omnidisksweeper Downloading https://downloads.omnigroup.com/software/MacOSX/10.14/OmniDiskSweeper-1.13.dmg to OmniDiskSweeper.dmg
2022-01-07 13:37:45 omnidisksweeper no more blocking processes, continue with update
2022-01-07 13:37:45 omnidisksweeper Installing OmniDiskSweeper
2022-01-07 13:37:45 omnidisksweeper Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.41qqoUEN/OmniDiskSweeper.dmg
2022-01-07 13:37:46 omnidisksweeper Mounted: /Volumes/OmniDiskSweeper
2022-01-07 13:37:46 omnidisksweeper Verifying: /Volumes/OmniDiskSweeper/OmniDiskSweeper.app
2022-01-07 13:37:49 omnidisksweeper Team ID matching: 34YW5XSRB7 (expected: 34YW5XSRB7 )
2022-01-07 13:37:49 omnidisksweeper App has LSMinimumSystemVersion: 10.14
2022-01-07 13:37:49 omnidisksweeper Downloaded version of OmniDiskSweeper is 1.13, same as installed.
2022-01-07 13:37:49 omnidisksweeper Using force to install anyway.
2022-01-07 13:37:49 omnidisksweeper Removing existing /Applications/OmniDiskSweeper.app
2022-01-07 13:37:49 omnidisksweeper Copy /Volumes/OmniDiskSweeper/OmniDiskSweeper.app to /Applications
2022-01-07 13:37:49 omnidisksweeper Changing owner to st
2022-01-07 13:37:49 omnidisksweeper Finishing...
2022-01-07 13:37:59 omnidisksweeper App(s) found: /Applications/OmniDiskSweeper.app
2022-01-07 13:37:59 omnidisksweeper found app at /Applications/OmniDiskSweeper.app, version 1.13
2022-01-07 13:37:59 omnidisksweeper Installed OmniDiskSweeper, version 1.13
2022-01-07 13:37:59 omnidisksweeper notifying
2022-01-07 13:37:59 omnidisksweeper Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.41qqoUEN
2022-01-07 13:37:59 omnidisksweeper Unmounting /Volumes/OmniDiskSweeper
"disk4" ejected.
2022-01-07 13:38:00 omnidisksweeper App not closed, so no reopen.
2022-01-07 13:38:00 omnidisksweeper ################## End Installomator, exit code 0
```

Trying where I manually change OS version to 10.13:
```
Installomator/utils/assemble.sh omnidisksweeper DEBUG=0 INSTALL=force
2022-01-07 13:38:39 omnidisksweeper setting variable from argument DEBUG=0
2022-01-07 13:38:39 omnidisksweeper setting variable from argument INSTALL=force
2022-01-07 13:38:39 omnidisksweeper ################## Start Installomator v. 9.0dev
2022-01-07 13:38:39 omnidisksweeper ################## omnidisksweeper
2022-01-07 13:38:39 omnidisksweeper BLOCKING_PROCESS_ACTION=tell_user
2022-01-07 13:38:39 omnidisksweeper NOTIFY=success
2022-01-07 13:38:39 omnidisksweeper LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2022-01-07 13:38:39 omnidisksweeper no blocking processes defined, using OmniDiskSweeper as default
2022-01-07 13:38:39 omnidisksweeper Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.PXjTfPiA
2022-01-07 13:38:39 omnidisksweeper App(s) found: /Applications/OmniDiskSweeper.app
2022-01-07 13:38:39 omnidisksweeper found app at /Applications/OmniDiskSweeper.app, version 1.13
2022-01-07 13:38:40 omnidisksweeper appversion: 1.13
2022-01-07 13:38:40 omnidisksweeper Using force to install, so not using updateTool.
2022-01-07 13:38:40 omnidisksweeper Latest version of OmniDiskSweeper is 1.13
2022-01-07 13:38:40 omnidisksweeper There is no newer version available.
2022-01-07 13:38:40 omnidisksweeper Downloading https://downloads.omnigroup.com/software/MacOSX/10.14/OmniDiskSweeper-1.13.dmg to OmniDiskSweeper.dmg
2022-01-07 13:38:40 omnidisksweeper no more blocking processes, continue with update
2022-01-07 13:38:40 omnidisksweeper Installing OmniDiskSweeper
2022-01-07 13:38:40 omnidisksweeper Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.PXjTfPiA/OmniDiskSweeper.dmg
2022-01-07 13:38:41 omnidisksweeper Mounted: /Volumes/OmniDiskSweeper
2022-01-07 13:38:41 omnidisksweeper Verifying: /Volumes/OmniDiskSweeper/OmniDiskSweeper.app
2022-01-07 13:38:43 omnidisksweeper Team ID matching: 34YW5XSRB7 (expected: 34YW5XSRB7 )
2022-01-07 13:38:43 omnidisksweeper App has LSMinimumSystemVersion: 10.14
2022-01-07 13:38:43 omnidisksweeper App requires higher System Version than installed: 10.13
2022-01-07 13:38:43 omnidisksweeper ERROR: Installed macOS is too old for this app.
2022-01-07 13:38:43 omnidisksweeper Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.PXjTfPiA
2022-01-07 13:38:43 omnidisksweeper Unmounting /Volumes/OmniDiskSweeper
"disk4" ejected.
2022-01-07 13:38:43 omnidisksweeper App not closed, so no reopen.
2022-01-07 13:38:43 omnidisksweeper ################## End Installomator, exit code 6
```
2022-01-07 13:44:04 +01:00
Søren Theilgaard
21cee3a1ba signal is universal 2022-01-07 10:35:57 +01:00
Søren Theilgaard
3b6e27f1fa RETURN_LABEL_NAME implemented
When using DEPNotify I would like Installomator to return a nice name for the label to show as status in DEPNotify, instead of only the label name.
This way we can do that.
And maybe in the fute include a description of the software, if people are seeking inspiration to software by looking at Installomator (that contains a lot of preferred solution for many)
2022-01-07 09:51:27 +01:00
AP Orlebeke
d645985184 Update textexpander download URL 2022-01-05 15:26:55 -05:00
Søren Theilgaard
85c8fecc35 Update brave.sh
Brave is now using “CFBundleVersion” for the version check. That can be compared to the sparkle-feed.
2022-01-04 10:52:53 +01:00
Søren Theilgaard
c499327e7d Update brave.sh 2022-01-03 10:18:27 +01:00
Søren Theilgaard
61b05ff31e Update brave.sh
This is a special construction of the `appNewVersion` variable. Not sure this is future proof, but the current one was not working.
2022-01-03 09:09:30 +01:00
Søren Theilgaard
1fdbef74c1 Update logitechoptions.sh 2022-01-02 20:15:42 +01:00
nestyurkin
bd261b1c63 minimize 2021-12-30 23:49:35 +03:00
Søren Theilgaard
1a1ad30b66 mightymike and ottomatic 2021-12-30 20:09:10 +01:00
Søren Theilgaard
2c4bef3524 Update applesfsymbols.sh 2021-12-29 13:37:16 +01:00
Søren Theilgaard
dac472f6d1 Create applesfarabic.sh 2021-12-29 13:28:29 +01:00
nestyurkin
9797da6023 add packageID 2021-12-29 00:36:36 +03:00
nestyurkin
c302cf6376 Create Pritunl
Label for Pritunl
2021-12-28 19:22:11 +03:00
Jeff Finlay
ff621c7916 Create iina
Label for IINA
2021-12-23 13:33:52 -05:00
John Hutchison
d135ca1c4d Updated URL for Box Drive
Box now makes a universal installer for all architectures. Installomator debug output follows;

./assemble.sh boxdrive
2021-12-23 09:16:22 boxdrive ################## Start Installomator v. 9.0dev
2021-12-23 09:16:22 boxdrive ################## boxdrive
2021-12-23 09:16:22 boxdrive DEBUG mode 1 enabled.
2021-12-23 09:16:23 boxdrive BLOCKING_PROCESS_ACTION=tell_user
2021-12-23 09:16:23 boxdrive NOTIFY=success
2021-12-23 09:16:23 boxdrive LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-12-23 09:16:23 boxdrive no blocking processes defined, using Box as default
2021-12-23 09:16:23 boxdrive Changing directory to /Users/john/Documents/Source/Installomator/build
2021-12-23 09:16:23 boxdrive App(s) found:
2021-12-23 09:16:23 boxdrive could not find Box.app
2021-12-23 09:16:23 boxdrive appversion:
2021-12-23 09:16:23 boxdrive Latest version not specified.
2021-12-23 09:16:23 boxdrive Downloading https://e3.boxcdn.net/box-installers/desktop/releases/mac/Box.pkg to Box.pkg
2021-12-23 09:16:25 boxdrive DEBUG mode, not checking for blocking processes
2021-12-23 09:16:25 boxdrive Installing Box
2021-12-23 09:16:25 boxdrive Verifying: Box.pkg
2021-12-23 09:16:25 boxdrive Team ID: M683GB7CPW (expected: M683GB7CPW )
2021-12-23 09:16:25 boxdrive DEBUG enabled, skipping installation
2021-12-23 09:16:25 boxdrive Finishing...
2021-12-23 09:16:35 boxdrive App(s) found:
2021-12-23 09:16:35 boxdrive could not find Box.app
2021-12-23 09:16:35 boxdrive Installed Box
2021-12-23 09:16:35 boxdrive notifying
2021-12-23 09:16:35 boxdrive DEBUG mode, not reopening anything
2021-12-23 09:16:35 boxdrive ################## End Installomator, exit code 0
2021-12-23 09:17:37 -05:00
AP Orlebeke
61196b3da6 Add secretive 2021-12-22 14:43:16 -05:00
Adam Codega
9a9d0ca906 Update header.sh
Also clarified `prompt_user_loop`
2021-12-22 10:45:27 -05:00
Adam Codega
c635a05deb Update README.md
Updated verbiage on using `prompt_user` versus `prompt_user_then_kill` for clarification on behavior.
2021-12-22 10:44:04 -05:00
Adam Codega
ce0f23ff16 Update header.sh
Updated verbiage on using `prompt_user` versus `prompt_user_then_kill` for clarification on behavior.
2021-12-22 10:33:35 -05:00
Armin Briegel
6db60dd641 version checking pkgInDMG would attempt to expand the pkg into the read-only dmg, also simplified the xpath call 2021-12-20 14:35:11 +01:00
Armin Briegel
77bee0a88e updated teamID for apple fonts labels 2021-12-20 14:29:31 +01:00
Søren Theilgaard
a4fe0d65ec Create ibarcoder.sh 2021-12-17 14:48:24 +01:00
Søren Theilgaard
9178cf8fe5 Apple fonts 2021-12-16 09:15:43 +01:00
Søren Theilgaard
c7b5f89a4c Update depnotify.sh 2021-12-14 15:42:49 +01:00
dvreijen
acb785bb29 Create itsycal.sh
New label for Itsycal
2021-12-14 13:30:15 +01:00
Adrian Bühler
f57d946410 Added 'tidal' to 'Labels.txt' 2021-12-08 15:00:40 +01:00
Adrian Bühler
f7846c71d2 Added label for 'tidal'
Added 'tidal' to fragment labels.
Unfortunately, I was not able to find a matching URL for `appNewVersion`...
2021-12-08 14:59:15 +01:00
Søren Theilgaard
fd4e00d1fd Merge pull request #344 from dz0ny/patch-1
Add Pareto Security
2021-12-06 15:27:58 +01:00
Janez Troha
304df956b9 Use github label 2021-12-04 10:45:32 +01:00
Søren Theilgaard
76ca386abc README 2021-12-02 08:59:43 +01:00
Adam Codega
259df4aa55 Merge pull request #347 from Installomator/github-labels
GitHub fixes
2021-12-01 22:02:04 -05:00
Søren Theilgaard
b885fdb742 DEBUG mode will overrule running as root
Either DEBUG mode set, and the script will run, no matter it's not running as root.
2021-12-01 22:31:48 +01:00
Austin Leath
5a34a35e86 Plenty of grammar fixes 2021-12-01 15:30:16 -06:00
Søren Theilgaard
5bf24ab7b4 GitHub fixes 2021-12-01 22:25:31 +01:00
Søren Theilgaard
886ab1238a SYSTEMOWNER 2021-12-01 21:36:30 +01:00
Janez Troha
107f39599e Add Pareto Security
Ref: https://github.com/ParetoSecurity/pareto-mac
2021-11-30 16:29:47 +01:00
Søren Theilgaard
2ba53683df Update main.sh
Currently (before this patch) a label like `microsoftonedrive` that was installed from App Store, and that we want to replace with the “ordinary” version, Installomator would use updateTool, even though `IGNORE_APP_STORE_APPS=yes`. So we would have to have `INSTALL=force` in order to have the app replaced, as `updateTool` would be used.

With this patch, if `IGNORE_APP_STORE_APPS=yes` then `updateTool` will be not set, and the App Store app would be replaced. But if the installed software was not from App Store, then `updateTool` would not be used, and it would be a kind of a forced install (except if the version is the same).

I have this output:
```
➜  Downloads sudo Installomator/utils/assemble.sh microsoftonedrive DEBUG=0
2021-11-30 10:12:11 microsoftonedrive setting variable from argument DEBUG=0
2021-11-30 10:12:11 microsoftonedrive ################## Start Installomator v. 9.0dev
2021-11-30 10:12:11 microsoftonedrive ################## microsoftonedrive
2021-11-30 10:12:13 microsoftonedrive Running msupdate --list
Checking for updates...
Update Assistant is available.
Update Assistant is checking for updates.
Update Assistant is available.
No updates available
2021-11-30 10:12:27 microsoftonedrive BLOCKING_PROCESS_ACTION=tell_user
2021-11-30 10:12:27 microsoftonedrive NOTIFY=success
2021-11-30 10:12:27 microsoftonedrive LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-30 10:12:27 microsoftonedrive no blocking processes defined, using OneDrive as default
2021-11-30 10:12:27 microsoftonedrive Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.5kJ1YWMy
2021-11-30 10:12:27 microsoftonedrive App(s) found: /Applications/OneDrive.app
2021-11-30 10:12:27 microsoftonedrive found app at /Applications/OneDrive.app, version 21.220.1024
2021-11-30 10:12:27 microsoftonedrive Installed OneDrive.app is from App Store, use “IGNORE_APP_STORE_APPS=yes” to replace.
2021-11-30 10:12:27 microsoftonedrive ERROR: App previously installed from App Store, and we respect that
2021-11-30 10:12:27 microsoftonedrive Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.5kJ1YWMy
2021-11-30 10:12:27 microsoftonedrive App not closed, so no reopen.
2021-11-30 10:12:27 microsoftonedrive ################## End Installomator, exit code 1

➜  Downloads sudo Installomator/utils/assemble.sh microsoftonedrive DEBUG=0 IGNORE_APP_STORE_APPS=yes
2021-11-30 10:12:50 microsoftonedrive setting variable from argument DEBUG=0
2021-11-30 10:12:50 microsoftonedrive setting variable from argument IGNORE_APP_STORE_APPS=yes
2021-11-30 10:12:50 microsoftonedrive ################## Start Installomator v. 9.0dev
2021-11-30 10:12:50 microsoftonedrive ################## microsoftonedrive
2021-11-30 10:12:51 microsoftonedrive Running msupdate --list
Checking for updates...
Update Assistant is available.
Update Assistant is checking for updates.
Update Assistant is available.
No updates available
2021-11-30 10:13:06 microsoftonedrive BLOCKING_PROCESS_ACTION=tell_user
2021-11-30 10:13:06 microsoftonedrive NOTIFY=success
2021-11-30 10:13:06 microsoftonedrive LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-30 10:13:06 microsoftonedrive no blocking processes defined, using OneDrive as default
2021-11-30 10:13:06 microsoftonedrive Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.OXbBLX0y
2021-11-30 10:13:06 microsoftonedrive App(s) found: /Applications/OneDrive.app
2021-11-30 10:13:06 microsoftonedrive found app at /Applications/OneDrive.app, version 21.220.1024
2021-11-30 10:13:06 microsoftonedrive Installed OneDrive.app is from App Store, use “IGNORE_APP_STORE_APPS=yes” to replace.
2021-11-30 10:13:06 microsoftonedrive Replacing App Store apps, no matter the version
2021-11-30 10:13:06 microsoftonedrive appversion: 0
2021-11-30 10:13:06 microsoftonedrive Label is not of type “updateronly”, and it’s set to use force to install or ignoring app store apps, so not using updateTool.
2021-11-30 10:13:06 microsoftonedrive Latest version of OneDrive is 21.205.1003
2021-11-30 10:13:06 microsoftonedrive Downloading https://go.microsoft.com/fwlink/?linkid=823060 to OneDrive.pkg
2021-11-30 10:15:01 microsoftonedrive no more blocking processes, continue with update
2021-11-30 10:15:01 microsoftonedrive Installing OneDrive
2021-11-30 10:15:01 microsoftonedrive Verifying: OneDrive.pkg
2021-11-30 10:15:02 microsoftonedrive Team ID: UBF8T346G9 (expected: UBF8T346G9 )
2021-11-30 10:15:02 microsoftonedrive Installing OneDrive.pkg to /
installer: Package name is Microsoft OneDrive
installer: Upgrading at base path /
installer: The upgrade was successful.
2021-11-30 10:15:08 microsoftonedrive Finishing...
2021-11-30 10:15:18 microsoftonedrive App(s) found: /Applications/OneDrive.app
2021-11-30 10:15:18 microsoftonedrive found app at /Applications/OneDrive.app, version 21.220.1024
2021-11-30 10:15:18 microsoftonedrive Installed OneDrive.app is from App Store, use “IGNORE_APP_STORE_APPS=yes” to replace.
2021-11-30 10:15:18 microsoftonedrive Replacing App Store apps, no matter the version
2021-11-30 10:15:18 microsoftonedrive Installed OneDrive, version 0
2021-11-30 10:15:18 microsoftonedrive notifying
2021-11-30 10:15:18 microsoftonedrive Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.OXbBLX0y
2021-11-30 10:15:18 microsoftonedrive App not closed, so no reopen.
2021-11-30 10:15:18 microsoftonedrive ################## End Installomator, exit code 0
```
2021-11-30 10:25:28 +01:00
Søren Theilgaard
49470cdfdd MDM scripts 2021-11-29 13:15:53 +01:00
AP Orlebeke
b80c33320f Add Flux 2021-11-26 12:52:31 -05:00
Søren Theilgaard
fd2ed3aa49 Update README.md 2021-11-26 10:39:29 +01:00
Søren Theilgaard
dd8b9b2b16 Update README.md 2021-11-26 10:06:37 +01:00
Søren Theilgaard
e622c6d434 Update README.md 2021-11-26 09:56:50 +01:00
Søren Theilgaard
f997c702dd Merge pull request #338 from apizz/vimac 2021-11-26 08:07:33 +01:00
Søren Theilgaard
f87540454b Merge pull request #339 from apizz/textexpander 2021-11-26 08:05:06 +01:00
AP Orlebeke
98c56d505b Fix TextExpander 2021-11-26 01:35:58 -05:00
AP Orlebeke
241df209b6 Add Vimac 2021-11-26 00:37:07 -05:00
Søren Theilgaard
dda03ae9d5 Merge branch 'dev' into fullscreen-check 2021-11-25 12:51:42 +01:00
Søren Theilgaard
cf42f1f8b7 Moved change to top of the list 2021-11-25 12:50:36 +01:00
Søren Theilgaard
0b3ab7b382 Merge pull request #278 from samess-flowers/dev
Move root user check forward and add in debug mode 2 to replicate lost functionality
2021-11-25 09:40:50 +01:00
Søren Theilgaard
52f1371042 Merge branch 'dev' into dev 2021-11-25 09:40:38 +01:00
John Hutchison
f73b1af054 New label for Azul Zulu JDK 17
Example output:

Installomator - zulu-jdk-15-urlupdate! ❯ ./assemble.sh zulujdk17
2021-11-24 06:00:42 zulujdk17 ################## Start Installomator v. 9.0dev
2021-11-24 06:00:42 zulujdk17 ################## zulujdk17
2021-11-24 06:00:42 zulujdk17 DEBUG mode 1 enabled.
2021-11-24 06:00:44 zulujdk17 BLOCKING_PROCESS_ACTION=tell_user
2021-11-24 06:00:44 zulujdk17 NOTIFY=success
2021-11-24 06:00:44 zulujdk17 LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-24 06:00:44 zulujdk17 no blocking processes defined, using Zulu JDK 17 as default
2021-11-24 06:00:44 zulujdk17 Changing directory to /Users/john/Documents/Source/Installomator/build
2021-11-24 06:00:44 zulujdk17 Custom App Version detection is used, found be
2021-11-24 06:00:44 zulujdk17 appversion: be
2021-11-24 06:00:44 zulujdk17 Latest version of Zulu JDK 17 is 17.30.15
2021-11-24 06:00:44 zulujdk17 Downloading https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-macosx_aarch64.dmg to Zulu JDK 17.dmg
2021-11-24 06:00:49 zulujdk17 DEBUG mode, not checking for blocking processes
2021-11-24 06:00:49 zulujdk17 Installing Zulu JDK 17
2021-11-24 06:00:49 zulujdk17 Mounting /Users/john/Documents/Source/Installomator/build/Zulu JDK 17.dmg
2021-11-24 06:00:57 zulujdk17 Mounted: /Volumes/Azul Zulu JDK 17.30+15
2021-11-24 06:00:57 zulujdk17 found pkg: /Volumes/Azul Zulu JDK 17.30+15/Double-Click to Install Azul Zulu JDK 17.pkg
2021-11-24 06:00:57 zulujdk17 Verifying: /Volumes/Azul Zulu JDK 17.30+15/Double-Click to Install Azul Zulu JDK 17.pkg
2021-11-24 06:00:57 zulujdk17 Team ID: TDTHCUPYFR (expected: TDTHCUPYFR )
2021-11-24 06:00:57 zulujdk17 Checking package version.
Error encountered while creating /Volumes/Azul Zulu JDK 17.30+15/Double-Click to Install Azul Zulu JDK 17.pkg_pkg. Error 30: Read-only file system
cat: /Volumes/Azul Zulu JDK 17.30+15/Double-Click to Install Azul Zulu JDK 17.pkg_pkg/Distribution: No such file or directory
rm: /Volumes/Azul Zulu JDK 17.30+15/Double-Click to Install Azul Zulu JDK 17.pkg_pkg: No such file or directory
2021-11-24 06:00:57 zulujdk17 Downloaded package com.azulsystems.zulu.17 version
2021-11-24 06:00:57 zulujdk17 DEBUG enabled, skipping installation
2021-11-24 06:00:57 zulujdk17 Finishing...
2021-11-24 06:01:07 zulujdk17 Custom App Version detection is used, found be
2021-11-24 06:01:07 zulujdk17 Installed Zulu JDK 17, version be
2021-11-24 06:01:07 zulujdk17 notifying
2021-11-24 06:01:07 zulujdk17 Unmounting /Volumes/Azul Zulu JDK 17.30+15
"disk4" ejected.
2021-11-24 06:01:07 zulujdk17 DEBUG mode, not reopening anything
2021-11-24 06:01:07 zulujdk17 ################## End Installomator, exit code 0
2021-11-24 06:01:51 -05:00
John Hutchison
4471169fe4 Updated URL
Updated URL to match Zulu JDK 8 style

Example output:

Installomator - zulu-jdk-15-urlupdate! ❯ ./assemble.sh zulujdk15
2021-11-24 05:54:37 zulujdk15 ################## Start Installomator v. 9.0dev
2021-11-24 05:54:37 zulujdk15 ################## zulujdk15
2021-11-24 05:54:37 zulujdk15 DEBUG mode 1 enabled.
2021-11-24 05:54:37 zulujdk15 BLOCKING_PROCESS_ACTION=tell_user
2021-11-24 05:54:37 zulujdk15 NOTIFY=success
2021-11-24 05:54:37 zulujdk15 LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-24 05:54:37 zulujdk15 no blocking processes defined, using Zulu JDK 15 as default
2021-11-24 05:54:37 zulujdk15 Changing directory to /Users/john/Documents/Source/Installomator/build
2021-11-24 05:54:37 zulujdk15 Custom App Version detection is used, found be
2021-11-24 05:54:37 zulujdk15 appversion: be
2021-11-24 05:54:37 zulujdk15 Latest version of Zulu JDK 15 is 15.36.13
2021-11-24 05:54:37 zulujdk15 Downloading https://cdn.azul.com/zulu/bin/zulu15.36.13-ca-jdk15.0.5-macosx_aarch64.dmg to Zulu JDK 15.dmg
2021-11-24 05:54:42 zulujdk15 DEBUG mode, not checking for blocking processes
2021-11-24 05:54:42 zulujdk15 Installing Zulu JDK 15
2021-11-24 05:54:42 zulujdk15 Mounting /Users/john/Documents/Source/Installomator/build/Zulu JDK 15.dmg
2021-11-24 05:54:50 zulujdk15 Mounted: /Volumes/Azul Zulu JDK 15.36+13
2021-11-24 05:54:50 zulujdk15 found pkg: /Volumes/Azul Zulu JDK 15.36+13/Double-Click to Install Azul Zulu JDK 15.pkg
2021-11-24 05:54:50 zulujdk15 Verifying: /Volumes/Azul Zulu JDK 15.36+13/Double-Click to Install Azul Zulu JDK 15.pkg
2021-11-24 05:54:50 zulujdk15 Team ID: TDTHCUPYFR (expected: TDTHCUPYFR )
2021-11-24 05:54:50 zulujdk15 Checking package version.
Error encountered while creating /Volumes/Azul Zulu JDK 15.36+13/Double-Click to Install Azul Zulu JDK 15.pkg_pkg. Error 30: Read-only file system
cat: /Volumes/Azul Zulu JDK 15.36+13/Double-Click to Install Azul Zulu JDK 15.pkg_pkg/Distribution: No such file or directory
rm: /Volumes/Azul Zulu JDK 15.36+13/Double-Click to Install Azul Zulu JDK 15.pkg_pkg: No such file or directory
2021-11-24 05:54:50 zulujdk15 Downloaded package com.azulsystems.zulu.15 version
2021-11-24 05:54:50 zulujdk15 DEBUG enabled, skipping installation
2021-11-24 05:54:50 zulujdk15 Finishing...
2021-11-24 05:55:00 zulujdk15 Custom App Version detection is used, found be
2021-11-24 05:55:00 zulujdk15 Installed Zulu JDK 15, version be
2021-11-24 05:55:00 zulujdk15 notifying
2021-11-24 05:55:00 zulujdk15 Unmounting /Volumes/Azul Zulu JDK 15.36+13
"disk4" ejected.
2021-11-24 05:55:00 zulujdk15 DEBUG mode, not reopening anything
2021-11-24 05:55:00 zulujdk15 ################## End Installomator, exit code 0
2021-11-24 05:55:38 -05:00
John Hutchison
72257d21ae Updated URL
Updated URL to match Zulu JDK8 style.

Test output:

Installomator - zulu-jdk-11-urlupdate! ❯ ./assemble.sh zulujdk11
2021-11-24 05:50:02 zulujdk11 ################## Start Installomator v. 9.0dev
2021-11-24 05:50:02 zulujdk11 ################## zulujdk11
2021-11-24 05:50:02 zulujdk11 DEBUG mode 1 enabled.
2021-11-24 05:50:02 zulujdk11 BLOCKING_PROCESS_ACTION=tell_user
2021-11-24 05:50:02 zulujdk11 NOTIFY=success
2021-11-24 05:50:02 zulujdk11 LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-24 05:50:02 zulujdk11 no blocking processes defined, using Zulu JDK 11 as default
2021-11-24 05:50:02 zulujdk11 Changing directory to /Users/john/Documents/Source/Installomator/build
2021-11-24 05:50:02 zulujdk11 Custom App Version detection is used, found be
2021-11-24 05:50:02 zulujdk11 appversion: be
2021-11-24 05:50:02 zulujdk11 Latest version of Zulu JDK 11 is 11.52.13
2021-11-24 05:50:02 zulujdk11 Downloading https://cdn.azul.com/zulu/bin/zulu11.52.13-ca-jdk11.0.13-macosx_aarch64.dmg to Zulu JDK 11.dmg
2021-11-24 05:50:07 zulujdk11 DEBUG mode, not checking for blocking processes
2021-11-24 05:50:07 zulujdk11 Installing Zulu JDK 11
2021-11-24 05:50:07 zulujdk11 Mounting /Users/john/Documents/Source/Installomator/build/Zulu JDK 11.dmg
2021-11-24 05:50:15 zulujdk11 Mounted: /Volumes/Azul Zulu JDK 11.52+13
2021-11-24 05:50:15 zulujdk11 found pkg: /Volumes/Azul Zulu JDK 11.52+13/Double-Click to Install Azul Zulu JDK 11.pkg
2021-11-24 05:50:15 zulujdk11 Verifying: /Volumes/Azul Zulu JDK 11.52+13/Double-Click to Install Azul Zulu JDK 11.pkg
2021-11-24 05:50:15 zulujdk11 Team ID: TDTHCUPYFR (expected: TDTHCUPYFR )
2021-11-24 05:50:15 zulujdk11 Checking package version.
Error encountered while creating /Volumes/Azul Zulu JDK 11.52+13/Double-Click to Install Azul Zulu JDK 11.pkg_pkg. Error 30: Read-only file system
cat: /Volumes/Azul Zulu JDK 11.52+13/Double-Click to Install Azul Zulu JDK 11.pkg_pkg/Distribution: No such file or directory
rm: /Volumes/Azul Zulu JDK 11.52+13/Double-Click to Install Azul Zulu JDK 11.pkg_pkg: No such file or directory
2021-11-24 05:50:15 zulujdk11 Downloaded package com.azulsystems.zulu.11 version
2021-11-24 05:50:15 zulujdk11 DEBUG enabled, skipping installation
2021-11-24 05:50:15 zulujdk11 Finishing...
2021-11-24 05:50:25 zulujdk11 Custom App Version detection is used, found be
2021-11-24 05:50:25 zulujdk11 Installed Zulu JDK 11, version be
2021-11-24 05:50:25 zulujdk11 notifying
2021-11-24 05:50:26 zulujdk11 Unmounting /Volumes/Azul Zulu JDK 11.52+13
"disk4" ejected.
2021-11-24 05:50:26 zulujdk11 DEBUG mode, not reopening anything
2021-11-24 05:50:26 zulujdk11 ################## End Installomator, exit code 0
2021-11-24 05:51:13 -05:00
Søren Theilgaard
d8dbde032a Update CONTRIBUTING.md 2021-11-24 10:18:09 +01:00
Søren Theilgaard
9af3408da6 Merge pull request #334 from fleish/dev
Create protonvpn.sh
2021-11-24 10:10:42 +01:00
Søren Theilgaard
26b5956894 Update protonvpn.sh 2021-11-24 10:07:59 +01:00
Søren Theilgaard
4adbd1fd2c Update functions.sh 2021-11-24 09:47:35 +01:00
fleish
3dd9818d9a Update protonvpn.sh
appNewVersion
2021-11-23 08:29:05 -08:00
Søren Theilgaard
d7042fce29 A bit cleaning in READMEs 2021-11-23 14:27:31 +01:00
Søren Theilgaard
2178caae0e Update CHANGELOG.md 2021-11-23 13:07:19 +01:00
Armin Briegel
f718e60269 updated version 2021-11-23 11:30:06 +01:00
Armin Briegel
a54c9f0dbc updated version to v8.0 2021-11-23 11:10:14 +01:00
Armin Briegel
89dffc5989 cleaned up some labels and chan 2021-11-23 11:05:27 +01:00
Armin Briegel
74ff5ecb08 Merge pull request #333 from apizz/sqlpropostgres2
Add SQLPro Postgres
2021-11-23 10:44:50 +01:00
Armin Briegel
9cc4972f62 Merge pull request #332 from apizz/sqlpropostgres
Add SQLPro Studio
2021-11-23 10:43:59 +01:00
Søren Theilgaard
b43ebe3483 Update functions.sh 2021-11-23 09:49:37 +01:00
Søren Theilgaard
5fcb4174f0 Update CHANGELOG.md 2021-11-23 09:06:03 +01:00
Søren Theilgaard
2a15a2142d Moved root check to before case statement
We can have code in the case statement, so no need to run that, if we were supposed to exit.
2021-11-23 08:59:44 +01:00
fleish
ade237079c Create protonvpn.sh 2021-11-22 11:53:17 -08:00
AP Orlebeke
4117b687e8 Add SQLPro Postgres 2021-11-22 11:15:43 -05:00
AP Orlebeke
c6237ca193 Add SQLPro Studio 2021-11-22 10:52:36 -05:00
Søren Theilgaard
d6a9d6707e Update functions.sh 2021-11-22 16:21:24 +01:00
Søren Theilgaard
ccc58d9dc1 Update bluejeans.sh 2021-11-22 15:58:57 +01:00
Søren Theilgaard
7ac31c00fc Update vscodium.sh 2021-11-22 15:53:26 +01:00
Søren Theilgaard
6da46f30a2 Update vagrant.sh 2021-11-22 15:46:58 +01:00
Søren Theilgaard
4b59622348 Update screencloudplayer.sh 2021-11-22 15:22:14 +01:00
Søren Theilgaard
9c060635df Update logitechoptions.sh 2021-11-22 14:56:23 +01:00
Søren Theilgaard
87f4b4e967 Update lexarrecoverytool.sh 2021-11-22 14:54:10 +01:00
Søren Theilgaard
9923a03a12 Update inkscape.sh 2021-11-22 14:50:00 +01:00
Søren Theilgaard
4b87ffd5df Update inkscape.sh 2021-11-22 14:38:05 +01:00
Søren Theilgaard
57c5113554 firefox 2021-11-22 12:53:34 +01:00
Søren Theilgaard
25fdfc38f9 Update fastscripts.sh 2021-11-22 12:03:32 +01:00
Søren Theilgaard
19ac07ca77 Update dialog.sh 2021-11-22 12:00:06 +01:00
Søren Theilgaard
1260d9b9d1 label fixes 2021-11-22 11:55:26 +01:00
Søren Theilgaard
e5c25aa867 DEBUG check in microsoft labels 2021-11-22 11:31:20 +01:00
Søren Theilgaard
f621d36981 Error in label check for “version”
Fixed.
2021-11-22 11:05:34 +01:00
Søren Theilgaard
bf6fda07d6 Update Labels.txt 2021-11-22 11:00:56 +01:00
Søren Theilgaard
80082691b9 Merge pull request #328 from Installomator/MDM-script-with-caffeine
MDM with caffeinate
2021-11-22 10:59:49 +01:00
Søren Theilgaard
d50a825482 Merge branch 'dev' into MDM-script-with-caffeine 2021-11-22 10:59:39 +01:00
Søren Theilgaard
6aa32cba1c Merge pull request #317 from Installomator/Theile-labels
Theile-labels
2021-11-22 10:58:51 +01:00
Søren Theilgaard
cb45cab5c7 Merge pull request #285 from jnichols35/label-superhuman
label superhuman.sh
2021-11-22 10:53:25 +01:00
Søren Theilgaard
8089187598 superhuman version 2021-11-22 10:53:05 +01:00
Søren Theilgaard
e8f5fd0a2a Merge pull request #288 from jnichols35/label-logseq
label logseq.sh
2021-11-22 10:43:44 +01:00
Søren Theilgaard
7e56354cb1 Labels from #289 2021-11-22 10:42:19 +01:00
Søren Theilgaard
5880124676 Merge pull request #311 from Raptor399/boxtools-fix
Added packedID so Box Tools installs correctly
2021-11-22 10:18:38 +01:00
Søren Theilgaard
385f9c1a04 microsoftedge 2021-11-22 10:17:59 +01:00
Søren Theilgaard
b1801dd561 Merge pull request #306 from Installomator/microsoft-labels-updates
Updated msupdate call
2021-11-22 09:58:43 +01:00
Søren Theilgaard
6b7c01dbaa Merge branch 'dev' into microsoft-labels-updates 2021-11-22 09:58:33 +01:00
Søren Theilgaard
4d71a194a8 Merge pull request #322 from adibue/adibue-add-nudge
Added label for 'nudge'
2021-11-22 09:57:07 +01:00
Søren Theilgaard
49917fd4aa Merge pull request #323 from buckbanzai/buckbanzai-add-maccyapp
Added label for Maccy clipboard manager
2021-11-22 09:54:28 +01:00
Søren Theilgaard
5aeb5bcec0 Merge pull request #325 from buckbanzai/buckbanzai-add-talkdeskcallbar
Added label for Talkdesk Callbar
2021-11-22 09:53:48 +01:00
Søren Theilgaard
5bb584a2d2 Update r.sh 2021-11-22 09:51:43 +01:00
Søren Theilgaard
a1fe87c7f7 Merge pull request #324 from macprince/overflow-label
Label - overflow.sh
2021-11-22 09:39:12 +01:00
Søren Theilgaard
9ae8f3c11f Merge pull request #316 from Installomator/Update/install-detection
update/installation detection
2021-11-22 09:34:08 +01:00
Søren Theilgaard
28d2f78465 Merge branch 'dev' into Update/install-detection 2021-11-22 09:34:01 +01:00
Søren Theilgaard
709ee18144 Merge pull request #315 from Installomator/CLIInstaller
CLI Installer
2021-11-22 09:33:17 +01:00
Søren Theilgaard
876c1e96c4 Merge branch 'dev' into CLIInstaller 2021-11-22 09:33:08 +01:00
Søren Theilgaard
305987e54a Update CHANGELOG.md 2021-11-22 09:29:52 +01:00
Søren Theilgaard
a3fe713e55 Update Labels.txt 2021-11-22 09:01:42 +01:00
Søren Theilgaard
9f42fb9501 Create findanyfile.sh 2021-11-22 08:57:50 +01:00
Søren Theilgaard
b6f0afb8ba Fixed pkg teamID calculation 2021-11-19 14:59:15 +01:00
Søren Theilgaard
f5fcca7b89 jabradirect version-fix 2021-11-19 14:44:58 +01:00
Søren Theilgaard
f02bacc71a MDM with caffeinate 2021-11-19 12:31:43 +01:00
Armin Briegel
c1312e0d01 Merge pull request #277 from XoMute/dev
Added separate check for `version` argument
2021-11-19 08:32:55 +01:00
Armin Briegel
d2f39a3b87 Merge pull request #172 from sphen13/silent_fail_downloads
Dont download pkg if we are set to silent_fail and there is blockingprocess
2021-11-19 08:32:02 +01:00
Søren Theilgaard
3e6ef1a6ee Update smartgit.sh 2021-11-18 21:30:11 +01:00
Søren Theilgaard
b78bc12fff Update mattermost.sh 2021-11-18 21:26:10 +01:00
Søren Theilgaard
f062d49bfd mattermost universal 2021-11-17 19:36:05 +01:00
Liam Steckler
333b03e110 Added label for Talkdesk Callbar, added newline 2021-11-17 09:48:00 -08:00
Liam Steckler
2a8bd0d2e8 Added label for Talkdesk Callbar 2021-11-17 09:46:34 -08:00
Dan Kuehling
996e85ad24 Create overflow.sh
Label for overflow.io user flow diagram creator app.
2021-11-17 11:42:54 -06:00
Adrian Bühler
85cb09df34 Added 'nudge' to Labels.txt 2021-11-17 17:31:02 +01:00
Liam Steckler
b0b1477989 Added label for Maccy clipboard manager 2021-11-17 08:27:06 -08:00
Adrian Bühler
c62707cd7d Added label for 'nudge'
Added label for `nudge`.

Log from test run:

```
$ sudo zsh Installomator.sh nudge DEBUG=0
2021-11-17 11:52:34 nudge setting variable from argument DEBUG=0
2021-11-17 11:52:34 nudge ################## Start Installomator v. 0.8.0
2021-11-17 11:52:34 nudge ################## nudge
2021-11-17 11:52:35 nudge BLOCKING_PROCESS_ACTION=tell_user
2021-11-17 11:52:35 nudge NOTIFY=success
2021-11-17 11:52:35 nudge LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-17 11:52:35 nudge no blocking processes defined, using Nudge as default
2021-11-17 11:52:35 nudge Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.9Fo2W6NU
2021-11-17 11:52:35 nudge App(s) found: /Applications/Utilities/Nudge.app
2021-11-17 11:52:35 nudge found app at /Applications/Utilities/Nudge.app, version 1.1.2.10212021172015
2021-11-17 11:52:35 nudge appversion: 1.1.2.10212021172015
2021-11-17 11:52:35 nudge Latest version of Nudge is 1.1.2.10212021172015
2021-11-17 11:52:35 nudge There is no newer version available.
2021-11-17 11:52:35 nudge Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.9Fo2W6NU
2021-11-17 11:52:35 nudge App not closed, so no reopen.
2021-11-17 11:52:35 nudge ################## End Installomator, exit code 0
```
2021-11-17 11:54:56 +01:00
Søren Theilgaard
38bf480a2e Update audacity.sh 2021-11-17 08:23:14 +01:00
Søren Theilgaard
9125dbc5d7 Update buildLabel.sh 2021-11-16 19:09:50 +01:00
Søren Theilgaard
04151adbfd Update buildLabel.sh 2021-11-16 16:43:54 +01:00
Søren Theilgaard
1bfe163dff Update buildLabel.sh 2021-11-16 10:01:19 +01:00
Søren Theilgaard
289b72c5f1 marathon trilogy 2021-11-16 09:52:36 +01:00
Søren Theilgaard
0a5f667a4f Merge pull request #318 from Installomator/buildLabel-improved-for-github
Update buildLabel.sh
2021-11-16 09:41:44 +01:00
Søren Theilgaard
c954dab309 Update CHANGELOG.md 2021-11-16 09:33:28 +01:00
Søren Theilgaard
53c629aa15 Removing non-working labels 2021-11-16 09:32:14 +01:00
Søren Theilgaard
028ed10393 Update checkLabels.sh
`checkLabels.sh` can be run from anywhere.
2021-11-16 09:16:48 +01:00
Søren Theilgaard
891dab08d4 installerTool implemented 2021-11-15 14:25:57 +01:00
Søren Theilgaard
7f96d78946 fastscripts
```
% sudo /Documents/GitHub/Installomator/utils/assemble.sh -r fastscripts DEBUG=0
2021-11-15 09:51:16 fastscripts setting variable from argument DEBUG=0
2021-11-15 09:51:16 fastscripts ################## Start Installomator v. 0.8.0
2021-11-15 09:51:16 fastscripts ################## fastscripts
2021-11-15 09:51:17 fastscripts BLOCKING_PROCESS_ACTION=tell_user
2021-11-15 09:51:17 fastscripts NOTIFY=success
2021-11-15 09:51:17 fastscripts LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-15 09:51:17 fastscripts no blocking processes defined, using FastScripts as default
2021-11-15 09:51:17 fastscripts Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.FyV3t3sp
2021-11-15 09:51:17 fastscripts App(s) found: /Users/st/Downloads/2021-11-15-09-40-10/FastScripts.app
2021-11-15 09:51:17 fastscripts could not determine location of FastScripts.app
2021-11-15 09:51:17 fastscripts appversion:
2021-11-15 09:51:17 fastscripts Latest version of FastScripts is 3.0
2021-11-15 09:51:17 fastscripts Downloading https://redsweater.com/fastscripts/FastScripts3.0.zip to FastScripts.zip
2021-11-15 09:51:20 fastscripts no more blocking processes, continue with update
2021-11-15 09:51:20 fastscripts Installing FastScripts
2021-11-15 09:51:20 fastscripts Unzipping FastScripts.zip
2021-11-15 09:51:20 fastscripts Verifying: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.FyV3t3sp/FastScripts.app
2021-11-15 09:51:21 fastscripts Team ID matching: 493CVA9A35 (expected: 493CVA9A35 )
2021-11-15 09:51:21 fastscripts Downloaded version of FastScripts is 3.0 (replacing version ).
2021-11-15 09:51:21 fastscripts Copy /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.FyV3t3sp/FastScripts.app to /Applications
2021-11-15 09:51:21 fastscripts Changing owner to st
2021-11-15 09:51:21 fastscripts Finishing…
2021-11-15 09:51:31 fastscripts App(s) found: /Applications/FastScripts.app
2021-11-15 09:51:31 fastscripts found app at /Applications/FastScripts.app, version 3.0
2021-11-15 09:51:31 fastscripts Installed FastScripts, version 3.0
2021-11-15 09:51:31 fastscripts notifying
2021-11-15 09:51:31 fastscripts Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.FyV3t3sp
2021-11-15 09:51:31 fastscripts App not closed, so no reopen.
2021-11-15 09:51:31 fastscripts ################## End Installomator, exit code 0

% sudo Documents/GitHub/Installomator/utils/assemble.sh -r fastscripts DEBUG=0
2021-11-15 09:51:47 fastscripts setting variable from argument DEBUG=0
2021-11-15 09:51:47 fastscripts ################## Start Installomator v. 0.8.0
2021-11-15 09:51:47 fastscripts ################## fastscripts
2021-11-15 09:51:48 fastscripts BLOCKING_PROCESS_ACTION=tell_user
2021-11-15 09:51:48 fastscripts NOTIFY=success
2021-11-15 09:51:48 fastscripts LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-15 09:51:48 fastscripts no blocking processes defined, using FastScripts as default
2021-11-15 09:51:48 fastscripts Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.O9CBwrvL
2021-11-15 09:51:48 fastscripts App(s) found: /Applications/FastScripts.app
2021-11-15 09:51:48 fastscripts found app at /Applications/FastScripts.app, version 3.0
2021-11-15 09:51:48 fastscripts appversion: 3.0
2021-11-15 09:51:48 fastscripts Latest version of FastScripts is 3.0
2021-11-15 09:51:48 fastscripts There is no newer version available.
2021-11-15 09:51:48 fastscripts Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.O9CBwrvL
2021-11-15 09:51:48 fastscripts App not closed, so no reopen.
2021-11-15 09:51:48 fastscripts ################## End Installomator, exit code 0
```
2021-11-15 09:52:57 +01:00
Søren Theilgaard
596b9c6e28 Missing TeamID 2021-11-15 09:23:24 +01:00
Søren Theilgaard
374a32be9a better pkg handling 2021-11-14 21:02:34 +01:00
Søren Theilgaard
32353c3852 Update CHANGELOG.md 2021-11-14 19:51:36 +01:00
Søren Theilgaard
ba7fc6468f GitHub improvements
I'm really proud to figure this out. Take a look at hos this label is being build:
```
% Documents/GitHub/Installomator/utils/buildLabel.sh "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20210408/Marathon-20210408-Mac.dmg"
Changing directory to /Users/st/Downloads/2021-11-13-20-03-26
Working dir: /Users/st/Downloads/2021-11-13-20-03-26
Downloading https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20210408/Marathon-20210408-Mac.dmg
Marathon-20210408-Mac.dmg
Redirecting to (maybe this can help us with version):

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   662  100   662    0     0   2225      0 --:--:-- --:--:-- --:--:--  2290
100 49.7M  100 49.7M    0     0  7284k      0  0:00:06  0:00:06 --:--:-- 10.5M
archiveTempName: Marathon-20210408-Mac.dmg
archivePath: https://objects.githubusercontent.com/github-production-release-asset-2e65be/39701264/c534b380-98b5-11eb-9c5b-bd8909ee1263?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211113%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211113T190327Z&X-Amz-Expires=300&X-Amz-Signature=bb6789b784ade0fd9b1f81ca88d63dd09224bae9fd15be4a4a61f31425aca553&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=39701264&response-content-disposition=attachment%3B%20filename%3DMarathon-20210408-Mac.dmg&response-content-type=application%2Foctet-stream
Calculated archiveName: Marathon-20210408-Mac.dmg
name: Marathon-20210408-Mac
archiveExt: dmg
identifier: marathon20210408mac
Diskimage found
Mounting Marathon-20210408-Mac.dmg
Mounted: /Volumes/Marathon
Verifying: /Volumes/Marathon/Marathon.app
"disk8" ejected.
https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20210408/Marathon-20210408-Mac.dmg

**********

Found GitHub path
Github place: Aleph-One-Marathon alephone
Latest URL on github: https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20210408/AlephOne-20210408-Mac.dmg
Latest version: 20210408
Calculated GitHub URL almost identical, only this diff:
“release-20210408/Marathon-20210408-Mac.dmg” and “release-20210408/AlephOne-20210408-Mac.dmg”
Could be version difference or difference in archiveName for a given release.
Testing for version difference.
Not a version problem.
Testing for difference in archiveName.
archiveName="Marathon-[0-9.]*-Mac.dmg"
Latest URL on github: https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20210408/Marathon-20210408-Mac.dmg
Latest version: 20210408
GitHub calculated URL matches entered URL.

**********

Labels should be named in small caps, numbers 0-9, “-”, and “_”. No other characters allowed.

marathon20210408mac)
    name="Marathon"
    type="dmg"
    archiveName="Marathon-[0-9.]*-Mac.dmg"
    downloadURL="$(downloadURLFromGit Aleph-One-Marathon alephone)"
    appNewVersion="$(versionFromGit Aleph-One-Marathon alephone)"
    expectedTeamID="E8K89CXZE7"
    ;;

Label converted to GitHub label without errors.
Details can be seen above.

Above should be saved in a file with exact same name as label, and given extension “.sh”.
Put this file in folder “fragments/labels”.
```

This repo on GitHub has several software titles, and because we have the link, it can automatically figure out how to make the `archiveName`.
2021-11-13 20:15:54 +01:00
Søren Theilgaard
4e8db91ff0 Update buildLabel.sh 2021-11-12 15:58:36 +01:00
Søren Theilgaard
28d5d1de0c Marathon alephone 2021-11-12 11:29:08 +01:00
Søren Theilgaard
168d19cd56 Pangea Software games
Example installation
```
% sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r ottomatic DEBUG=0
2021-11-12 10:28:35 ottomatic setting variable from argument DEBUG=0
2021-11-12 10:28:35 ottomatic ################## Start Installomator v. 0.8.0
2021-11-12 10:28:35 ottomatic ################## ottomatic
2021-11-12 10:28:36 ottomatic BLOCKING_PROCESS_ACTION=tell_user
2021-11-12 10:28:36 ottomatic NOTIFY=success
2021-11-12 10:28:36 ottomatic LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-12 10:28:36 ottomatic no blocking processes defined, using Otto Matic as default
2021-11-12 10:28:36 ottomatic Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.xzx3iWjQ
2021-11-12 10:28:36 ottomatic App(s) found:
2021-11-12 10:28:36 ottomatic could not find Otto Matic.app
2021-11-12 10:28:36 ottomatic appversion:
2021-11-12 10:28:36 ottomatic Latest version of Otto Matic is 4.0.0
2021-11-12 10:28:36 ottomatic Downloading https://github.com/jorio/OttoMatic/releases/download/4.0.0/OttoMatic-4.0.0-mac.dmg to Otto Matic.dmg
2021-11-12 10:29:52 ottomatic no more blocking processes, continue with update
2021-11-12 10:29:52 ottomatic Installing Otto Matic
2021-11-12 10:29:52 ottomatic Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.xzx3iWjQ/Otto Matic.dmg
2021-11-12 10:29:55 ottomatic Mounted: /Volumes/Otto Matic 4.0.0
2021-11-12 10:29:55 ottomatic Verifying: /Volumes/Otto Matic 4.0.0/Otto Matic.app
2021-11-12 10:29:57 ottomatic Team ID matching: RVNL7XC27G (expected: RVNL7XC27G )
2021-11-12 10:29:57 ottomatic Downloaded version of Otto Matic is 4.0.0 (replacing version ).
2021-11-12 10:29:57 ottomatic Copy /Volumes/Otto Matic 4.0.0/Otto Matic.app to /Applications
2021-11-12 10:29:57 ottomatic Changing owner to st
2021-11-12 10:29:57 ottomatic Finishing…
2021-11-12 10:30:07 ottomatic App(s) found: /Applications/Otto Matic.app
2021-11-12 10:30:07 ottomatic found app at /Applications/Otto Matic.app, version 4.0.0
2021-11-12 10:30:07 ottomatic Installed Otto Matic, version 4.0.0
2021-11-12 10:30:07 ottomatic notifying
2021-11-12 10:30:07 ottomatic Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.xzx3iWjQ
2021-11-12 10:30:07 ottomatic Unmounting /Volumes/Otto Matic 4.0.0
"disk6" ejected.
2021-11-12 10:30:07 ottomatic App not closed, so no reopen.
2021-11-12 10:30:08 ottomatic ################## End Installomator, exit code 0

% sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r ottomatic DEBUG=0
Password:
2021-11-12 10:58:24 ottomatic setting variable from argument DEBUG=0
2021-11-12 10:58:24 ottomatic ################## Start Installomator v. 0.8.0
2021-11-12 10:58:24 ottomatic ################## ottomatic
2021-11-12 10:58:25 ottomatic BLOCKING_PROCESS_ACTION=tell_user
2021-11-12 10:58:25 ottomatic NOTIFY=success
2021-11-12 10:58:25 ottomatic LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-12 10:58:25 ottomatic no blocking processes defined, using Otto Matic as default
2021-11-12 10:58:25 ottomatic Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.nNqO5vSr
2021-11-12 10:58:25 ottomatic App(s) found: /Applications/Otto Matic.app
2021-11-12 10:58:25 ottomatic found app at /Applications/Otto Matic.app, version 4.0.0
2021-11-12 10:58:25 ottomatic appversion: 4.0.0
2021-11-12 10:58:25 ottomatic Latest version of Otto Matic is 4.0.0
2021-11-12 10:58:25 ottomatic There is no newer version available.
2021-11-12 10:58:25 ottomatic Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.nNqO5vSr
2021-11-12 10:58:25 ottomatic App not closed, so no reopen.
2021-11-12 10:58:25 ottomatic ################## End Installomator, exit code 0
```
2021-11-12 11:14:10 +01:00
Søren Theilgaard
4aa7cd7793 more labels
Adding a few labels to see it in a bigger picture
2021-11-12 09:51:52 +01:00
Søren Theilgaard
855101a2cd mowgliiitsycal 2021-11-11 10:56:41 +01:00
Søren Theilgaard
b74a06f336 img folder 2021-11-11 09:23:29 +01:00
Søren Theilgaard
09b84945ed Update CHANGELOG.md 2021-11-11 08:50:08 +01:00
Søren Theilgaard
9f34df0b4e Update CHANGELOG.md 2021-11-11 08:46:13 +01:00
Søren Theilgaard
c20ba0274b Update CHANGELOG.md 2021-11-11 08:44:55 +01:00
Søren Theilgaard
3c1e6cdf37 v0.8 ready 2021-11-11 08:43:07 +01:00
Søren Theilgaard
ecb7b0416b img 2021-11-11 08:28:27 +01:00
Søren Theilgaard
6258de8bef Create MDMMosyle install.sh 2021-11-10 21:46:37 +01:00
Søren Theilgaard
15373a35f9 Explanation 2021-11-10 16:22:28 +01:00
Søren Theilgaard
bf4e7d89ec mountname reintroduced
Now we can call any script on the root of the path where `appName` is found.

Same result:
```
2021-11-10 15:58:02 adobecreativeclouddesktop setting variable from argument DEBUG=0
2021-11-10 15:58:02 adobecreativeclouddesktop setting variable from argument INSTALL=force
2021-11-10 15:58:02 adobecreativeclouddesktop ################## Start Installomator v. 0.8.0
2021-11-10 15:58:02 adobecreativeclouddesktop ################## adobecreativeclouddesktop
2021-11-10 15:58:03 adobecreativeclouddesktop BLOCKING_PROCESS_ACTION=tell_user
2021-11-10 15:58:03 adobecreativeclouddesktop NOTIFY=success
2021-11-10 15:58:03 adobecreativeclouddesktop LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-10 15:58:03 adobecreativeclouddesktop no blocking processes defined, using Creative Cloud as default
2021-11-10 15:58:03 adobecreativeclouddesktop Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.WNV7B1pH
2021-11-10 15:58:03 adobecreativeclouddesktop App(s) found: /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/Install.app
2021-11-10 15:58:03 adobecreativeclouddesktop could not determine location of Install.app
2021-11-10 15:58:03 adobecreativeclouddesktop appversion:
2021-11-10 15:58:03 adobecreativeclouddesktop Latest version of Creative Cloud is 5.6.0.788
2021-11-10 15:58:03 adobecreativeclouddesktop Downloading https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_6_0/macarm64/ACCCx5_6_0_788.dmg to Creative Cloud.dmg
2021-11-10 15:58:17 adobecreativeclouddesktop no more blocking processes, continue with update
2021-11-10 15:58:17 adobecreativeclouddesktop Installing Creative Cloud
2021-11-10 15:58:17 adobecreativeclouddesktop Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.WNV7B1pH/Creative Cloud.dmg
2021-11-10 15:58:18 adobecreativeclouddesktop Mounted: /Volumes/Creative Cloud
2021-11-10 15:58:18 adobecreativeclouddesktop Verifying: /Volumes/Creative Cloud/Install.app
2021-11-10 15:58:18 adobecreativeclouddesktop Team ID matching: JQ525L2MZD (expected: JQ525L2MZD )
2021-11-10 15:58:18 adobecreativeclouddesktop Downloaded version of Creative Cloud is 2.6.0.46 (replacing version ).
2021-11-10 15:58:18 adobecreativeclouddesktop CLIInstaller exists, running installer command /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install --mode=silent
2021-11-10 15:58:23 adobecreativeclouddesktop Succesfully ran /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install --mode=silent
2021-11-10 15:58:23 adobecreativeclouddesktop Debugging enabled, update tool output was:
objc[20055]: Class HTTPHeader is implemented in both /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install (0x102565018) and /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10f2f0790). One of the two will be used. Which one is undefined.
objc[20055]: Class ProxyManager is implemented in both /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install (0x102565068) and /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10f2f07e0). One of the two will be used. Which one is undefined.
objc[20055]: Class HTTPHeader is implemented in both /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install (0x102565018) and /Volumes/Creative Cloud/resources/AdobePIM.dylib (0x110302790). One of the two will be used. Which one is undefined.
objc[20055]: Class ProxyManager is implemented in both /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install (0x102565068) and /Volumes/Creative Cloud/resources/AdobePIM.dylib (0x1103027e0). One of the two will be used. Which one is undefined.
Starting installer...
Installation successful.
2021-11-10 15:58:23 adobecreativeclouddesktop Finishing…
2021-11-10 15:58:33 adobecreativeclouddesktop App(s) found: /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/Install.app
2021-11-10 15:58:33 adobecreativeclouddesktop could not determine location of Install.app
2021-11-10 15:58:33 adobecreativeclouddesktop Installed Creative Cloud
2021-11-10 15:58:33 adobecreativeclouddesktop notifying
2021-11-10 15:58:33 adobecreativeclouddesktop Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.WNV7B1pH
2021-11-10 15:58:33 adobecreativeclouddesktop Unmounting /Volumes/Creative Cloud
"disk5" ejected.
2021-11-10 15:58:33 adobecreativeclouddesktop App not closed, so no reopen.
2021-11-10 15:58:33 adobecreativeclouddesktop ################## End Installomator, exit code 0
```
2021-11-10 16:01:06 +01:00
Søren Theilgaard
800c356b01 updae/installation detection 2021-11-10 15:29:59 +01:00
Søren Theilgaard
638f7983dd Not using mountname
Changes to the label, so path to CLIInstaller does not contain the name of the app, as that is already in the variable `appPath`.

Still needing to decide on debug logging or what kind of message we want there.

But this is succesfull:
```
% sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r adobecreativeclouddesktop DEBUG=0 INSTALL=force
Password:
2021-11-10 11:30:51 adobecreativeclouddesktop setting variable from argument DEBUG=0
2021-11-10 11:30:51 adobecreativeclouddesktop setting variable from argument INSTALL=force
2021-11-10 11:30:51 adobecreativeclouddesktop ################## Start Installomator v. 0.8.0
2021-11-10 11:30:51 adobecreativeclouddesktop ################## adobecreativeclouddesktop
2021-11-10 11:30:51 adobecreativeclouddesktop BLOCKING_PROCESS_ACTION=tell_user
2021-11-10 11:30:51 adobecreativeclouddesktop NOTIFY=success
2021-11-10 11:30:52 adobecreativeclouddesktop LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-10 11:30:52 adobecreativeclouddesktop no blocking processes defined, using Creative Cloud as default
2021-11-10 11:30:52 adobecreativeclouddesktop Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.wMH45Qfi
2021-11-10 11:30:52 adobecreativeclouddesktop App(s) found: /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/Install.app
2021-11-10 11:30:52 adobecreativeclouddesktop could not determine location of Install.app
2021-11-10 11:30:52 adobecreativeclouddesktop appversion:
2021-11-10 11:30:52 adobecreativeclouddesktop Latest version of Creative Cloud is 5.6.0.788
2021-11-10 11:30:52 adobecreativeclouddesktop Downloading https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_6_0/macarm64/ACCCx5_6_0_788.dmg to Creative Cloud.dmg
2021-11-10 11:31:41 adobecreativeclouddesktop no more blocking processes, continue with update
2021-11-10 11:31:41 adobecreativeclouddesktop Installing Creative Cloud
2021-11-10 11:31:41 adobecreativeclouddesktop Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.wMH45Qfi/Creative Cloud.dmg
2021-11-10 11:31:42 adobecreativeclouddesktop Mounted: /Volumes/Creative Cloud 2
2021-11-10 11:31:42 adobecreativeclouddesktop Verifying: /Volumes/Creative Cloud 2/Install.app
2021-11-10 11:31:42 adobecreativeclouddesktop Team ID matching: JQ525L2MZD (expected: JQ525L2MZD )
2021-11-10 11:31:42 adobecreativeclouddesktop Downloaded version of Creative Cloud is 2.6.0.46 (replacing version ).
2021-11-10 11:31:42 adobecreativeclouddesktop CLIInstaller exists, running installer command /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install --mode=silent
2021-11-10 11:31:46 adobecreativeclouddesktop Succesfully ran /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install --mode=silent
2021-11-10 11:31:46 adobecreativeclouddesktop Debugging enabled, update tool output was:
objc[71312]: Class HTTPHeader is implemented in both /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install (0x100c2f018) and /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10dc38790). One of the two will be used. Which one is undefined.
objc[71312]: Class ProxyManager is implemented in both /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install (0x100c2f068) and /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10dc387e0). One of the two will be used. Which one is undefined.
objc[71312]: Class HTTPHeader is implemented in both /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install (0x100c2f018) and /Volumes/Creative Cloud 2/resources/AdobePIM.dylib (0x10e4e6790). One of the two will be used. Which one is undefined.
objc[71312]: Class ProxyManager is implemented in both /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install (0x100c2f068) and /Volumes/Creative Cloud 2/resources/AdobePIM.dylib (0x10e4e67e0). One of the two will be used. Which one is undefined.
Starting installer...
Installation successful.
2021-11-10 11:31:46 adobecreativeclouddesktop Finishing…
2021-11-10 11:31:56 adobecreativeclouddesktop App(s) found: /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/Install.app
2021-11-10 11:31:56 adobecreativeclouddesktop could not determine location of Install.app
2021-11-10 11:31:56 adobecreativeclouddesktop Installed Creative Cloud
2021-11-10 11:31:56 adobecreativeclouddesktop notifying
2021-11-10 11:31:56 adobecreativeclouddesktop Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.wMH45Qfi
2021-11-10 11:31:56 adobecreativeclouddesktop Unmounting /Volumes/Creative Cloud 2
"disk6" ejected.
2021-11-10 11:31:57 adobecreativeclouddesktop App not closed, so no reopen.
2021-11-10 11:31:57 adobecreativeclouddesktop ################## End Installomator, exit code 0
```
2021-11-10 11:34:30 +01:00
Søren Theilgaard
3ef4f11025 CLIInstaller and CLIArguments 2021-11-10 09:44:09 +01:00
Søren Theilgaard
a42c624a7c CLIInstaller and CLIArguments
Explained…
2021-11-10 09:39:39 +01:00
Søren Theilgaard
ca772a6d28 Update adobecreativeclouddesktop.sh 2021-11-10 09:06:04 +01:00
Søren Theilgaard
a2ee2ccdde Update functions.sh 2021-11-10 08:58:05 +01:00
Søren Theilgaard
7e75683d76 Adobe CC with CLIInstaller
I was looking into installing Adobe CC fully (Isaac has done the hard part), and we can add `CLIInstaller` and `CLIArguments` to get it fully installed.
This implementation is slightly changed from Isaacs.
```
% sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r adobecreativeclouddesktop DEBUG=0 INSTALL=force
2021-11-10 08:56:00 adobecreativeclouddesktop setting variable from argument DEBUG=0
2021-11-10 08:56:00 adobecreativeclouddesktop setting variable from argument INSTALL=force
2021-11-10 08:56:00 adobecreativeclouddesktop ################## Start Installomator v. 0.8.0
2021-11-10 08:56:00 adobecreativeclouddesktop ################## adobecreativeclouddesktop
2021-11-10 08:56:00 adobecreativeclouddesktop BLOCKING_PROCESS_ACTION=tell_user
2021-11-10 08:56:00 adobecreativeclouddesktop NOTIFY=success
2021-11-10 08:56:00 adobecreativeclouddesktop LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-10 08:56:00 adobecreativeclouddesktop no blocking processes defined, using Creative Cloud as default
2021-11-10 08:56:00 adobecreativeclouddesktop Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.0LNrXCQX
2021-11-10 08:56:01 adobecreativeclouddesktop App(s) found: /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/Install.app
2021-11-10 08:56:01 adobecreativeclouddesktop could not determine location of Install.app
2021-11-10 08:56:01 adobecreativeclouddesktop appversion:
2021-11-10 08:56:01 adobecreativeclouddesktop Latest version of Creative Cloud is 5.6.0.788
2021-11-10 08:56:01 adobecreativeclouddesktop Downloading https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_6_0/macarm64/ACCCx5_6_0_788.dmg to Creative Cloud.dmg
2021-11-10 08:56:30 adobecreativeclouddesktop no more blocking processes, continue with update
2021-11-10 08:56:30 adobecreativeclouddesktop Installing Creative Cloud
2021-11-10 08:56:30 adobecreativeclouddesktop Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.0LNrXCQX/Creative Cloud.dmg
2021-11-10 08:56:30 adobecreativeclouddesktop Mounted: /Volumes/Creative Cloud
2021-11-10 08:56:30 adobecreativeclouddesktop Verifying: /Volumes/Creative Cloud/Install.app
2021-11-10 08:56:30 adobecreativeclouddesktop Team ID matching: JQ525L2MZD (expected: JQ525L2MZD )
2021-11-10 08:56:30 adobecreativeclouddesktop Downloaded version of Creative Cloud is 2.6.0.46 (replacing version ).
2021-11-10 08:56:30 adobecreativeclouddesktop CLIInstaller exists, running installer command /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install --mode=silent
2021-11-10 08:56:34 adobecreativeclouddesktop Debugging enabled, update tool output was: objc[51900]: Class HTTPHeader is implemented in both /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install (0x102d2a018) and /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10fa75790). One of the two will be used. Which one is undefined.
objc[51900]: Class ProxyManager is implemented in both /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install (0x102d2a068) and /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10fa757e0). One of the two will be used. Which one is undefined.
objc[51900]: Class HTTPHeader is implemented in both /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install (0x102d2a018) and /Volumes/Creative Cloud/resources/AdobePIM.dylib (0x110a87790). One of the two will be used. Which one is undefined.
objc[51900]: Class ProxyManager is implemented in both /Volumes/Creative Cloud/Install.app/Contents/MacOS/Install (0x102d2a068) and /Volumes/Creative Cloud/resources/AdobePIM.dylib (0x110a877e0). One of the two will be used. Which one is undefined.
Starting installer...
Installation successful.
2021-11-10 08:56:34 adobecreativeclouddesktop Finishing…
2021-11-10 08:56:44 adobecreativeclouddesktop App(s) found: /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/Install.app
2021-11-10 08:56:44 adobecreativeclouddesktop could not determine location of Install.app
2021-11-10 08:56:44 adobecreativeclouddesktop Installed Creative Cloud
2021-11-10 08:56:44 adobecreativeclouddesktop notifying
2021-11-10 08:56:44 adobecreativeclouddesktop Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.0LNrXCQX
2021-11-10 08:56:44 adobecreativeclouddesktop Unmounting /Volumes/Creative Cloud
"disk4" ejected.
2021-11-10 08:56:45 adobecreativeclouddesktop App not closed, so no reopen.
2021-11-10 08:56:45 adobecreativeclouddesktop ################## End Installomator, exit code 0
```
2021-11-10 08:57:31 +01:00
Søren Theilgaard
51ba24f5e2 Merge branch 'dev' of https://github.com/Installomator/Installomator into dev 2021-11-09 15:43:31 +01:00
Søren Theilgaard
b28072fe84 Update typora.sh 2021-11-09 15:43:29 +01:00
Søren Theilgaard
d1ae2f1899 Merge pull request #307 from p-venkman/sketchupviewer
Add a label for Sketchup Viewer
2021-11-09 12:46:39 +01:00
Raptor399
39a212bee9 Added packedID so Box Tools installs correct
Fixes #310
2021-11-09 11:27:30 +01:00
Søren Theilgaard
ecde31ee1b Merge pull request #305 from Installomator/Theile-labels
eshareosx label
2021-11-08 22:19:57 +01:00
p-venkman
d8dcf785f0 Add a label for Sketchup Viewer 2021-11-07 09:16:42 +01:00
Søren Theilgaard
c5a719b176 microsoft labels 2021-11-05 21:32:25 +01:00
Søren Theilgaard
1931973b54 Fixed INSTALL=force no matter the version
If `INSTALL=force` is used, then previously we would need installed version and appNewVersion to be equal for the updateTool to be skipped. Not anymore.
2021-11-05 21:30:26 +01:00
Søren Theilgaard
75addfe8ea Update microsoftoffice365.sh 2021-11-05 21:12:34 +01:00
Søren Theilgaard
15f2add5e1 Updated msupdate call
Separate lines for running `msupdate --list` before running the update tool, but currently it runs if just msupdate exist, and not only if we run the updateTool.
2021-11-05 20:46:37 +01:00
Søren Theilgaard
76749bb518 eshareosx label 2021-11-05 20:03:50 +01:00
Søren Theilgaard
ca6614f591 Update logseq.sh
By using variable `archiveName` we can let Installomator find the right archive in the github list of possibilities. I think this is a more cleaner approach.
2021-11-05 19:49:35 +01:00
Søren Theilgaard
396dbd745a Merge pull request #304 from p-venkman/wacomdrivers
Added a label for Wacom Tablet drivers.
2021-11-05 09:43:27 +01:00
Søren Theilgaard
2d0b4992a0 Merge pull request #292 from adibue/adibue-mattermost-patch
Mattermost: Updated 'archiveName' for i386
2021-11-05 09:41:03 +01:00
Søren Theilgaard
f194e62d64 Merge pull request #286 from jnichols35/label-closeio
label closeio.sh
2021-11-05 09:40:34 +01:00
Søren Theilgaard
8bc22afe12 Merge pull request #290 from Installomator/Microsoft-update-tool
microsoft updateTool updates
2021-11-05 09:39:46 +01:00
Søren Theilgaard
6875084ca3 Merge pull request #293 from Installomator/zohoworkdrivetruesync
Create zohoworkdrivetruesync.sh
2021-11-05 09:36:22 +01:00
Søren Theilgaard
1d5c6d1812 Merge pull request #298 from Installomator/steelseries
steelseriesengine
2021-11-05 09:31:52 +01:00
Søren Theilgaard
1b85882aa7 Merge pull request #299 from Installomator/Xink
Update xink.sh
2021-11-05 09:31:29 +01:00
Søren Theilgaard
94ea6bb449 Merge pull request #300 from Installomator/MacPorts
macports
2021-11-05 09:31:15 +01:00
Søren Theilgaard
dfa5df4f50 Merge pull request #301 from Installomator/canva-label
canva label
2021-11-05 09:31:01 +01:00
Søren Theilgaard
819d1ec7c4 remotix labels
```
% /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r remotix
2021-11-04 15:27:36 remotix ################## Start Installomator v. 0.8.0
2021-11-04 15:27:36 remotix ################## remotix
2021-11-04 15:27:36 remotix BLOCKING_PROCESS_ACTION=tell_user
2021-11-04 15:27:36 remotix NOTIFY=success
2021-11-04 15:27:36 remotix LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-04 15:27:36 remotix no blocking processes defined, using Remotix as default
2021-11-04 15:27:36 remotix Changing directory to /Users/st/Documents/GitHub/Installomator/build
2021-11-04 15:27:37 remotix App(s) found:
2021-11-04 15:27:37 remotix could not find Remotix.app
2021-11-04 15:27:37 remotix appversion:
2021-11-04 15:27:37 remotix Latest version of Remotix is 6.4.2
2021-11-04 15:27:37 remotix Downloading https://remotix.com/downloads/latest-remotix-mac/ to Remotix.dmg
2021-11-04 15:27:54 remotix DEBUG mode, not checking for blocking processes
2021-11-04 15:27:54 remotix Installing Remotix
2021-11-04 15:27:54 remotix Mounting /Users/st/Documents/GitHub/Installomator/build/Remotix.dmg
2021-11-04 15:27:58 remotix Mounted: /Volumes/Remotix
2021-11-04 15:27:58 remotix Verifying: /Volumes/Remotix/Remotix.app
2021-11-04 15:28:06 remotix Team ID matching: K293Y6CVN4 (expected: K293Y6CVN4 )
2021-11-04 15:28:06 remotix Downloaded version of Remotix is 6.4.2 (replacing version ).
2021-11-04 15:28:06 remotix DEBUG enabled, skipping remove, copy and chown steps
2021-11-04 15:28:06 remotix Finishing…
2021-11-04 15:28:16 remotix App(s) found:
2021-11-04 15:28:16 remotix could not find Remotix.app
2021-11-04 15:28:16 remotix Installed Remotix
2021-11-04 15:28:16 remotix notifying
2021-11-04 15:28:17 remotix Unmounting /Volumes/Remotix
"disk5" ejected.
2021-11-04 15:28:17 remotix DEBUG mode, not reopening anything
2021-11-04 15:28:17 remotix ################## End Installomator, exit code 0

% /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r remotixagent
2021-11-04 15:28:37 remotixagent ################## Start Installomator v. 0.8.0
2021-11-04 15:28:37 remotixagent ################## remotixagent
2021-11-04 15:28:37 remotixagent BLOCKING_PROCESS_ACTION=tell_user
2021-11-04 15:28:37 remotixagent NOTIFY=success
2021-11-04 15:28:37 remotixagent LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-04 15:28:37 remotixagent no blocking processes defined, using RemotixAgent as default
2021-11-04 15:28:37 remotixagent Changing directory to /Users/st/Documents/GitHub/Installomator/build
2021-11-04 15:28:38 remotixagent No version found using packageID com.nulana.rxagentmac
2021-11-04 15:28:38 remotixagent App(s) found:
2021-11-04 15:28:38 remotixagent could not find RemotixAgent.app
2021-11-04 15:28:38 remotixagent appversion:
2021-11-04 15:28:38 remotixagent Latest version of RemotixAgent is 1.5.15
2021-11-04 15:28:38 remotixagent Downloading https://remotix.com/downloads/latest-agent-mac/ to RemotixAgent.pkg
2021-11-04 15:28:50 remotixagent DEBUG mode, not checking for blocking processes
2021-11-04 15:28:50 remotixagent Installing RemotixAgent
2021-11-04 15:28:51 remotixagent Verifying: RemotixAgent.pkg
2021-11-04 15:28:51 remotixagent Team ID: K293Y6CVN4 (expected: K293Y6CVN4 )
2021-11-04 15:28:51 remotixagent DEBUG enabled, skipping installation
2021-11-04 15:28:51 remotixagent Finishing…
2021-11-04 15:29:01 remotixagent No version found using packageID com.nulana.rxagentmac
2021-11-04 15:29:01 remotixagent App(s) found:
2021-11-04 15:29:01 remotixagent could not find RemotixAgent.app
2021-11-04 15:29:01 remotixagent Installed RemotixAgent
2021-11-04 15:29:01 remotixagent notifying
2021-11-04 15:29:02 remotixagent DEBUG mode, not reopening anything
2021-11-04 15:29:02 remotixagent ################## End Installomator, exit code 0
```
2021-11-04 15:34:26 +01:00
p-venkman
ecdf502ba8 Added a label for Wacom Tablet drivers. 2021-11-03 23:07:55 +01:00
Søren Theilgaard
32c3dff48d canva label
Improvements to the `buildLabel.sh` script. It can try better to download the software and might show better headers for versioning.
```
sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r canva DEBUG=0 NOTIFY=all
Password:
2021-11-02 20:19:20 canva setting variable from argument DEBUG=0
2021-11-02 20:19:20 canva setting variable from argument NOTIFY=all
2021-11-02 20:19:20 canva ################## Start Installomator v. 0.8.0
2021-11-02 20:19:20 canva ################## canva
2021-11-02 20:19:21 canva BLOCKING_PROCESS_ACTION=tell_user
2021-11-02 20:19:21 canva NOTIFY=all
2021-11-02 20:19:21 canva LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-02 20:19:21 canva no blocking processes defined, using Canva as default
2021-11-02 20:19:21 canva Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.YfHnGeSB
2021-11-02 20:19:21 canva App(s) found:
2021-11-02 20:19:21 canva could not find Canva.app
2021-11-02 20:19:21 canva appversion:
2021-11-02 20:19:21 canva Latest version of Canva is 1.34
2021-11-02 20:19:21 canva Downloading https://desktop-release.canva.com/Canva-1.34.0-arm64.dmg to Canva.dmg
2021-11-02 20:19:21 canva notifying
2021-11-02 20:19:29 canva no more blocking processes, continue with update
2021-11-02 20:19:29 canva Installing Canva
2021-11-02 20:19:29 canva notifying
2021-11-02 20:19:29 canva Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.YfHnGeSB/Canva.dmg
2021-11-02 20:19:32 canva Mounted: /Volumes/Canva 1.34.0-arm64
2021-11-02 20:19:32 canva Verifying: /Volumes/Canva 1.34.0-arm64/Canva.app
2021-11-02 20:19:33 canva Team ID matching: 5HD2ARTBFS (expected: 5HD2ARTBFS )
2021-11-02 20:19:33 canva Downloaded version of Canva is 1.34.0 (replacing version ).
2021-11-02 20:19:33 canva Copy /Volumes/Canva 1.34.0-arm64/Canva.app to /Applications
2021-11-02 20:19:34 canva Changing owner to st
2021-11-02 20:19:34 canva Finishing…
2021-11-02 20:19:44 canva App(s) found: /Applications/Canva.app
2021-11-02 20:19:44 canva found app at /Applications/Canva.app, version 1.34.0
2021-11-02 20:19:44 canva Installed Canva, version 1.34.0
2021-11-02 20:19:44 canva notifying
2021-11-02 20:19:45 canva Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.YfHnGeSB
2021-11-02 20:19:45 canva Unmounting /Volumes/Canva 1.34.0-arm64
"disk4" ejected.
2021-11-02 20:19:45 canva App not closed, so no reopen.
2021-11-02 20:19:45 canva ################## End Installomator, exit code 0
```
2021-11-02 21:27:53 +01:00
Søren Theilgaard
480b49adb8 macports
Added a bit to explanation of archiveName variable.
```
sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r macports DEBUG=0 INSTALL=force
Password:
2021-11-02 09:55:12 macports setting variable from argument DEBUG=0
2021-11-02 09:55:12 macports setting variable from argument INSTALL=force
2021-11-02 09:55:12 macports ################## Start Installomator v. 0.8.0
2021-11-02 09:55:12 macports ################## macports
2021-11-02 09:55:13 macports BLOCKING_PROCESS_ACTION=tell_user
2021-11-02 09:55:13 macports NOTIFY=success
2021-11-02 09:55:14 macports LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-02 09:55:14 macports no blocking processes defined, using MacPorts as default
2021-11-02 09:55:14 macports Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.4KnOGDkl
2021-11-02 09:55:14 macports Custom App Version detection is used, found 2.7.1
2021-11-02 09:55:14 macports appversion: 2.7.1
2021-11-02 09:55:14 macports Latest version of MacPorts is 2.7.1
2021-11-02 09:55:14 macports There is no newer version available.
2021-11-02 09:55:14 macports Using force to install anyway. Not using updateTool.
2021-11-02 09:55:14 macports Downloading https://github.com/macports/macports-base/releases/download/v2.7.1/MacPorts-2.7.1-12-Monterey.pkg to Monterey.pkg
2021-11-02 09:55:15 macports no more blocking processes, continue with update
2021-11-02 09:55:15 macports Installing MacPorts
2021-11-02 09:55:16 macports Verifying: Monterey.pkg
2021-11-02 09:55:16 macports Team ID: QTA3A3B7F3 (expected: QTA3A3B7F3 )
2021-11-02 09:55:16 macports Installing Monterey.pkg to /
installer: Package name is MacPorts
installer: Upgrading at base path /
installer: The upgrade was successful.
2021-11-02 09:56:03 macports Finishing…
2021-11-02 09:56:13 macports Custom App Version detection is used, found 2.7.1
2021-11-02 09:56:13 macports Installed MacPorts, version 2.7.1
2021-11-02 09:56:13 macports notifying
2021-11-02 09:56:14 macports Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.4KnOGDkl
2021-11-02 09:56:14 macports App not closed, so no reopen.
2021-11-02 09:56:14 macports ################## End Installomator, exit code 0
```
2021-11-02 10:00:26 +01:00
Søren Theilgaard
2c9085c0c5 Update zohoworkdrivetruesync.sh 2021-11-01 10:38:20 +01:00
Søren Theilgaard
4aa7993dc2 Update xink.sh 2021-10-29 20:02:23 +02:00
Søren Theilgaard
b0ee820828 steelseriesengine 2021-10-29 13:42:47 +02:00
Søren Theilgaard
b017b7bae9 Merge pull request #297 from Installomator/Strongsync
strongsync
2021-10-29 08:50:00 +02:00
Søren Theilgaard
885dcf1622 strongsync
```
% sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r strongsync DEBUG=0
2021-10-28 19:40:43 strongsync setting variable from argument DEBUG=0
2021-10-28 19:40:43 strongsync ################## Start Installomator v. 0.8.0
2021-10-28 19:40:43 strongsync ################## strongsync
2021-10-28 19:40:44 strongsync BLOCKING_PROCESS_ACTION=tell_user
2021-10-28 19:40:44 strongsync NOTIFY=success
2021-10-28 19:40:44 strongsync LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-10-28 19:40:44 strongsync no blocking processes defined, using Strongsync as default
2021-10-28 19:40:44 strongsync Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.1bFmmj9p
2021-10-28 19:40:45 strongsync App(s) found:
2021-10-28 19:40:45 strongsync could not find Strongsync.app
2021-10-28 19:40:45 strongsync appversion:
2021-10-28 19:40:45 strongsync Latest version of Strongsync is 2021.9.1
2021-10-28 19:40:45 strongsync Downloading https://updates.expandrive.com/apps/strongsync/v/2021-9-1/download.dmg to Strongsync.dmg
2021-10-28 19:40:47 strongsync no more blocking processes, continue with update
2021-10-28 19:40:47 strongsync Installing Strongsync
2021-10-28 19:40:47 strongsync Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.1bFmmj9p/Strongsync.dmg
2021-10-28 19:40:51 strongsync Mounted: /Volumes/Strongsync 1
2021-10-28 19:40:51 strongsync Verifying: /Volumes/Strongsync 1/Strongsync.app
2021-10-28 19:40:52 strongsync Team ID matching: CH86M498V4 (expected: CH86M498V4 )
2021-10-28 19:40:52 strongsync Downloaded version of Strongsync is 2021.9.1 (replacing version ).
2021-10-28 19:40:52 strongsync Copy /Volumes/Strongsync 1/Strongsync.app to /Applications
2021-10-28 19:40:52 strongsync Changing owner to st
2021-10-28 19:40:52 strongsync Finishing…
2021-10-28 19:41:02 strongsync App(s) found: /Applications/Strongsync.app
2021-10-28 19:41:02 strongsync found app at /Applications/Strongsync.app, version 2021.9.1
2021-10-28 19:41:02 strongsync Installed Strongsync, version 2021.9.1
2021-10-28 19:41:02 strongsync notifying
2021-10-28 19:41:03 strongsync Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.1bFmmj9p
2021-10-28 19:41:03 strongsync Unmounting /Volumes/Strongsync 1
"disk5" ejected.
2021-10-28 19:41:03 strongsync App not closed, so no reopen.
2021-10-28 19:41:03 strongsync ################## End Installomator, exit code 0

% sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r strongsync DEBUG=0
2021-10-28 19:41:27 strongsync setting variable from argument DEBUG=0
2021-10-28 19:41:27 strongsync ################## Start Installomator v. 0.8.0
2021-10-28 19:41:27 strongsync ################## strongsync
2021-10-28 19:41:28 strongsync BLOCKING_PROCESS_ACTION=tell_user
2021-10-28 19:41:28 strongsync NOTIFY=success
2021-10-28 19:41:28 strongsync LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-10-28 19:41:28 strongsync no blocking processes defined, using Strongsync as default
2021-10-28 19:41:28 strongsync Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.H3bgidQy
2021-10-28 19:41:28 strongsync App(s) found: /Applications/Strongsync.app
2021-10-28 19:41:28 strongsync found app at /Applications/Strongsync.app, version 2021.9.1
2021-10-28 19:41:28 strongsync appversion: 2021.9.1
2021-10-28 19:41:28 strongsync Latest version of Strongsync is 2021.9.1
2021-10-28 19:41:28 strongsync There is no newer version available.
2021-10-28 19:41:28 strongsync Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.H3bgidQy
2021-10-28 19:41:28 strongsync App not closed, so no reopen.
2021-10-28 19:41:28 strongsync ################## End Installomator, exit code 0
```
2021-10-28 19:44:15 +02:00
Søren Theilgaard
272e2738b5 Merge pull request #282 from Installomator/MDM-scripts
MDM scripts
2021-10-28 19:11:09 +02:00
Søren Theilgaard
dfb7d42d95 Merge pull request #287 from Installomator/typora-label
typora label
2021-10-28 19:09:43 +02:00
Søren Theilgaard
bf00b864f0 zsh 2021-10-28 14:35:20 +02:00
Søren Theilgaard
77567cdf4e Update MDMAddigy CustomSoftware.sh 2021-10-28 13:46:16 +02:00
Søren Theilgaard
57f53c647e Create zohoworkdrivetruesync.sh
Hold this branch, it needs to be fully working, and the ARM version out of beta before its usable.
2021-10-28 13:27:08 +02:00
Adrian Bühler
4abe614300 Updated 'archiveName' for i386
The 'archiveName' for i386 has been changed to 'mac-x64.dmg'
2021-10-25 09:15:02 +02:00
Søren Theilgaard
709a787805 microsoft updateTool updates
All Microsoft labels with `updateTool` variable is updated to list updates first. That should help.
2021-10-22 16:59:46 +02:00
Søren Theilgaard
b0963fdfb9 and pandoc
pandoc expands the supported documents formats for Typora.
```
% sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r typora DEBUG=0
Password:
2021-10-22 14:45:06 typora setting variable from argument DEBUG=0
2021-10-22 14:45:07 typora ################## Start Installomator v. 0.8.0
2021-10-22 14:45:07 typora ################## typora
2021-10-22 14:45:07 typora BLOCKING_PROCESS_ACTION=tell_user
2021-10-22 14:45:07 typora NOTIFY=success
2021-10-22 14:45:07 typora LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-10-22 14:45:07 typora no blocking processes defined, using Typora as default
2021-10-22 14:45:07 typora Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.TQsw3wTi
2021-10-22 14:45:07 typora App(s) found: /Applications/Typora.app
2021-10-22 14:45:07 typora found app at /Applications/Typora.app, version 0.11.11
2021-10-22 14:45:07 typora appversion: 0.11.11
2021-10-22 14:45:07 typora Latest version of Typora is 0.11.11
2021-10-22 14:45:07 typora There is no newer version available.
2021-10-22 14:45:07 typora Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.TQsw3wTi
2021-10-22 14:45:07 typora App not closed, so no reopen.
2021-10-22 14:45:07 typora ################## End Installomator, exit code 0

% sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r pandoc DEBUG=0
2021-10-22 14:45:22 pandoc setting variable from argument DEBUG=0
2021-10-22 14:45:22 pandoc ################## Start Installomator v. 0.8.0
2021-10-22 14:45:22 pandoc ################## pandoc
2021-10-22 14:45:22 pandoc BLOCKING_PROCESS_ACTION=tell_user
2021-10-22 14:45:22 pandoc NOTIFY=success
2021-10-22 14:45:22 pandoc LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-10-22 14:45:22 pandoc no blocking processes defined, using Pandoc as default
2021-10-22 14:45:22 pandoc Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.mzeYX3Fz
2021-10-22 14:45:22 pandoc found packageID net.johnmacfarlane.pandoc installed, version 2.14.2
2021-10-22 14:45:22 pandoc appversion: 2.14.2
2021-10-22 14:45:22 pandoc Latest version of Pandoc is 2.14.2
2021-10-22 14:45:22 pandoc There is no newer version available.
2021-10-22 14:45:22 pandoc Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.mzeYX3Fz
2021-10-22 14:45:22 pandoc App not closed, so no reopen.
2021-10-22 14:45:22 pandoc ################## End Installomator, exit code 0

% sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r pandoc DEBUG=0 INSTALL=force
2021-10-22 14:45:34 pandoc setting variable from argument DEBUG=0
2021-10-22 14:45:34 pandoc setting variable from argument INSTALL=force
2021-10-22 14:45:34 pandoc ################## Start Installomator v. 0.8.0
2021-10-22 14:45:34 pandoc ################## pandoc
2021-10-22 14:45:35 pandoc BLOCKING_PROCESS_ACTION=tell_user
2021-10-22 14:45:35 pandoc NOTIFY=success
2021-10-22 14:45:35 pandoc LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-10-22 14:45:35 pandoc no blocking processes defined, using Pandoc as default
2021-10-22 14:45:35 pandoc Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.3tj6vSeW
2021-10-22 14:45:35 pandoc found packageID net.johnmacfarlane.pandoc installed, version 2.14.2
2021-10-22 14:45:35 pandoc appversion: 2.14.2
2021-10-22 14:45:35 pandoc Latest version of Pandoc is 2.14.2
2021-10-22 14:45:35 pandoc There is no newer version available.
2021-10-22 14:45:35 pandoc Using force to install anyway. Not using updateTool.
2021-10-22 14:45:35 pandoc Downloading https://github.com/jgm/pandoc/releases/download/2.14.2/pandoc-2.14.2-macOS.pkg to mac.pkg
2021-10-22 14:45:39 pandoc no more blocking processes, continue with update
2021-10-22 14:45:39 pandoc Installing Pandoc
2021-10-22 14:45:39 pandoc Verifying: mac.pkg
2021-10-22 14:45:39 pandoc Team ID: 5U2WKE6DES (expected: 5U2WKE6DES )
2021-10-22 14:45:39 pandoc Checking package version.
2021-10-22 14:45:40 pandoc Downloaded package net.johnmacfarlane.pandoc version 2.14.2
2021-10-22 14:45:40 pandoc Downloaded version of Pandoc is the same as installed.
2021-10-22 14:45:40 pandoc Using force to install anyway.
2021-10-22 14:45:40 pandoc Installing mac.pkg to /
installer: Package name is pandoc
installer: Upgrading at base path /
installer: The upgrade was successful.
2021-10-22 14:45:51 pandoc Finishing…
2021-10-22 14:46:01 pandoc found packageID net.johnmacfarlane.pandoc installed, version 2.14.2
2021-10-22 14:46:01 pandoc Installed Pandoc, version 2.14.2
2021-10-22 14:46:01 pandoc notifying
2021-10-22 14:46:02 pandoc Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.3tj6vSeW
2021-10-22 14:46:02 pandoc App not closed, so no reopen.
2021-10-22 14:46:02 pandoc ################## End Installomator, exit code 0
```
2021-10-22 14:46:41 +02:00
Jake
22499f5d98 create logseq.sh 2021-10-21 10:03:01 -04:00
Søren Theilgaard
503396597e typora 2021-10-21 08:56:29 +02:00
Jake
df7e98e0f2 create closeio.sh 2021-10-20 13:42:23 -04:00
Jake
85800fc41f create superhuman.sh 2021-10-20 12:00:23 -04:00
Adam Codega
cfa0d90725 Merge pull request #276 from dan-snelson/dev
Removed extra space
2021-10-20 10:05:57 -04:00
Adam Codega
7e76913add Merge pull request #280 from Installomator/Installomator-label
installomator label
2021-10-20 10:05:20 -04:00
Adam Codega
4f8f69bf76 Merge pull request #281 from Installomator/exifrenamer
exifrenamer
2021-10-19 14:45:22 -04:00
Adam Codega
0d4344e655 Merge pull request #284 from Installomator/apparency-version
Update apparency.sh
2021-10-19 14:44:29 -04:00
Adam Codega
316c223346 Merge pull request #283 from Installomator/airserver-version
Update airserver.sh
2021-10-19 14:44:03 -04:00
Søren Theilgaard
921ba0f79e Removal script 2021-10-19 15:16:20 +02:00
Søren Theilgaard
98b93f1b61 my fork end
So no matter the call, it should install this version.
2021-10-19 15:00:03 +02:00
Søren Theilgaard
b54313a4b2 Update apparency.sh
`appNewVersion` on apparency.
2021-10-19 13:36:01 +02:00
Søren Theilgaard
3792d0d151 Update airserver.sh
`appNewVersion`on airserver.
2021-10-19 13:34:15 +02:00
Søren Theilgaard
638dac575d MDM scripts 2021-10-19 12:55:35 +02:00
Søren Theilgaard
9e1f8f491d MDM scripts
These scripts are great starting points for Mosyle and Addigy, and maybe other solutions as well.
2021-10-19 11:50:53 +02:00
Søren Theilgaard
4a79790d30 exifrenamer 2021-10-19 11:33:17 +02:00
Søren Theilgaard
d49508284f installomator label 2021-10-19 09:19:34 +02:00
Raptor399
cfdb884818 Setting no default IGNORE_DND_APPS with example in comments.
As per the discussion in the pull request.
2021-10-18 16:12:44 +02:00
Sam Ess
7d59b37bf3 Move root user check forward, add debug mode 2
Moved the root user check to the beginning of the script, but added in debug
mode 2 to allow for the kinds of testing you used to be able to do when running
the program in debug 0 as a non-root user.  Resolves issue 88
2021-10-16 19:21:02 -04:00
Sam Ess
d402f46c3c Fixed printlog issue 2021-10-16 19:17:06 -04:00
Sam Ess
c85a7a1fba Add in missing fi
Close check for root loop -_-
2021-10-16 19:03:29 -04:00
Sam Ess
b6bc0b1269 Add debug mode 2
Restores functionality of running script as a non-root user for testing purposes.
Resolves issue #88
2021-10-16 18:46:36 -04:00
Sam Ess
cbb1e08e26 Move root user check forward
Root user check is now moved from the installation function to main. The new
location is after parsing the label but before printing the log for blocking
process and notify settings.  This prevents a downloading an application
that can't be installed.
Resolves issue #88
2021-10-16 16:42:56 -04:00
XoMute
918005477b Removed 'version' check in case expression 2021-10-16 14:45:38 +03:00
XoMute
25af719e20 Added separate check for 'version' argument 2021-10-16 14:42:54 +03:00
Dan K. Snelson
e46dbe7ad3 Removed extra space 2021-10-15 12:20:04 -06:00
Armin Briegel
dfd9ab1071 Merge branch 'dev' of github.com:Installomator/Installomator into dev 2021-10-15 17:41:46 +02:00
Armin Briegel
ea9c77045f fixed a typo 2021-10-15 17:41:40 +02:00
Adam Codega
d0e0f3e060 Minor changes to verbiage around submitting issues 2021-10-15 08:58:21 -04:00
Søren Theilgaard
e93ecb52de Merge branch 'dev' of https://github.com/Installomator/Installomator into dev 2021-10-14 21:42:11 +02:00
Søren Theilgaard
43aa0a835c CONTRIBUTING.md 2021-10-14 21:37:05 +02:00
Armin Briegel
7af1ce554e updated version 2021-10-14 16:39:11 +02:00
Raptor399
9e2fa65670 Added option to not interrupt Do Not Disturb full screen apps like KeyNote or Zoom 2021-10-12 12:14:29 +02:00
Stephen Boyle
ce25012973 Dont download pkg if we are set to silent_fail and there is blocking process
Fixes issue where installomator will repeatedly download the pkg each run when set to silent_fail and a blockingprocess is present.
2021-05-17 16:20:21 -04:00
180 changed files with 4855 additions and 1041 deletions

View File

@@ -1,9 +1,88 @@
## v9.1
**Note**: Both Google and Mozilla recommend using the pkg installers instead of the dmg downloads for managed deployments. So far, Installomator has provided labels for both. (`googlechrome` and `googlechromepkg` or `firefox` and `firefoxpkg`, respectively) Since there are problems with the dmg downloads, a future release of Installomator will _disable_ the `firefox` and `googlechrome` dmg labels. You should switch to using the respective pkg labels instead.
- added option for Microsoft Endpoint Manager (Intune) to `LOGO` (#446)
- minor fixes (#427, #434, #436)
- the `googlechrome` label now always downloads the universal version (#430)
- new labels:
- 1passwordcli (#429)
- amazoncorretto8jdk (#423)
- autodeskfusion360admininstall (#447)
- axurerp10 (#439)
- calcservice (#426)
- clipy (#412)
- dockutil (#432)
- easyfind (#426)
- grammarly (#444)
- houdahspot (#426)
- macadminspython (#431)
- microsoftazuredatastudio (#438)
- nanosaur (#426)
- tembo (#426)
- wordservice (#426)
- xmenu (#426)
- updated labels:
- appcleaner (#428)
- dialog (#435, #437)
- googlechrome (#430)
- microsoftdefender (#440)
- supportapp (#426)
- zoom and zoomgov (#426, #433)
## v9.0.1
- improved logging levels throughout the script #408
- fixed a bug for `pkgindmg` style labels #408
- changed the criteria used to locate an app in the case the it cannot be found in the default locations, this should help with some apps with similar name (Virtual Box and Box Drive, #401) #413
- new label: WhiteBox Packages (`packages`) #415
- modified label: `loom` (added Apple silicon download) #417
## v9
- We have moved the root check to the beginning of the script, and improved DEBUG handling with two different modes. `DEBUG=0` is still for production, and `1` is still for the DEBUG we previously knew downloading to the directory it is running from, but `2` will download to temporary folder, will detect updates, but will not install anything, but it will notify the user (almost as running the script without root before).
- Added option to not interrupt Do Not Disturb full screen apps like Keynote or Zoom with `INTERRUPT_DND="no"`. Default is `"yes"` which is how it has worked until now.
- `pkgName` in a label can now be searched for. An example is logitechoptions, where only the name of the pkg is given, and not the exact file path to it.
- `LSMinimumSystemVersion` will now be honered, if the `Info.plist` in the app is specifying this. That means that an app that has this parameter in that file and it shows that the app requires a newer version of the OS than is currently installed, then we will not install it.
- New variable `RETURN_LABEL_NAME`. If given the value `1`, like `RETURN_LABEL_NAME=1` then Installomator only returns the name of the label. It makes for a better user friendly message for displaying in DEPNotify if that is integrated.
- Changed logic if `IGNORE_APP_STORE_APPS=yes`. Before this version a label like `microsoftonedrive` that was installed from App Store, and that we want to replace with the “ordinary” version, Installomator would still use `updateTool`, even though `IGNORE_APP_STORE_APPS=yes`. So we would have to have `INSTALL=force` in order to have the app replaced, as `updateTool` would be used. But now if `IGNORE_APP_STORE_APPS=yes` then `updateTool` will be not set, and the App Store app will be replaced. BUT if the installed software was not from App Store, then `updateTool` will not be used, and it would be a kind of a forced install (in the example of `microsoftonedrive`), except if the version is the same (where installation is skipped).
- Added variable `SYSTEMOWNER` that is used when copying files when installing. Default `0` is to change owner of the app to the current user on the Mac, like this user was installing this app themselves. When using `1` we will put “root:wheel” on the app, which can be useful for shared machines.
- Added option `curlOptions` to the labels. It can be filled with extra headers need for downloading the specific software. It needs to be an array, like `curlOptions=( )`. See “mocha”-software-labels.
Big changes to logging:
- Introducing variable `LOGGING`, that can be either of the logging levels
- Logging levels:
0: DEBUG Everything is logged
1: INFO Normal logging behavior
2: WARN
3: ERROR
4: REQ
- External logging to Datadog
- A function to shorten duplicate lines in installation logs or output of longer commands
- Ability to extract install.log in the time when Installomator was running, if further investigations needs to be done to logs
Fixes:
- Fixed a problem with pkgs: If they were mounted with .pkg in the name, then we would find the directory and not the pkg file itself.
- Minor fix for a check for a pkgName on a DMG. We used `ls` that would throw an error when not found, so the check was corrected.
## v8.0
- removed leading `0` from the version because it has lost all meaning (thanks to @grahampugh for the inspiration)
- Installomator now detects when an app is already installed, and will display notifications correctly the user based on if the app was updated or installed for the first time.
- New variables for labels that should be installed using CLI: `CLIInstaller` and `CLIArguments`. When the installer app is named differently than the installed app, then the variable `installerTool` should be used to name the app that should be located in the DMG or zip. See the label __adobecreativeclouddesktop__ to see its use.
- `buildLabel.sh` has been improved to build GitHub software labels much easier. In essense if the URL contains github.com, then it will try to find if it's the latest version or if variable `archiveName` is needed for finding the software. Also improved messaging throughout the script, as well as handling a situation where a pkg does not include a “Distribution” file, but a “PackageInfo”.
- MDM script extended with `caffeinate` so Mac will not go to sleep during the time it takes installomator to run. Especially during setup, this can be useful.
- Microsoft labels with `updateTool` variable, is updated to run `msupdate --list` before running the updateTool directly. Problems have been reported that the update would fail if the `--list` parameter for the command was not run first. This should help with the Jamf agent stalling during installation.
- Added bunch of new labels, and improved others.
## v0.7
- default for `BLOCKING_PROCESS_ACTION`is now `BLOCKING_PROCESS_ACTION=tell_user` and not `prompt_user`. It will demand the user to quit the app to get it updated, and not present any option to skip it. In considering various use cases in different MDM solutions this is the best option going forward. Users usually choose to update, and is most often not bothered much with this information. If it's absoultely a bad time, then they can move the dialog box to the side, and click it when ready.
- script is now assembled from fragments. This helps avoid merging conflicts on git and allows the core team to work on the script logic while also accepting new labels. See the "Assemble Script ReadMe" for details.
- We now detect App Store installed apps, and we do not replace them automatically. An example is Slack that will loose all settings if it is suddenly changed from App Store version to the "web" version (they differ in the handling of settings files). If `INSTALL=force` then we will replace the App Store app. We log all this.
- Change in finding installed apps. We now look in /Applications and /Applications/Utilities first. If not found there, we use spotligt to find it. (We discovered a problem when a user has Parallels Windows installed with Microsoft Edge in it. Then Installomator wanted to update the app all the time, becaus spotligt found that Windows version of the app that Parallels created.)
- Change in finding installed apps. We now look in /Applications and /Applications/Utilities first. If not found there, we use spotligt to find it. (We discovered a problem when a user has Parallels Windows installed with Microsoft Edge in it. Then Installomator wanted to update the app all the time, becaus spotlight found that Windows version of the app that Parallels created.)
- Added bunch of new labels, and improved others.
- Renamed `buildCaseStatement.sh` to `buildLabel.sh` and improved it a lot. It is a great start when figuring out how to create a new label for an app, or a piece of software. Look at the tutorials in our wiki.
- Mosyle changed their app name from Business to Self-Service

49
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,49 @@
# Contributing to Installomator
__Please note, that if you are contributing to this project with new labels or other suggestions in PRs, please put your changes in the files below `fragments`-folder. DO NOT edit the full `Installomator.sh` script. The full script is now a build of the fragments, and will be overwritten.__
We try to keep the script as short as possible, and with more than 300 labels, we can save 300 lines in the script, if we do not have credit lines on each of these. So we are thankful for your contribution, but we will be removing these lines in the coming releases.
## Branches
The branch list is as follows:
- `release`: this branch will have the latest released version
- `main`: (default) this branch will be the latest release plus new and updated app labels, and critical bug fixes
- `dev`: this will contain new and updated app labels, as well as any other code changes
there will be other branches for new features and testing
This should allow the contributing team to release minor updates for new and updated app labels while also work on new features for the next major release.
With all the new branches, your local repo may get confused. If you dont have local changes, it is easiest to delete your local repo and re-clone it. If you have local changes you want to preserve, then you should commit those to a local branch, pull the latest changes `git pull --all`, then delete the old master branch: `git branch -d master`.
Make sure you branch off of main for new and updated labels and off of `dev` for other code changes. Thank you for contributing!
## Labels
If you need a new label for a piece of software, please take a look at the tutorials in the Wiki, if those can be helpful for starting out on the creation of the label.
We expect you to try out finding the __version__ of the software online, so that `appNewVersion` can be filled in the label. It helps a lot when the software needs update, and greatly improve user experience.
Please document what you found out about the __version__ of the software if it's not included. We will not accept a new label if this is not documented, we will ask about this if it was not included. This is very important for the quality and reliability of Installomator.
When creating a new label, please file a pull request (PR). And feel free to ask questions or make your comments about what else is needed, if we should take a look at the label, or help out in finding the version or isolating URLs or anything else.
Please include the log of installing this label in the description, like this:
```
% /Users/st/Documents/GitHub/Installomator/utils/assemble.sh software
2021-11-24 10:07:19 software ################## Start Installomator v. 0.8.0
2021-11-24 10:07:19 software ################## software
2021-11-24 10:07:19 software DEBUG mode 1 enabled.
```
Please have one label per PR, so we can separate these. Also if you change/fix a label.
Thank you very much for your contribution!
## Issues
Do not create an issue just when you have a questions, but do file an issue or pull request (PR) for bugs or wrong behavior. Include the full log and include the version of Installomator you're running.
When in doubt, use the MacAdmins.org Slack as described in [README.md](https://github.com/Installomator/Installomator/)

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,11 @@
1password7
1passwordcli
4kvideodownloader
8x8
abstract
adobebrackets
adobeconnect
adobecreativeclouddesktop
adobereaderdc
adobereaderdc-install
adobereaderdc-update
@@ -11,15 +13,18 @@ aircall
airserver
airtame
aldente
alephone
alfred
alttab
amazonchime
amazoncorretto8jdk
amazonworkspaces
androidfiletransfer
anydesk
apparency
appcleaner
applenyfonts
applesfarabic
applesfcompact
applesfmono
applesfpro
@@ -31,11 +36,14 @@ atext
atom
audacity
authydesktop
autodeskfusion360admininstall
autodmg
autopkgr
aviatrix
awscli2
awsvpnclient
axurerp10
azuredatastudio
balenaetcher
balsamiqwireframes
bartender
@@ -49,15 +57,21 @@ boxdrive
boxsync
boxtools
brave
bugdom
caffeine
cakebrew
calcservice
calibre
camostudio
camtasia
canva
chatwork
cisdem-documentreader
citrixworkspace
clevershare2
clickshare
clipy
closeio
cloudya
code42
coderunner
@@ -66,6 +80,7 @@ cormorant
craftmanager
cryptomator
cyberduck
daisydisk
dangerzone
darktable
dbeaverce
@@ -76,21 +91,29 @@ desktoppr
detectxswift
devonthink
dialog
dialpad
discord
diskspace
docker
dockutil
drift
dropbox
easeusdatarecoverywizard
easyfind
egnyte
element
eraseinstall
eshareosx
etrecheck
evernote
exelbanstats
exifrenamer
fantastical
fastscripts
favro
ferdi
figma
findanyfile
firefox
firefox_da
firefox_intl
@@ -99,6 +122,7 @@ firefoxesr_intl
firefoxesrpkg
firefoxpkg
flowjo
flux
front
fsmonitor
gimp
@@ -115,6 +139,7 @@ googlesoftwareupdate
gotomeeting
gpgsuite
gpgsync
grammarly
grandperspective
grasshopper
gyazo
@@ -122,17 +147,22 @@ gyazogif
hancock
handbrake
hazel
houdahspot
hpeasyadmin
hpeasystart
hyper
ibarcoder
icons
iina
imazingprofileeditor
inkscape
insomnia
installomator
installomator_theile
intellijideace
istatmenus
iterm2
itsycal
jabradirect
jamfconnect
jamfconnectconfiguration
@@ -146,6 +176,7 @@ jetbrainsintellijideace
jetbrainsphpstorm
jetbrainspycharm
jetbrainspycharmce
jetbrainsrubymine
jetbrainstoolbox
jetbrainswebstorm
karabinerelements
@@ -162,16 +193,26 @@ launchbar
lexarrecoverytool
libreoffice
logitechoptions
logseq
loom
lowprofile
lucifer
lulu
macadminspython
maccyapp
macfuse
macports
malwarebytes
marathon
marathon2
marathoninfinity
mattermost
menumeters
microsoftautoupdate
microsoftazuredatastudio
microsoftazurestorageexplorer
microsoftcompanyportal
microsoftdefender
microsoftdefenderatp
microsoftedge
microsoftedgeconsumerstable
@@ -192,14 +233,23 @@ microsoftvisualstudiocode
microsoftword
microsoftyammer
miro
mobikinassistantforandroid
mochakeyboard
mochatelnet
mochatn3270
mochatn3812
mochatn5250
montereyblocker
mowgliiitsycal
musescore
muzzle
nanosaur
netnewswire
nextcloud
nomad
nomadlogin
notion
nudge
nvivo
obs
obsidian
@@ -217,7 +267,12 @@ onlyofficedesktop
openvpnconnect
openvpnconnectv3
opera
ottomatic
overflow
pacifist
packages
pandoc
paretosecurity
parsec
pdfsam
perimeter81
@@ -227,16 +282,24 @@ platypus
plisteditpro
postman
prism9
pritunl
privileges
proctortrack
promiseutility
promiseutilityr
protonvpn
proxyman
pycharmce
pymol
r
ramboxce
rancherdesktop
rectangle
redeye
remotedesktopmanagerenterprise
remotedesktopmanagerfree
remotix
remotixagent
resiliosynchome
retrobatch
ricohpsprinters
@@ -254,6 +317,9 @@ scaleft
screamingfrogseospider
screencloudplayer
screenflick
sdnotary
secretive
sequelpro
sfsymbols
shield
sidekick
@@ -262,6 +328,7 @@ silnite
sirimote
sizeup
sketch
sketchupviewer
skype
slack
smartgit
@@ -275,31 +342,42 @@ sonoss2
sourcetree
splashtopsos
spotify
sqlpropostgres
sqlprostudio
steelseriesengine
strongsync
sublimetext
superhuman
supportapp
suspiciouspackage
swiftdialog
swiftruntimeforcommandlinetools
sync
tableaudesktop
tableaupublic
tableaureader
tageditor
talkdeskcallbar
taskpaper
teamviewer
teamviewerhost
teamviewerqs
techsmithcapture
telegram
tembo
textexpander
textmate
theunarchiver
things
thunderbird
tidal
toggltrack
tom4aconverter
torbrowser
trex
tunnelbear
tunnelblick
typora
umbrellaroamingclient
uniconverter
universaltypeclient
@@ -307,6 +385,7 @@ utm
vagrant
vanilla
veracrypt
vimac
virtualbox
viscosity
visualstudiocode
@@ -314,6 +393,7 @@ vivaldi
vlc
vmwarehorizonclient
vscodium
wacomdrivers
wallyezflash
webex
webexmeetings
@@ -322,15 +402,18 @@ whatsapp
wickrme
wickrpro
wireshark
wordservice
wwdc
xeroxphaser7800
xink
xmenu
xquartz
yed
yubikeymanagerqt
zappy
zeplin
zohoworkdrive
zohoworkdrivetruesync
zoom
zoomclient
zoomgov
@@ -338,4 +421,5 @@ zoomrooms
zulujdk11
zulujdk13
zulujdk15
zulujdk17
zulujdk8

169
MDM/App script.sh Executable file
View File

@@ -0,0 +1,169 @@
#!/bin/zsh
# Installation using Installomator
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.
###############################################
# No sleeping
/usr/bin/caffeinate -d -i -m -u &
caffeinatepid=$!
caffexit () {
kill "$caffeinatepid"
pkill caffeinate
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!
echo "Error installing ${what}. Exit code $?"
caffexit $?
fi
echo "[$(DATE)][LOG-END]"
caffexit 0
# notify behavior
# NOTIFY=success
# options:
# - success notify the user on success
# - silent no notifications
# - all all notifications (great for Self Service installation)
# behavior when blocking processes are found
# BLOCKING_PROCESS_ACTION=tell_user
# options:
# - ignore continue even when blocking processes are found
# - quit app will be told to quit nicely, if running
# - quit_kill told to quit twice, then it will be killed
# Could be great for service apps, if they do not respawn
# - silent_fail exit script without prompt or installation
# - prompt_user show a user dialog for each blocking process found
# abort after three attempts to quit
# (only if user accepts to quit the apps, otherwise
# the update is cancelled).
# - prompt_user_then_kill
# show a user dialog for each blocking process found,
# attempt to quit two times, kill the process finally
# - prompt_user_loop
# Like prompt-user, but clicking "Not Now", will just wait an hour,
# and then it will ask again.
# WARNING! It might block the MDM agent on the machine, as
# the scripts gets stuct in waiting until the hour has passed,
# possibly blocking for other management actions in this time.
# - tell_user User will be showed a notification about the important update,
# but user is only allowed to quit and continue, and then we
# ask the app to quit.
# - tell_user_then_kill
# Show dialog 2 times, and if the quitting fails, the
# blocking processes will be killed.
# - kill kill process without prompting or giving the user a chance to save
# logo-icon used in dialog boxes if app is blocking
# LOGO=appstore
# options:
# - appstore Icon is Apple App Store (default)
# - jamf JAMF Pro
# - mosyleb Mosyle Business
# - mosylem Mosyle Manager (Education)
# - addigy Addigy
# path can also be set in the command call, and if file exists, it will be used.
# Like 'LOGO="/System/Applications/App\ Store.app/Contents/Resources/AppIcon.icns"'
# (spaces have to be escaped).
# App Store apps handling
# IGNORE_APP_STORE_APPS=no
# options:
# - no If installed app is from App Store (which include VPP installed apps)
# it will not be touched, no matter it's version (default)
# - yes Replace App Store (and VPP) version of app and handle future
# updates using Installomator, even if latest version.
# Shouldnt give any problems for the user in most cases.
# Known bad example: Slack will loose all settings.
# install behavior
# INSTALL=""
# options:
# - When not set, software will only be installed
# if it is newer/different in version
# - force Install even if its the same version
# Re-opening of closed app
# REOPEN="yes"
# options:
# - yes App wil be reopened if it was closed
# - no App not reopened
########################
# Often used labels:
########################
# firefox
# firefox_intl
# brave
# torbrowser
# googlechrome
# netnewswire
# adobereaderdc
# textmate
# cyberduck
# keka
# theunarchiver
# vlc
# handbrake
# inkscape
# signal
# telegram
# whatsapp
# hazel
# devonthink
# teamviewerqs
# zoom
# malwarebytes
# githubdesktop
# sublimetext
# textmate
# visualstudiocode
# microsoftskypeforbusiness
# microsoftteams
# microsoftyammer
# microsoftedgeenterprisestable
# microsoftedgeconsumerstable
# microsoftsharepointplugin
# microsoftdefenderatp
# googledrivefilestream
# cdef
# desktoppr
# supportapp
# xink
# wwdc

177
MDM/App-loop script.sh Executable file
View File

@@ -0,0 +1,177 @@
#!/bin/zsh
# Installation using Installomator
what="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 " ".
# Script will loop through these labels.
######################################################################
# No sleeping
/usr/bin/caffeinate -d -i -m -u &
caffeinatepid=$!
caffexit () {
kill "$caffeinatepid"
pkill caffeinate
exit $1
}
# 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 $?"
let errorCount++
fi
done
echo
echo "Errors: $errorCount"
echo "[$(DATE)][LOG-END]"
caffexit $errorCount
# notify behavior
# NOTIFY=success
# options:
# - success notify the user on success
# - silent no notifications
# - all all notifications (great for Self Service installation)
# behavior when blocking processes are found
# BLOCKING_PROCESS_ACTION=tell_user
# options:
# - ignore continue even when blocking processes are found
# - quit app will be told to quit nicely, if running
# - quit_kill told to quit twice, then it will be killed
# Could be great for service apps, if they do not respawn
# - silent_fail exit script without prompt or installation
# - prompt_user show a user dialog for each blocking process found
# abort after three attempts to quit
# (only if user accepts to quit the apps, otherwise
# the update is cancelled).
# - prompt_user_then_kill
# show a user dialog for each blocking process found,
# attempt to quit two times, kill the process finally
# - prompt_user_loop
# Like prompt-user, but clicking "Not Now", will just wait an hour,
# and then it will ask again.
# WARNING! It might block the MDM agent on the machine, as
# the scripts gets stuct in waiting until the hour has passed,
# possibly blocking for other management actions in this time.
# - tell_user User will be showed a notification about the important update,
# but user is only allowed to quit and continue, and then we
# ask the app to quit.
# - tell_user_then_kill
# Show dialog 2 times, and if the quitting fails, the
# blocking processes will be killed.
# - kill kill process without prompting or giving the user a chance to save
# logo-icon used in dialog boxes if app is blocking
# LOGO=appstore
# options:
# - appstore Icon is Apple App Store (default)
# - jamf JAMF Pro
# - mosyleb Mosyle Business
# - mosylem Mosyle Manager (Education)
# - addigy Addigy
# path can also be set in the command call, and if file exists, it will be used.
# Like 'LOGO="/System/Applications/App\ Store.app/Contents/Resources/AppIcon.icns"'
# (spaces have to be escaped).
# App Store apps handling
# IGNORE_APP_STORE_APPS=no
# options:
# - no If installed app is from App Store (which include VPP installed apps)
# it will not be touched, no matter it's version (default)
# - yes Replace App Store (and VPP) version of app and handle future
# updates using Installomator, even if latest version.
# Shouldnt give any problems for the user in most cases.
# Known bad example: Slack will loose all settings.
# install behavior
# INSTALL=""
# options:
# - When not set, software will only be installed
# if it is newer/different in version
# - force Install even if its the same version
# Re-opening of closed app
# REOPEN="yes"
# options:
# - yes App wil be reopened if it was closed
# - no App not reopened
########################
# Often used labels:
########################
# firefox
# firefox_intl
# brave
# torbrowser
# googlechrome
# netnewswire
# adobereaderdc
# textmate
# cyberduck
# keka
# theunarchiver
# vlc
# handbrake
# inkscape
# signal
# telegram
# whatsapp
# hazel
# devonthink
# teamviewerqs
# zoom
# malwarebytes
# githubdesktop
# sublimetext
# textmate
# visualstudiocode
# microsoftskypeforbusiness
# microsoftteams
# microsoftyammer
# microsoftedgeenterprisestable
# microsoftedgeconsumerstable
# microsoftsharepointplugin
# microsoftdefenderatp
# googledrivefilestream
# cdef
# desktoppr
# supportapp
# xink
# wwdc

44
MDM/Installomator update.sh Executable file
View File

@@ -0,0 +1,44 @@
#!/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
# No sleeping
/usr/bin/caffeinate -d -i -m -u &
caffeinatepid=$!
caffexit () {
kill "$caffeinatepid"
pkill caffeinate
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} 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 $?
fi
echo "[$(DATE)][LOG-END]"
caffexit 0

100
MDM/MDMAddigy CustomSoftware.sh Executable file
View File

@@ -0,0 +1,100 @@
#!/bin/zsh
# Specific settings in Addigy to configure Custom Software for installomator.
# Addigy has 3 parts to fill out for this, Installation script, Condition, and Removal steps (see RemoveInstallomator.sh).
# 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 /
# Installation using Installomator
what="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 " ".
# Script will loop through these labels and exit with number of errors.
######################################################################
# No sleeping
/usr/bin/caffeinate -d -i -m -u &
caffeinatepid=$!
caffexit () {
kill "$caffeinatepid"
pkill caffeinate
exit $1
}
# 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 $?"
let errorCount++
fi
done
echo
echo "Errors: $errorCount"
echo "[$(DATE)][LOG-END]"
caffexit $errorCount
# Mark: Conditions
# 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"
vercomp () {
if [[ $1 == $2 ]]; then
return 0
fi
local IFS=.
local i ver1=($1) ver2=($2)
# fill empty fields in ver1 with zeros
for ((i=${#ver1[@]}; i<${#ver2[@]}; i++)); do
ver1[i]=0
done
for ((i=0; i<${#ver1[@]}; i++)); do
if [[ -z ${ver2[i]} ]]; then
# fill empty fields in ver2 with zeros
ver2[i]=0
fi
if ((10#${ver1[i]} > 10#${ver2[i]})); then
return 1
fi
if ((10#${ver1[i]} < 10#${ver2[i]})); then
return 2
fi
done
return 0
}
INSTALLED_VERSION="$(pkgutil --pkg-info $PKG_ID | grep -i "^version" | awk '{print $2}')"
echo "Current Version: ${INSTALLED_VERSION}"
vercomp ${TARGET_VERSION} ${INSTALLED_VERSION}
COMP=$? # 0 means the same, 1 means TARGET is newer, 2 means INSTALLED is newer
echo "COMPARISON: ${COMP}"
if [ "${COMP}" -eq 1 ]; then
echo "Installed version is older than ${TARGET_VERSION}."
exit 0
else
echo "Installed version is the same or newer than ${TARGET_VERSION}."
exit 1
fi

73
MDM/MDMMosyle install.sh Normal file
View File

@@ -0,0 +1,73 @@
PKG_ID="com.scriptingosx.Installomator"
TARGET_VERSION="8.0"
URLDOWNLOAD="%MosyleCDNFile:blah-blah-blah%"
######################################################################
# Installation using Installomator (enter the software to install separated with spaces in the "what"-variable)
what="handbrake theunarchiver microsoftoffice365"
# Covered by Mosyle Catalog: "brave firefox googlechrome microsoftedge microsoftteams signal sublimetext vlc webex zoom" among others
######################################################################
## Mark: Code here
# No sleeping
/usr/bin/caffeinate -d -i -m -u &
caffeinatepid=$!
caffexit () {
kill "$caffeinatepid"
pkill caffeinate
exit $1
}
# Mark: Condition for Installomator installation
INSTALLED_VERSION="$(pkgutil --pkg-info $PKG_ID 2>/dev/null | grep -i "^version" | awk '{print $2}')"
echo "Current Version: ${INSTALLED_VERSION}"
if [[ "$TARGET_VERSION" != "$INSTALLED_VERSION" ]]; then
TMPDIR=$(mktemp -d )
if ! cd "$TMPDIR"; then
echo "error changing directory $TMPDIR"
caffexit 98
fi
NAME=$TMPDIR/$(date +%s).pkg
if ! curl -fsL "$URLDOWNLOAD" -o "$NAME"; then
echo "error downloading $URLDOWNLOAD to $NAME."
caffexit 97
fi
installer -pkg "$NAME" -target /
rm -rf "$TMPDIR"
else
echo "Installomator version $INSTALLED_VERSION already installed!"
fi
# Mark: Start Installomator label(s) installation
# 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=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 $?"
let errorCount++
fi
done
echo
echo "Errors: $errorCount"
echo "[$(DATE)][LOG-END]"
caffexit $errorCount

View File

@@ -0,0 +1,42 @@
#!/bin/bash
# Installation using Installomator
# Example of installing software using valuesfromarguments to install a custom software
what="valuesfromarguments" # enter the software to install
# No sleeping
/usr/bin/caffeinate -d -i -m -u &
caffeinatepid=$!
caffexit () {
kill "$caffeinatepid"
pkill caffeinate
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} 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
# ${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 $?
fi
echo "[$(DATE)][LOG-END]"
caffexit 0

View File

@@ -0,0 +1,13 @@
#!/bin/zsh
# how to remove Installomator.
# Mark: This fork
pkgutil --forget "com.scriptingosx.Installomator"
rm /usr/local/Installomator/Installomator.sh
rmdir /usr/local/Installomator
# Mark: Theile fork
pkgutil --forget "dk.theilgaard.pkg.Installomator"
rm /usr/local/bin/Installomator.sh
rm /usr/local/bin/InstallomatorLabels.sh

214
README.md
View File

@@ -8,47 +8,69 @@ This script is in the “we find it useful, it is working for us” stage.
Your production and deployment environment will be different, please test thoroughly before rolling it out to your production.
I have put a lot of work into making it stable and safe, but I cannot - of course - make _any_ promises that it won't break in some not yet encountered edge case.
We have put a lot of work into making it stable and safe, but we cannot - of course - make _any_ promises that it won't break in some not yet encountered edge case.
## Authors
Intallomator was originally inspired by the download scripts from William Smith and Sander Schram, and created by:
Armin Briegel - @scriptingosx
Later on a few more contributers came on the project:
Isaac Ordonez - @issacatmann
Søren Theilgaard - @Theile
Adam Codega - @acodega
And with numerous contributions from many others.
## Support and Contributing
__Please note, that if you are contributing to this project with new labels or other suggestions in PRs, please put your changes in the fragmented files, not the full `Installomator.sh` script. The full script is now a build of the fragments, and will be overwritten. See the REAMDME.md file in the `utils` directory for detailed instructions.__
__Please note, that if you are contributing to this project with new labels or other suggestions in PRs, please put your changes in the files below `fragments`-folder. DO NOT edit the full `Installomator.sh` script. The full script is now a build of the fragments, and will be overwritten. See the [README.md](utils/README.md) file in the `utils` directory for detailed instructions.__
Discussion, support and advice around Installomator happens in the `#installomator` channel in the [MacAdmins.org Slack](https://macadmins.org). Go there for support questions.
Do not create an issue just when you have a questions, but do file an issue or pull request for bugs or wrong behavior. When in doubt, ask in the above Slack channel.
Do not create an issue just when you have a questions, but do file an issue or pull request (PR) for bugs or wrong behavior. When in doubt, ask in the above Slack channel.
If you have added a new label, then please file a pull request. (and Thank you!)
We try to keep the script as short as possible, and with more than 300 labels, we can save 300 lines in the script, if we do not have credit lines on each of these. So we are thankful for your contribution, but we will be removing these lines in the coming releases.
Please see [CONTRIBUTING.md](https://github.com/Installomator/Installomator/blob/dev/CONTRIBUTING.md) for how to contribute.
## More reading
There are a few interesting post on Installomator on my weblog:
Our wiki:
- [Wiki](https://github.com/Installomator/Installomator/wiki)
There are a few interesting post on Installomator on Armins weblog:
- [Introducing Installomator](https://scriptingosx.com/2020/05/introducing-installomator/)
- [Using Installomator with Jamf Pro](https://scriptingosx.com/2020/06/using-installomator-with-jamf-pro/) by Mischa van der Bent
- [Using another MDM than Jamf and you might want a local installation](https://github.com/Theile/Installomator/) By Søren Theilgaard
## Background
As a system engineer at [an Apple Authorized Enterprise Reseller](https://prowarehouse.nl), we manage a lot of Jamf instances.
In the world of managing Apple Macs, organizations can have two different approaches to the management. Either the IT department will tightly manage and verify each piece of software, or they will just want the latest software to be deployed as fast as possible.
Some of these instances are tightly managed, i.e. the versions of the operating system and third party software are controlled and updates will only be pushed with the management system when the administration and security team went through an approval process and then the update is automated. This is an important and valid workflow and the right fit for many deployments.
OK, maybe some software should be tightly managed and others not, but you get the point.
### Tightly managed
If your solution needs to be tightly managed, i.e. the versions of the operating system and third party software are controlled and updates will only be pushed with the management system when the administration and security team went through an approval process and then the update is automated. This is an important and valid workflow and the right fit for many deployments.
Installomator was _not_ written for these kinds of deployment.
If you are running this kind of deployment, you want to use [AutoPkg](https://github.com/autopkg/autopkg) and you can stop reading here.
There are other kinds of deployments, though. In these deployments the management system is merely used to "get the user ready" as quickly as possible when they set up a new machine, and to offer software from a self service portal. In these deployments, system and software installations are 'latest version available' and updates are user driven (though we do want to nag them).
### Latest version always
These deployments are
There are other kinds of deployments, though. In these deployments the management system is merely used to “get the user ready” as quickly as possible when they set up a new machine, and to offer software from a self service portal. In these deployments, system and software installations are latest version available and updates are user driven (though we do want to nag them and push them).
Installomator can help with this.
These deployments can be
- user driven
- low control
- minimal maintenance effort
- latest version is best
These are mostly 'user controlled' Macs and we (the admins) just want to assist the user in doing the right thing. And the right thing is (often) to install the latest versions and updates when they are available.
These can be 'user controlled' Macs and we (the admins) just want to assist the user in doing the right thing. And the right thing is (often) to install the latest versions and updates when they are available.
The Mac App Store and software pushed through the Mac App Store follow this approach. When you manage and deploy software through the App Store — whether it is on iOS or macOS — neither the MacAdmin nor the user get a choice of the application version. They will get the latest version.
@@ -65,16 +87,25 @@ Some of these disadvantages can be seen as advantages in different setups. When
Because this is an attractive solution for _certain kinds_ of deployment, there are already many scripts out there that will download and install the latest version of a given software. And we have built and used quite a few in-house, as well. Most importantly, [William Smith has this script](https://gist.github.com/talkingmoose/a16ca849416ce5ce89316bacd75fc91a) which can be used to install several different Microsoft applications and bundles, because Microsoft has a nice unified URL scheme.
At some point, earlier this year, I got frustrated at the number of scripts we were maintaining (or failing to). Also, my concern that most of the scripts weren't doing _any_ verification of the download was getting unbearable. So, I set out to write the one install script to rule them all...
At some point, in 2018, Armin got frustrated at the number of scripts he was maintaining (or failing to). Also, his concern that most of the scripts werent doing _any_ verification of the download was getting unbearable. So, he set out to write _the one install script to rule them all_
### Locally installed
So Armin made the version for Jamf Pro but universally for any MDM to adopt.
Søren looked at this, and wanted this approach to work in Mosyle and Addigy, and for these solutions we need Installomator to be locally installed on. the Mac, and then the MDM can call this script from their scripts features. For some time Søren had a version of Installomator that was supplied with a notarized pkg, so it could be deployed as part of DEP or however was needed.
This has now been merged into Installomator, and with contributions of Isaac and Adam, new features and labels have been added more frequently.
## Goals
My goals for Installomator are:
The goals for Installomator are:
- work with various common archive types
- verify the downloaded archive or application
- have a simple 'interface' to the admin
- single script file so it can 'easily' be copied into a management system
- have a simple interface to the admin
- single script file so it can easily be copied into a management system
- signed and notarized pkg-installer for local installation
- extensible without deep scripting knowledge
- work independently of a specific management system
- no dependencies that may be removed from macOS in the future or are not pre-installed
@@ -91,9 +122,9 @@ Installomator can work with the following common archive and installer types:
When the download yields a pkg file, Installomator will run `installer` to install it on the current system.
Applications in dmgs or zips will be copied to `/Applications` and their owner will be set to the current user, so the install works like a standard drag'n drop installation.
Applications in dmgs or zips will be copied to `/Applications` and their owner will be set to the current user, so the install works like a standard drag'n drop installation. Owner can also be set to root/wheel.
(I consider it a disgrace, that Jamf, after nearly 20 years, _still_ cannot deal with 'drag'n drop installation dmgs' natively. It's not _that_ hard.)
(I consider it a disgrace, that Jamf, after nearly 20 years, _still_ cannot deal with dragn drop installation dmgs natively. Its not _that_ hard.)
### Verify the download
@@ -110,11 +141,11 @@ When used to install software, Installomator has a single argument: the label or
./Installomator.sh firefox LOGO=jamf BLOCKING_PROCESS_ACTION=tell_user_then_kill NOTIFY=all
```
There is a debug mode and one other setting that can be controlled with variables in the code. This simplifies the actual use of the script from within a management system.
There is a debug mode and other settings that can be controlled with variables in the code. This simplifies the actual use of the script from within a management system.
### Extensible
As of this writing, Installomator knows how to download and install more than 238 different applications. You can add more by adding a block to the _long_ `case` statement starting on line 758. Some of them are more elaborate, but most of them (just) need this information (not really "just" in this case, as we have to differentiate between arm64 and i386 versions for both `downloadURL` and `appNewVersion`):
As of this writing, Installomator knows how to download and install more than 364 different applications. You can add more by adding new labels to the `fragments`-folder. Below is an example of a label, and most of them (just) needs this information (not really "just" in this case, as we have to differentiate between arm64 and i386 versions for both `downloadURL` and `appNewVersion`):
```
googlechrome)
@@ -123,11 +154,11 @@ googlechrome)
if [[ $(arch) != "i386" ]]; then
printlog "Architecture: arm64 (not i386)"
downloadURL="https://dl.google.com/chrome/mac/universal/stable/GGRO/googlechrome.dmg"
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac_arm64,stable/{print $3; exit}') # Credit: William Smith (@meck)
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac_arm64,stable/{print $3; exit}')
else
printlog "Architecture: i386"
downloadURL="https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac,stable/{print $3; exit}') # Credit: William Smith (@meck)
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac,stable/{print $3; exit}')
fi
expectedTeamID="EQHXZ8M8AV"
;;
@@ -135,19 +166,21 @@ googlechrome)
When you know how to extract these pieces of information from the application and/or download, then you can add an application to Installomator.
The script `buildCaseStatement.sh` can help with the label creation.
The script `buildLabel.sh` can help with the label creation. Just server the URL to the script, and it will try to figure out things and write out a label as output. See [Wiki Tutorials](https://github.com/Installomator/Installomator/wiki#tutorials).
Please note: Labels should be named in small caps, numbers 0-9, “-”, and “_”. No other characters allowed.
Actually labels are part of a case-statement, and must be formatted accordingly.
### Not specific to a management system
I wrote this script mainly for use with Jamf Pro, because that is what we use. For testing, you can run the script interactively from the command line. However, I have tried to keep anything that is specific to Jamf optional, or so flexible that it will work anywhere. Even if it does not work with your management system 'out of the box,' the adaptations should be straightforward.
Armin wrote this script mainly for use with Jamf Pro, because that is what he used. For testing, you can run the script interactively from the command line. However, we have tried to keep anything that is specific to Jamf optional, or so flexible that it will work anywhere. Even if it does not work with your management system out of the box, the adaptations should be straightforward.
Not all MDMs can include the full script, for those MDMs it might be more useful to install it on the client machines, and run it from there. See [Using another MDM than Jamf and you might want a local installation](https://github.com/Theile/Installomator/) By Søren Theilgaard.
Not all MDMs can include the full script, for those MDMs it might be more useful to install it on the client machines, and run it from there. So a PKG to be installed on client Macs is also provided here.
### No dependencies
The script started out as a pure `sh` script, and when I needed arrays I 'switched' to `zsh`, because that is what [we can rely on being in macOS for the foreseeable future](https://scriptingosx.com/zsh). There are quite a few places where using python would have been easier and safer, but with the python 2 run-time being deprecated, that would have added a requirement for a Python 3 run-time to be installed. XML and JSON parsing would have been better with a tool like [scout](https://github.com/ABridoux/scout) or [jq](https://stedolan.github.io/jq/), but those would again require additional installations on the client before the script can run.
The script started out as a pure `sh` script, and when arrays was needed it was switched to `zsh`, because that is what [we can rely on being in macOS for the foreseeable future](https://scriptingosx.com/zsh). There are quite a few places where using python would have been easier and safer, but with the python 2 run-time being deprecated, that would have added a requirement for a Python 3 run-time to be installed. XML and JSON parsing would have been better with a tool like [scout](https://github.com/ABridoux/scout) or [jq](https://stedolan.github.io/jq/), but those would again require additional installations on the client before the script can run.
Keeping the script as a `zsh` allows you to paste it into your management system's interface (and disable the DEBUG mode) and use it without requiring any other installations.
@@ -180,19 +213,19 @@ Other than the version arguments, the argument can be any of the labels listed i
### Debug mode
There is a variable named `DEBUG` which is set in line 21 of the script. When `DEBUG` is set to `1` (default) no actions that would actually modify the current system are taken. This is useful for testing most of the actions in the script, but obviously not all of them.
There is a variable named `DEBUG` which is set in line 21 of the script. When `DEBUG` is set to `1` (default) or `2` for a variation of debug, no actions that would actually modify the current system are taken. This is useful for testing most of the actions in the script, but obviously not all of them.
Also when the `DEBUG` variable is `1`, downloaded archives and extracted files will be written to the script's directory, rather than a temporary directory, which can make debugging easier.
When the `DEBUG` variable is `1`, downloaded archives and extracted files will be written to the script's directory, rather than a temporary directory, which can make debugging easier.
_Always remember_ to change the `DEBUG` variable to `0` when deploying.
When `DEBUG` variable is `2`, the temporary folder is created and downloaded and extracted files goes to that folder, as if not in DEBUG mode, but installation is still not done. On the other hand blocking processes are checked, the app is reopened if closed, and the user is notified.
### Use Installomator with Jamf Pro
Debug mode 1 is useful to test the download and verification process without having to re-download and re-install an application or package on your system. Debug mode 2 is great for checking running processe and notifications.
In Jamf Pro, create a new 'Script' and paste the contents of `Installomator.sh` into the 'Script Contents' area. Under 'Options' you can change the parameter label for argument 4 to 'Application Label.'
_Always remember_ to change the `DEBUG` variable to `0` when deploying. The installer PKG we provide has `DEBUG=0`.
Remember to set `DEBUG` to `0`.
### Use Installomator with various MDM solutions
Then you can use the Installomator script in a policy and choose the application to install by setting the label for argument 4.
In the wiki we have provided documentation on how Installomator is used in various MDM solution, like [Jamf Pro](https://github.com/Installomator/Installomator/wiki/MDM:-Jamf-Pro), [Mosyle](https://github.com/Installomator/Installomator/wiki/MDM:-Mosyle-(Business,-Fuse,-and-Manager)), and [Addigy](https://github.com/Installomator/Installomator/wiki/MDM:-Addigy).
## What it does
@@ -200,7 +233,7 @@ When it runs with a known label, the script will perform the following:
- Check the version installed with the version online. Only continue if it's different
- download the latest version from the vendor
- when the application is running, prompt the user to quit or cancel
- when the application is running, prompt the user to quit or cancel (customizable)
- dmg or zip archives:
- extract the application and copy it to /Applications
- change the owner of the application to the current user
@@ -208,19 +241,11 @@ When it runs with a known label, the script will perform the following:
- when necessary, extract the pkg from the enclosing archive
- install the pkg with the `installer` tool
- clean up the downloaded files
- notify the user
- notify the user (also customizable)
## Configuring the script
As of now there are two settings that are meant to configured when deploying the script.
### Debug mode
The first is the `DEBUG` variable. When this is set to `1` the script will _not_ perform any changes to the current system. In other words, no application will be copied to the target directory and no `installer` command be performed.
In addition, files will be downloaded and extracted to the Installomator project folder instead of a temporary directory and _not_ deleted when the script exits. Also archives will _not_ be re-downloaded when they already exist in the project folder. The repository's `.gitignore` file is set up to ignore the archive file extensions.
Debug mode is useful to test the download and verification process without having to re-download and re-install an application or package on your system.
We have several default settings for certain behavior and notifications inside the script, but these can be customized when calling the script.
### Blocking Process actions
@@ -229,13 +254,13 @@ The `BLOCKING_PROCESS_ACTION` variable controls the behavior of the script when
There are eight options:
- `ignore`: continue even when blocking processes are found.
- `silent_fail`: exit script without prompt or installation.
- `prompt_user`: (default) show a user dialog for each blocking process found abort after three attempts to quit (only if user accepts to quit the apps, otherwise the update is cancelled).
- `prompt_user_then_kill`: show a user dialog for each blocking process found, attempt to quit two times, kill the process finally.
- `silent_fail`: Exit script without prompt or installation.
- `prompt_user`: Show a user dialog for each blocking process found, user can choose "Quit and Update" or "Not Now". When "Quit and Update" is chosen, blocking process will be told to quit. Installomator will wait 30 seconds before checking again in case Save dialogs etc are being responded to. Installomator will abort if quitting after three tries does not succeed. "Not Now" will exit Installomator.
- `prompt_user_then_kill`: show a user dialog for each blocking process found, user can choose "Quit and Update" or "Not Now". When "Quit and Update" is chosen, blocking process will be terminated. Installomator will abort if terminating after two tries does not succeed. "Not Now" will exit Installomator.
- `prompt_user_loop`: Like prompt-user, but clicking "Not Now", will just wait an hour, and then it will ask again.
WARNING! It might block the MDM agent on the machine, as the scripts gets stuct in waiting until the hour has passed, possibly blocking for other management actions in this time.
- `tell_user`: User will be showed a notification about the important update, but user is only allowed to quit and continue, and then we ask the app to quit.
- `tell_user_then_kill`: Show dialog 2 times, and if the quitting fails, the blocking processes will be killed.
WARNING! It might block the MDM agent on the machine, as the script will not exit, it will pause until the hour has passed, possibly blocking for other management actions in this time.
- `tell_user`: (Default) User will be showed a notification about the important update, but user is only allowed to Quit and Continue, and then we ask the app to quit. This is default.
- `tell_user_then_kill`: User will be showed a notification about the important update, but user is only allowed to Quit and Continue. If the quitting fails, the blocking processes will be terminated.
- `kill`: kill process without prompting or giving the user a chance to save.
If any process was closed, Installomator will try to open the app again, after the update process is done.
@@ -265,11 +290,17 @@ __options:__
- `no`: If installed app is from App Store (which include VPP installed apps) it will not be touched, no matter it's version (default)
- `yes`: Replace App Store (and VPP) version of app and handle future updates using Installomator, even if latest version. Shouldnt give any problems for the user in most cases. Known bad example: Slack will loose all settings.
### Owner of copied apps
Default is `SYSTEMOWNER=0`
__options:__
- `0`: Current user will be owner of copied apps, just like if they installed it themselves (default).
- `1`: root:wheel will be set on the copied app. Useful for shared machines.
### Install behavior (force installation)
Since we now make a version checking, and only installs the software if the version is different, an `INSTALL` variable can be used to force the installation:
- ``: When not set, software is only installed if it is newer/different in version (default)
- ` `: When not set, software is only installed if it is newer/different in version (default)
- `force`: Install even if its the same version
### Re-opening of closed app
@@ -279,9 +310,29 @@ The `REOPEN` can be used to prevent the reopening of a closed app
- `yes`: (default) app will be reopened if it was closed
- `no`: app not reopened
### Adding applications/label blocks
### Configuration from Arguments
#### Required Variables
You can provide a configuration variable, such as `DEBUG` or `NOTIFY` as an argument in the form `VAR=value`. For example:
```
./Installomator.sh desktoppr DEBUG=0 NOTIFY=silent
```
Providing variables this way will override any variables set in the script.
You can even provide _all_ the variables necessary for download and installation. Of course, without a label the argument parsing will fail, so I created a special label `valuesfromarguments` which only checks if the four required values are present:
```
./Installomator.sh name=desktoppr type=pkg downloadURL=https://github.com/scriptingosx/desktoppr/releases/download/v0.3/desktoppr-0.3.pkg expectedTeamID=JME5BW3F3R valuesfromarguments
```
The order of the variables and label is not relevant. But, when you provide more than one label, all but the _last_ label will be ignored.
Providing all the variables this way might be useful for certain downloads that have a customized URL for each vendor/customer (like customized TeamView or Watchman Monitoring) or are local downloads.
## Adding applications/label blocks
### Required Variables
The script requires four pieces of information to download and install an application:
@@ -314,6 +365,12 @@ The URL from which to download the archive.
The URL can be generated by a series of commands, for example when you need to parse an xml file for the latest URL. (See `bbedit`, `desktoppr`, or `omnigraffle` for examples.)
Sometimes version differs between Intel and Apple Silicon versions. (See `brave`, `obsidian`, `omnidisksweeper`, or `notion`).
- `curlOptions`: (array, optional)
Options to the `curl` command, needed for `curl` to be able to download the software.
Usually used for adding extra headers that some servers need in order to serve the file.
`curlOptions=( -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15" )`
(See “mocha”-labels, for examples on labels, and `buildLabel.sh` for header-examples.)
- `appNewVersion` (optional, but recommended):
Version of the downloaded software.
If given, it will be compared to installed version, to see if download is different.
@@ -334,8 +391,7 @@ The 10-character Developer Team ID with which the application or pkg is signed a
- Installation Packages (pkg)
`spctl -a -vv -t install ~/Downloads/desktoppr-0.2.pkg`
#### Optional Variables
### Optional Variables
Depending on the application or pkg there are a few more variables you can or need to set. Many of these are derived from the required variables, but may need to be set manually if those derived values do not work.
@@ -374,47 +430,35 @@ Depending on the application or pkg there are a few more variables you can or ne
`$updateTool $updateArguments`
Will be run instead of of downloading and installing a complete new version.
Use this when the `updateTool` does differential and optimized downloads.
e.g. `msupdate` (see microsoft installations)
e.g. `msupdate` (see various Microsoft installations).
- `updateToolRunAsCurrentUser`:
When this variable is set (any value), `$updateTool` will be run as the current user. Default is unset and
### Configuration from Arguments
You can provide a configuration variable, such as `DEBUG` or `NOTIFY` as an argument in the form `VAR=value`. For example:
```
./Installomator.sh desktoppr DEBUG=0 NOTIFY=silent
```
Providing variables this way will override any variables set in the script.
You can even provide _all_ the variables necessary for download and installation. Of course, without a label the argument parsing will fail, so I created a special label `valuesfromarguments` which only checks if the four required values are present:
```
./Installomator.sh name=desktoppr type=pkg downloadURL=https://github.com/scriptingosx/desktoppr/releases/download/v0.3/desktoppr-0.3.pkg expectedTeamID=JME5BW3F3R valuesfromarguments
```
The order of the variables and label is not relevant. But, when you provide more than one label, all but the _last_ label will be ignored.
Providing all the variables this way might be useful for certain downloads that have a customized URL for each vendor/customer (like customized TeamView or Watchman Monitoring) or are local downloads.
- `CLIInstaller`:
- `CLIArguments`:
If the downloaded dmg is actually an installer that we can call using CLI, we can use these two variables for what to call.
We need to define `name` for the installed app (to be version checked), as well as `installerTool` for the installer app (if named differently that `name`. Installomator will add the path to the folder/disk image with the binary, and it will be called like this:
`$CLIInstaller $CLIArguments`
For most installations `CLIInstaller` should contain the `installerTool` for the CLI call (if its the same).
We can support a whole range of other software titles by implementing this.
See label adobecreativeclouddesktop.
- `installerTool`:
Introduced as part of `CLIInstaller`. If the installer in the DMG or ZIP is named differently than the installed app, then this variable can be used to name the installer that should be located after mounting/expanding the downloaded archive.
See label adobecreativeclouddesktop
## Frequently Asked Questions
### What if the latest version of the app is already installed?
Short answer: Installomator will re-download and re-install the latest over the existing installation.
Short answer: That depends on if labels will know what the latest version will be.
Longer answer:
Installomator will try to find a currently installed app to log the version. When Installomator finds an existing app (any version) and the `updateTool` variable is set, then Installomator will _not_ download and install, but run the `updateTool` instead.
However, there is no simple generic method to actually determine the latest version of an application or installer.
We deploy Installomator usually for user initiated installations from Self Service, so re-installs don't really 'hurt' and may be a useful troubleshooting step.
When you want to have automated installations, you can use smart groups based on the app version to limit excessive re-installations.
- Labels without this will re-download and re-install the latest over the existing installation.
- Labels with this info will only install the app if the version is different than the one installed.
- Labels that can use update tool will use that for the update (if the version is different)
### Why don't you just use `autopkg install`?
@@ -444,7 +488,7 @@ Please don't misunderstand this as me saying that AutoPkg is a bad or poorly des
But it is not suited as a client install automation tool.
### Why don't you just use brew?
### Why don't you just use brew or MacPorts?
Read the explanation for `autopkg`, pretty much the same applies for `brew`, i.e. while it is useful on a single Mac, it is a un-manageable mess when you think about deploying and managing on a fleet of computers.

View File

@@ -1,29 +1,30 @@
# MARK: check minimal macOS requirement
autoload is-at-least
if ! is-at-least 10.14 $(sw_vers -productVersion); then
printlog "Installomator requires at least macOS 10.14 Mojave."
installedOSversion=$(sw_vers -productVersion)
if ! is-at-least 10.14 $installedOSversion; then
printlog "Installomator requires at least macOS 10.14 Mojave." ERROR
exit 98
fi
# MARK: argument parsing
if [[ $# -eq 0 ]]; then
if [[ -z $label ]]; then # check if label is set inside script
printlog "no label provided, printing labels"
printlog "no label provided, printing labels" REQ
grep -E '^[a-z0-9\_-]*(\)|\|\\)$' "$0" | tr -d ')|\' | grep -v -E '^(broken.*|longversion|version|valuesfromarguments)$' | sort
#grep -E '^[a-z0-9\_-]*(\)|\|\\)$' "${labelFile}" | tr -d ')|\' | grep -v -E '^(broken.*|longversion|version|valuesfromarguments)$' | sort
exit 0
fi
elif [[ $1 == "/" ]]; then
# jamf uses sends '/' as the first argument
printlog "shifting arguments for Jamf"
printlog "shifting arguments for Jamf" REQ
shift 3
fi
while [[ -n $1 ]]; do
if [[ $1 =~ ".*\=.*" ]]; then
# if an argument contains an = character, send it to eval
printlog "setting variable from argument $1"
printlog "setting variable from argument $1" WARN
eval $1
else
# assume it's a label
@@ -36,44 +37,90 @@ done
# lowercase the label
label=${label:l}
printlog "################## Start Installomator v. $VERSION"
printlog "################## $label"
# separate check for 'version' in order to print plain version number without any other information
if [[ $label == "version" ]]; then
echo "$VERSION"
exit 0
fi
# MARK: Logging
log_location="/private/var/log/Installomator.log"
# Check if we're in debug mode, if so then set logging to DEBUG, otherwise default to INFO
# if no log level is specified.
if [[ $DEBUG -ne 0 ]]; then
LOGGING=DEBUG
elif [[ -z $LOGGING ]]; then
LOGGING=INFO
datadogLoggingLevel=INFO
fi
# Associate logging levels with a numerical value so that we are able to identify what
# should be removed. For example if the LOGGING=ERROR only printlog statements with the
# level REQ and ERROR will be displayed. LOGGING=DEBUG will show all printlog statements.
# If a printlog statement has no level set it's automatically assigned INFO.
declare -A levels=(DEBUG 0 INFO 1 WARN 2 ERROR 3 REQ 4)
# If we are able to detect an MDM URL (Jamf Pro) or another identifier for a customer/instance we grab it here, this is useful if we're centrally logging multiple MDM instances.
if [[ -f /Library/Preferences/com.jamfsoftware.jamf.plist ]]; then
mdmURL=$(defaults read /Library/Preferences/com.jamfsoftware.jamf.plist jss_url)
elif [[ -n "$MDMProfileName" ]]; then
mdmURL=$(sudo profiles show | grep -A3 "$MDMProfileName" | sed -n -e 's/^.*organization: //p')
else
mdmURL="Unknown"
fi
# Generate a session key for this run, this is useful to idenify streams when we're centrally logging.
SESSION=$RANDOM
# Mark: START
printlog "################## Start Installomator v. $VERSION, date $VERSIONDATE" REQ
printlog "################## Version: $VERSION" INFO
printlog "################## Date: $VERSIONDATE" INFO
printlog "################## $label" INFO
# Check for DEBUG mode
if [[ $DEBUG -gt 0 ]]; then
printlog "DEBUG mode $DEBUG enabled." DEBUG
fi
# How we get version number from app
# (alternative is "CFBundleVersion", that can be used in labels)
versionKey="CFBundleShortVersionString"
if [[ -z $versionKey ]]; then
versionKey="CFBundleShortVersionString"
fi
# get current user
currentUser=$(scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ { print $3 }')
# MARK: check for root
if [[ "$(whoami)" != "root" && "$DEBUG" -eq 0 ]]; then
# not running as root
cleanupAndExit 6 "not running as root, exiting" ERROR
fi
# MARK: labels in case statement
case $label in
version)
# print the script VERSION
printlog "$VERSION"
exit 0
;;
longversion)
# print the script version
printlog "Installomater: version $VERSION ($VERSIONDATE)"
printlog "Installomater: version $VERSION ($VERSIONDATE)" REQ
exit 0
;;
valuesfromarguments)
if [[ -z $name ]]; then
printlog "need to provide 'name'"
printlog "need to provide 'name'" ERROR
exit 1
fi
if [[ -z $type ]]; then
printlog "need to provide 'type'"
printlog "need to provide 'type'" ERROR
exit 1
fi
if [[ -z $downloadURL ]]; then
printlog "need to provide 'downloadURL'"
printlog "need to provide 'downloadURL'" ERROR
exit 1
fi
if [[ -z $expectedTeamID ]]; then
printlog "need to provide 'expectedTeamID'"
printlog "need to provide 'expectedTeamID'" ERROR
exit 1
fi
;;

View File

@@ -0,0 +1,7 @@
mightymike)
name="Mighty Mike"
type="dmg"
downloadURL=$(downloadURLFromGit jorio MightyMike)
appNewVersion=$(versionFromGit jorio MightyMike)
expectedTeamID="RVNL7XC27G"
;;

View File

@@ -1,23 +1,33 @@
# MARK: Functions
cleanupAndExit() { # $1 = exit code, $2 message
if [[ -n $2 && $1 -ne 0 ]]; then
printlog "ERROR: $2"
fi
if [ "$DEBUG" -eq 0 ]; then
# remove the temporary working directory when done
printlog "Deleting $tmpDir"
rm -Rf "$tmpDir"
fi
cleanupAndExit() { # $1 = exit code, $2 message, $3 level
if [ -n "$dmgmount" ]; then
# unmount disk image
printlog "Unmounting $dmgmount"
hdiutil detach "$dmgmount"
printlog "Unmounting $dmgmount" DEBUG
unmountingOut=$(hdiutil detach "$dmgmount" 2>&1)
printlog "Debugging enabled, Unmounting output was:\n$unmountingOut" DEBUG
fi
if [ "$DEBUG" -ne 1 ]; then
# remove the temporary working directory when done (only if DEBUG is not used)
printlog "Deleting $tmpDir" DEBUG
deleteTmpOut=$(rm -Rfv "$tmpDir")
printlog "Debugging enabled, Deleting tmpDir output was:\n$deleteTmpOut" DEBUG
fi
# If we closed any processes, reopen the app again
reopenClosedProcess
printlog "################## End Installomator, exit code $1 \n\n"
if [[ -n $2 && $1 -ne 0 ]]; then
printlog "ERROR: $2" $3
else
printlog "$2" $3
fi
printlog "################## End Installomator, exit code $1 \n" REQ
# if label is wrong and we wanted name of the label, then return ##################
if [[ $RETURN_LABEL_NAME -eq 1 ]]; then
1=0 # If only label name should be returned we exit without any errors
echo "#"
fi
exit "$1"
}
@@ -59,26 +69,84 @@ displaynotification() { # $1: message $2: title
fi
}
# MARK: Logging
log_location="/private/var/log/Installomator.log"
printlog(){
[ -z "$2" ] && 2=INFO
log_message=$1
log_priority=$2
timestamp=$(date +%F\ %T)
if [[ "$(whoami)" == "root" ]]; then
echo "$timestamp" "$label" "$1" | tee -a $log_location
else
echo "$timestamp" "$label" "$1"
# Check to make sure that the log isn't the same as the last, if it is then don't log and increment a timer.
if [[ ${log_message} == ${previous_log_message} ]]; then
let logrepeat=$logrepeat+1
return
fi
previous_log_message=$log_message
# Once we finally stop getting duplicate logs output the number of times we got a duplicate.
if [[ $logrepeat -gt 1 ]];then
echo "$timestamp" : "${log_priority} : $label : Last Log repeated ${logrepeat} times" | tee -a $log_location
if [[ ! -z $datadogAPI ]]; then
curl -s -X POST https://http-intake.logs.datadoghq.com/v1/input -H "Content-Type: text/plain" -H "DD-API-KEY: $datadogAPI" -d "${log_priority} : $mdmURL : $APPLICATION : $VERSION : $SESSION : Last Log repeated ${logrepeat} times" > /dev/null
fi
logrepeat=0
fi
# If the datadogAPI key value is set and our logging level is greater than or equal to our set level
# then post to Datadog's HTTPs endpoint.
if [[ -n $datadogAPI && ${levels[$log_priority]} -ge ${levels[$datadogLoggingLevel]} ]]; then
while IFS= read -r logmessage; do
curl -s -X POST https://http-intake.logs.datadoghq.com/v1/input -H "Content-Type: text/plain" -H "DD-API-KEY: $datadogAPI" -d "${log_priority} : $mdmURL : Installomator-${label} : ${VERSIONDATE//-/} : $SESSION : ${logmessage}" > /dev/null
done <<< "$log_message"
fi
# Extra spaces
space_char=""
if [[ ${#log_priority} -eq 3 ]]; then
space_char=" "
elif [[ ${#log_priority} -eq 4 ]]; then
space_char=" "
fi
# If our logging level is greaterthan or equal to our set level then output locally.
if [[ ${levels[$log_priority]} -ge ${levels[$LOGGING]} ]]; then
while IFS= read -r logmessage; do
if [[ "$(whoami)" == "root" ]]; then
echo "$timestamp" : "${log_priority}${space_char} : $label : ${logmessage}" | tee -a $log_location
else
echo "$timestamp" : "${log_priority}${space_char} : $label : ${logmessage}"
fi
done <<< "$log_message"
fi
}
# Used to remove dupplicate lines in large log output,
# for example from msupdate command after it finishes running.
deduplicatelogs() {
loginput=${1:-"Log"}
logoutput=""
# Read each line of the incoming log individually, match it with the previous.
# If it matches increment logrepeate then skip to the next line.
while read log; do
if [[ $log == $previous_log ]];then
let logrepeat=$logrepeat+1
continue
fi
previous_log="$log"
if [[ $logrepeat -gt 1 ]];then
logoutput+="Last Log repeated ${logrepeat} times\n"
logrepeat=0
fi
logoutput+="$log\n"
done <<< "$loginput"
}
# will get the latest release download from a github repo
downloadURLFromGit() { # $1 git user name, $2 git repo name
gitusername=${1?:"no git user name"}
gitreponame=${2?:"no git repo name"}
if [[ $type == "pkgInDmg" ]]; then
filetype="dmg"
elif [[ $type == "pkgInZip" ]]; then
@@ -86,17 +154,16 @@ downloadURLFromGit() { # $1 git user name, $2 git repo name
else
filetype=$type
fi
if [ -n "$archiveName" ]; then
downloadURL=$(curl --silent --fail "https://api.github.com/repos/$gitusername/$gitreponame/releases/latest" \
downloadURL=$(curl -L --silent --fail "https://api.github.com/repos/$gitusername/$gitreponame/releases/latest" \
| awk -F '"' "/browser_download_url/ && /$archiveName\"/ { print \$4; exit }")
else
downloadURL=$(curl --silent --fail "https://api.github.com/repos/$gitusername/$gitreponame/releases/latest" \
downloadURL=$(curl -L --silent --fail "https://api.github.com/repos/$gitusername/$gitreponame/releases/latest" \
| awk -F '"' "/browser_download_url/ && /$filetype\"/ { print \$4; exit }")
fi
if [ -z "$downloadURL" ]; then
cleanupAndExit 9 "could not retrieve download URL for $gitusername/$gitreponame"
#exit 9
cleanupAndExit 9 "could not retrieve download URL for $gitusername/$gitreponame" ERROR
else
echo "$downloadURL"
return 0
@@ -108,10 +175,10 @@ versionFromGit() {
# $1 git user name, $2 git repo name
gitusername=${1?:"no git user name"}
gitreponame=${2?:"no git repo name"}
appNewVersion=$(curl --silent --fail "https://api.github.com/repos/$gitusername/$gitreponame/releases/latest" | grep tag_name | cut -d '"' -f 4 | sed 's/[^0-9\.]//g')
appNewVersion=$(curl -L --silent --fail "https://api.github.com/repos/$gitusername/$gitreponame/releases/latest" | grep tag_name | cut -d '"' -f 4 | sed 's/[^0-9\.]//g')
if [ -z "$appNewVersion" ]; then
printlog "could not retrieve version number for $gitusername/$gitreponame"
printlog "could not retrieve version number for $gitusername/$gitreponame" WARN
appNewVersion=""
else
echo "$appNewVersion"
@@ -122,7 +189,7 @@ versionFromGit() {
# Handling of differences in xpath between Catalina and Big Sur
xpath() {
# the xpath tool changes in Big Sur and now requires the `-e` option
# the xpath tool changes in Big Sur and now requires the `-e` option
if [[ $(sw_vers -buildVersion) > "20A" ]]; then
/usr/bin/xpath -e $@
# alternative: switch to xmllint (which is not perl)
@@ -142,27 +209,47 @@ getAppVersion() {
printlog "Custom App Version detection is used, found $appversion"
return
fi
# pkgs contains a version number, then we don't have to search for an app
if [[ $packageID != "" ]]; then
appversion="$(pkgutil --pkg-info-plist ${packageID} 2>/dev/null | grep -A 1 pkg-version | tail -1 | sed -E 's/.*>([0-9.]*)<.*/\1/g')"
if [[ $appversion != "" ]]; then
printlog "found packageID $packageID installed, version $appversion"
updateDetected="YES"
return
else
printlog "No version found using packageID $packageID"
fi
fi
# get app in /Applications, or /Applications/Utilities, or find using Spotlight
if [[ -d "/Applications/$appName" ]]; then
# get app in targetDir, /Applications, or /Applications/Utilities
if [[ -d "$targetDir/$appName" ]]; then
applist="$targetDir/$appName"
elif [[ -d "/Applications/$appName" ]]; then
applist="/Applications/$appName"
# if [[ $type =~ '^(dmg|zip|tbz|app.*)$' ]]; then
# targetDir="/Applications"
# fi
elif [[ -d "/Applications/Utilities/$appName" ]]; then
applist="/Applications/Utilities/$appName"
# if [[ $type =~ '^(dmg|zip|tbz|app.*)$' ]]; then
# targetDir="/Applications/Utilities"
# fi
else
applist=$(mdfind "kind:application $appName" -0 )
# applist=$(mdfind "kind:application $appName" -0 )
printlog "name: $name, appName: $appName"
applist=$(mdfind "kind:application AND name:$name" -0 )
# printlog "App(s) found: ${applist}" DEBUG
# applist=$(mdfind "kind:application AND name:$appName" -0 )
fi
printlog "App(s) found: ${applist}"
if [[ -z applist ]]; then
printlog "No previous app found" INFO
else
printlog "App(s) found: ${applist}" INFO
fi
# if [[ $type =~ '^(dmg|zip|tbz|app.*)$' ]]; then
# printlog "targetDir for installation: $targetDir" INFO
# fi
appPathArray=( ${(0)applist} )
@@ -172,7 +259,8 @@ getAppVersion() {
installedAppPath=$filteredAppPaths[1]
#appversion=$(mdls -name kMDItemVersion -raw $installedAppPath )
appversion=$(defaults read $installedAppPath/Contents/Info.plist $versionKey) #Not dependant on Spotlight indexing
printlog "found app at $installedAppPath, version $appversion"
printlog "found app at $installedAppPath, version $appversion, on versionKey $versionKey"
updateDetected="YES"
# Is current app from App Store
if [[ -d "$installedAppPath"/Contents/_MASReceipt ]];then
printlog "Installed $appName is from App Store, use “IGNORE_APP_STORE_APPS=yes” to replace."
@@ -180,21 +268,21 @@ getAppVersion() {
printlog "Replacing App Store apps, no matter the version"
appversion=0
else
cleanupAndExit 1 "App previously installed from App Store, and we respect that"
cleanupAndExit 1 "App previously installed from App Store, and we respect that" ERROR
fi
fi
else
printlog "could not determine location of $appName"
printlog "could not determine location of $appName" WARN
fi
else
printlog "could not find $appName"
printlog "could not find $appName" WARN
fi
}
checkRunningProcesses() {
# don't check in DEBUG mode
if [[ $DEBUG -ne 0 ]]; then
printlog "DEBUG mode, not checking for blocking processes"
# don't check in DEBUG mode 1
if [[ $DEBUG -eq 1 ]]; then
printlog "DEBUG mode 1, not checking for blocking processes" DEBUG
return
fi
@@ -205,7 +293,7 @@ checkRunningProcesses() {
if pgrep -xq "$x"; then
printlog "found blocking process $x"
appClosed=1
case $BLOCKING_PROCESS_ACTION in
quit|quit_kill)
printlog "telling app $x to quit"
@@ -227,7 +315,7 @@ checkRunningProcesses() {
prompt_user|prompt_user_then_kill)
button=$(displaydialog "Quit “$x” to continue updating? (Leave this dialogue if you want to activate this update later)." "The application “$x” needs to be updated.")
if [[ $button = "Not Now" ]]; then
cleanupAndExit 10 "user aborted update"
cleanupAndExit 10 "user aborted update" ERROR
else
if [[ $i > 2 && $BLOCKING_PROCESS_ACTION = "prompt_user_then_kill" ]]; then
printlog "Changing BLOCKING_PROCESS_ACTION to kill"
@@ -272,7 +360,7 @@ checkRunningProcesses() {
fi
;;
silent_fail)
cleanupAndExit 12 "blocking process '$x' found, aborting"
cleanupAndExit 12 "blocking process '$x' found, aborting" ERROR
;;
esac
@@ -283,28 +371,28 @@ checkRunningProcesses() {
done
if [[ $countedProcesses -ne 0 ]]; then
cleanupAndExit 11 "could not quit all processes, aborting..."
cleanupAndExit 11 "could not quit all processes, aborting..." ERROR
fi
printlog "no more blocking processes, continue with update"
printlog "no more blocking processes, continue with update" REQ
}
reopenClosedProcess() {
# If Installomator closed any processes, let's get the app opened again
# credit: Søren Theilgaard (@theilgaard)
# don't reopen if REOPEN is not "yes"
if [[ $REOPEN != yes ]]; then
printlog "REOPEN=no, not reopening anything"
return
fi
# don't reopen in DEBUG mode
if [[ $DEBUG -ne 0 ]]; then
printlog "DEBUG mode, not reopening anything"
# don't reopen in DEBUG mode 1
if [[ $DEBUG -eq 1 ]]; then
printlog "DEBUG mode 1, not reopening anything" DEBUG
return
fi
if [[ $appClosed == 1 ]]; then
printlog "Telling app $appName to open"
#runAsUser osascript -e "tell app \"$appName\" to open"
@@ -314,7 +402,7 @@ reopenClosedProcess() {
processuser=$(ps aux | grep -i "${appName}" | grep -vi "grep" | awk '{print $1}')
printlog "Reopened ${appName} as $processuser"
else
printlog "App not closed, so no reopen."
printlog "App not closed, so no reopen." INFO
fi
}
@@ -324,71 +412,123 @@ installAppWithPath() { # $1: path to app to install in $targetDir
# check if app exists
if [ ! -e "$appPath" ]; then
cleanupAndExit 8 "could not find: $appPath"
cleanupAndExit 8 "could not find: $appPath" ERROR
fi
# verify with spctl
printlog "Verifying: $appPath"
if ! teamID=$(spctl -a -vv "$appPath" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' ); then
cleanupAndExit 4 "Error verifying $appPath"
fi
printlog "Verifying: $appPath" INFO
printlog "App size: $(du -sh "$appPath")" DEBUG
appVerify=$(spctl -a -vv "$appPath" 2>&1 )
appVerifyStatus=$(echo $?)
teamID=$(echo $appVerify | awk '/origin=/ {print $NF }' | tr -d '()' )
deduplicatelogs "$appVerify"
printlog "Team ID matching: $teamID (expected: $expectedTeamID )"
if [[ $appVerifyStatus -ne 0 ]] ; then
#if ! teamID=$(spctl -a -vv "$appPath" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' ); then
cleanupAndExit 4 "Error verifying $appPath error:\n$logoutput" ERROR
fi
printlog "Debugging enabled, App Verification output was:\n$logoutput" DEBUG
printlog "Team ID matching: $teamID (expected: $expectedTeamID )" INFO
if [ "$expectedTeamID" != "$teamID" ]; then
cleanupAndExit 5 "Team IDs do not match"
cleanupAndExit 5 "Team IDs do not match" ERROR
fi
# versioncheck
# credit: Søren Theilgaard (@theilgaard)
# app versioncheck
appNewVersion=$(defaults read $appPath/Contents/Info.plist $versionKey)
if [[ $appversion == $appNewVersion ]]; then
printlog "Downloaded version of $name is $appNewVersion, same as installed."
if [[ -n $appNewVersion && $appversion == $appNewVersion ]]; then
printlog "Downloaded version of $name is $appNewVersion on versionKey $versionKey, same as installed."
if [[ $INSTALL != "force" ]]; then
message="$name, version $appNewVersion, is the latest version."
message="$name, version $appNewVersion, is the latest version."
if [[ $currentUser != "loginwindow" && $NOTIFY == "all" ]]; then
printlog "notifying"
displaynotification "$message" "No update for $name!"
fi
cleanupAndExit 0 "No new version to install"
cleanupAndExit 0 "No new version to install" REG
else
printlog "Using force to install anyway."
fi
elif [[ -z $appversion ]]; then
printlog "Installing $name version $appNewVersion on versionKey $versionKey."
else
printlog "Downloaded version of $name is $appNewVersion (replacing version $appversion)."
printlog "Downloaded version of $name is $appNewVersion on versionKey $versionKey (replacing version $appversion)."
fi
# skip install for DEBUG
if [ "$DEBUG" -ne 0 ]; then
printlog "DEBUG enabled, skipping remove, copy and chown steps"
# macOS versioncheck
minimumOSversion=$(defaults read $appPath/Contents/Info.plist LSMinimumSystemVersion 2>/dev/null )
if [[ -n $minimumOSversion && $minimumOSversion =~ '[0-9.]*' ]]; then
printlog "App has LSMinimumSystemVersion: $minimumOSversion"
if ! is-at-least $minimumOSversion $installedOSversion; then
printlog "App requires higher System Version than installed: $installedOSversion"
message="Cannot install $name, version $appNewVersion, as it is not compatible with the running system version."
if [[ $currentUser != "loginwindow" && $NOTIFY == "all" ]]; then
printlog "notifying"
displaynotification "$message" "Error updating $name!"
fi
cleanupAndExit 6 "Installed macOS is too old for this app." ERROR
fi
fi
# skip install for DEBUG 1
if [ "$DEBUG" -eq 1 ]; then
printlog "DEBUG mode 1 enabled, skipping remove, copy and chown steps" DEBUG
return 0
fi
# check for root
if [ "$(whoami)" != "root" ]; then
# not running as root
cleanupAndExit 6 "not running as root, exiting"
# skip install for DEBUG 2
if [ "$DEBUG" -eq 2 ]; then
printlog "DEBUG mode 2 enabled, not installing anything, exiting" DEBUG
cleanupAndExit 0
fi
# remove existing application
if [ -e "$targetDir/$appName" ]; then
printlog "Removing existing $targetDir/$appName"
rm -Rf "$targetDir/$appName"
fi
# Test if variable CLIInstaller is set
if [[ -z $CLIInstaller ]]; then
# copy app to /Applications
printlog "Copy $appPath to $targetDir"
if ! ditto "$appPath" "$targetDir/$appName"; then
cleanupAndExit 7 "Error while copying"
fi
# remove existing application
if [ -e "$targetDir/$appName" ]; then
printlog "Removing existing $targetDir/$appName" WARN
deleteAppOut=$(rm -Rfv "$targetDir/$appName" 2>&1)
tempName="$targetDir/$appName"
tempNameLength=$((${#tempName} + 10))
deleteAppOut=$(echo $deleteAppOut | cut -c 1-$tempNameLength)
deduplicatelogs "$deleteAppOut"
printlog "Debugging enabled, App removing output was:\n$logoutput" DEBUG
fi
# copy app to /Applications
printlog "Copy $appPath to $targetDir"
copyAppOut=$(ditto -v "$appPath" "$targetDir/$appName" 2>&1)
copyAppStatus=$(echo $?)
deduplicatelogs "$copyAppOut"
printlog "Debugging enabled, App copy output was:\n$logoutput" DEBUG
if [[ $copyAppStatus -ne 0 ]] ; then
#if ! ditto "$appPath" "$targetDir/$appName"; then
cleanupAndExit 7 "Error while copying:\n$logoutput" ERROR
fi
# set ownership to current user
if [ "$currentUser" != "loginwindow" ]; then
printlog "Changing owner to $currentUser"
chown -R "$currentUser" "$targetDir/$appName"
else
printlog "No user logged in, not changing user"
# set ownership to current user
if [[ "$currentUser" != "loginwindow" && $SYSTEMOWNER -ne 1 ]]; then
printlog "Changing owner to $currentUser" WARN
chown -R "$currentUser" "$targetDir/$appName"
else
printlog "No user logged in or SYSTEMOWNER=1, setting owner to root:wheel" WARN
chown -R root:wheel "$targetDir/$appName"
fi
elif [[ ! -z $CLIInstaller ]]; then
mountname=$(dirname $appPath)
printlog "CLIInstaller exists, running installer command $mountname/$CLIInstaller $CLIArguments" INFO
CLIoutput=$("$mountname/$CLIInstaller" "${CLIArguments[@]}" 2>&1)
CLIstatus=$(echo $?)
deduplicatelogs "$CLIoutput"
if [ $CLIstatus -ne 0 ] ; then
cleanupAndExit 3 "Error installing $mountname/$CLIInstaller $CLIArguments error:\n$logoutput" ERROR
else
printlog "Succesfully ran $mountname/$CLIInstaller $CLIArguments" INFO
fi
printlog "Debugging enabled, update tool output was:\n$logoutput" DEBUG
fi
}
@@ -397,105 +537,135 @@ mountDMG() {
# mount the dmg
printlog "Mounting $tmpDir/$archiveName"
# always pipe 'Y\n' in case the dmg requires an agreement
if ! dmgmount=$(echo 'Y'$'\n' | hdiutil attach "$tmpDir/$archiveName" -nobrowse -readonly | tail -n 1 | cut -c 54- ); then
cleanupAndExit 3 "Error mounting $tmpDir/$archiveName"
fi
dmgmountOut=$(echo 'Y'$'\n' | hdiutil attach "$tmpDir/$archiveName" -nobrowse -readonly )
dmgmountStatus=$(echo $?)
dmgmount=$(echo $dmgmountOut | tail -n 1 | cut -c 54- )
deduplicatelogs "$dmgmountOut"
if [[ $dmgmountStatus -ne 0 ]] ; then
#if ! dmgmount=$(echo 'Y'$'\n' | hdiutil attach "$tmpDir/$archiveName" -nobrowse -readonly | tail -n 1 | cut -c 54- ); then
cleanupAndExit 3 "Error mounting $tmpDir/$archiveName error:\n$logoutput" ERROR
fi
if [[ ! -e $dmgmount ]]; then
printlog "Error mounting $tmpDir/$archiveName"
cleanupAndExit 3
cleanupAndExit 3 "Error accessing mountpoint for $tmpDir/$archiveName error:\n$logoutput" ERROR
fi
printlog "Debugging enabled, dmgmount output was:\n$logoutput" DEBUG
printlog "Mounted: $dmgmount"
printlog "Mounted: $dmgmount" INFO
}
installFromDMG() {
mountDMG
installAppWithPath "$dmgmount/$appName"
}
installFromPKG() {
# verify with spctl
printlog "Verifying: $archiveName"
if ! spctlout=$(spctl -a -vv -t install "$archiveName" 2>&1 ); then
printlog "Error verifying $archiveName"
cleanupAndExit 4
printlog "File list: $(ls -lh "$archiveName")" DEBUG
printlog "File type: $(file "$archiveName")" DEBUG
spctlOut=$(spctl -a -vv -t install "$archiveName" 2>&1 )
spctlStatus=$(echo $?)
printlog "spctlOut is $spctlOut" DEBUG
teamID=$(echo $spctlOut | awk -F '(' '/origin=/ {print $2 }' | tr -d '()' )
# Apple signed software has no teamID, grab entire origin instead
if [[ -z $teamID ]]; then
teamID=$(echo $spctlOut | awk -F '=' '/origin=/ {print $NF }')
fi
deduplicatelogs "$spctlOut"
if [[ $spctlStatus -ne 0 ]] ; then
#if ! spctlout=$(spctl -a -vv -t install "$archiveName" 2>&1 ); then
cleanupAndExit 4 "Error verifying $archiveName error:\n$logoutput" ERROR
fi
teamID=$(echo $spctlout | awk -F '(' '/origin=/ {print $2 }' | tr -d '()' )
# Apple signed software has no teamID, grab entire origin instead
if [[ -z $teamID ]]; then
teamID=$(echo $spctlout | awk -F '=' '/origin=/ {print $NF }')
fi
printlog "Team ID: $teamID (expected: $expectedTeamID )"
if [ "$expectedTeamID" != "$teamID" ]; then
printlog "Team IDs do not match!"
cleanupAndExit 5
cleanupAndExit 5 "Team IDs do not match!" ERROR
fi
# Check version of pkg to be installed if packageID is set
if [[ $packageID != "" && $appversion != "" ]]; then
printlog "Checking package version."
pkgutil --expand "$archiveName" "$archiveName"_pkg
#printlog "$(cat "$archiveName"_pkg/Distribution | xpath '//installer-gui-script/pkg-ref[@id][@version]' 2>/dev/null)"
appNewVersion=$(cat "$archiveName"_pkg/Distribution | xpath '//installer-gui-script/pkg-ref[@id][@version]' 2>/dev/null | grep -i "$packageID" | tr ' ' '\n' | grep -i version | cut -d \" -f 2) #sed -E 's/.*\"([0-9.]*)\".*/\1/g'
rm -r "$archiveName"_pkg
baseArchiveName=$(basename $archiveName)
expandedPkg="$tmpDir/${baseArchiveName}_pkg"
pkgutil --expand "$archiveName" "$expandedPkg"
appNewVersion=$(cat "$expandedPkg"/Distribution | xpath 'string(//installer-gui-script/pkg-ref[@id][@version]/@version)' 2>/dev/null )
rm -r "$expandedPkg"
printlog "Downloaded package $packageID version $appNewVersion"
if [[ $appversion == $appNewVersion ]]; then
printlog "Downloaded version of $name is the same as installed."
if [[ $INSTALL != "force" ]]; then
message="$name, version $appNewVersion, is the latest version."
message="$name, version $appNewVersion, is the latest version."
if [[ $currentUser != "loginwindow" && $NOTIFY == "all" ]]; then
printlog "notifying"
displaynotification "$message" "No update for $name!"
fi
cleanupAndExit 0 "No new version to install"
cleanupAndExit 0 "No new version to install" REQ
else
printlog "Using force to install anyway."
fi
fi
fi
# skip install for DEBUG
if [ "$DEBUG" -ne 0 ]; then
printlog "DEBUG enabled, skipping installation"
# skip install for DEBUG 1
if [ "$DEBUG" -eq 1 ]; then
printlog "DEBUG enabled, skipping installation" DEBUG
return 0
fi
# check for root
if [ "$(whoami)" != "root" ]; then
# not running as root
cleanupAndExit 6 "not running as root, exiting"
# skip install for DEBUG 2
if [ "$DEBUG" -eq 2 ]; then
cleanupAndExit 0 "DEBUG mode 2 enabled, exiting" DEBUG
fi
# install pkg
printlog "Installing $archiveName to $targetDir"
if ! installer -pkg "$archiveName" -tgt "$targetDir" ; then
printlog "error installing $archiveName"
cleanupAndExit 9
pkgInstall=$(installer -verbose -dumplog -pkg "$archiveName" -tgt "$targetDir" 2>&1)
pkgInstallStatus=$(echo $?)
sleep 1
pkgEndTime=$(date "+$LogDateFormat")
pkgInstall+=$(echo "\nOutput of /var/log/install.log below this line.\n")
pkgInstall+=$(echo "----------------------------------------------------------\n")
pkgInstall+=$(awk -v "b=$starttime" -v "e=$pkgEndTime" -F ',' '$1 >= b && $1 <= e' /var/log/install.log)
deduplicatelogs "$pkgInstall"
if [[ $pkgInstallStatus -ne 0 ]] && [[ $logoutput == *"requires Rosetta 2"* ]] && [[ $rosetta2 == no ]]; then
printlog "Package requires Rosetta 2, Installing Rosetta 2 and Installing Package" INFO
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
rosetta2=yes
installFromPKG
fi
if [[ $pkginstallstatus -ne 0 ]] ; then
#if ! installer -pkg "$archiveName" -tgt "$targetDir" ; then
cleanupAndExit 9 "Error installing $archiveName error:\n$logoutput" ERROR
fi
printlog "Debugging enabled, installer output was:\n$logoutput" DEBUG
}
installFromZIP() {
# unzip the archive
printlog "Unzipping $archiveName"
# tar -xf "$archiveName"
# note: when you expand a zip using tar in Mojave the expanded
# app will never pass the spctl check
# unzip -o -qq "$archiveName"
# note: githubdesktop fails spctl verification when expanded
# with unzip
ditto -x -k "$archiveName" "$tmpDir"
installAppWithPath "$tmpDir/$appName"
}
@@ -512,17 +682,29 @@ installPkgInDmg() {
# locate pkg in dmg
if [[ -z $pkgName ]]; then
# find first file ending with 'pkg'
findfiles=$(find "$dmgmount" -iname "*.pkg" -maxdepth 1 )
findfiles=$(find "$dmgmount" -iname "*.pkg" -type f -maxdepth 1 )
printlog "Found pkg(s):\n$findfiles" DEBUG
filearray=( ${(f)findfiles} )
if [[ ${#filearray} -eq 0 ]]; then
cleanupAndExit 20 "couldn't find pkg in dmg $archiveName"
cleanupAndExit 20 "couldn't find pkg in dmg $archiveName" ERROR
fi
archiveName="${filearray[1]}"
printlog "found pkg: $archiveName"
else
# it is now safe to overwrite archiveName for installFromPKG
archiveName="$dmgmount/$pkgName"
if [[ -s "$dmgmount/$pkgName" ]] ; then # was: $tmpDir
archiveName="$dmgmount/$pkgName"
else
# try searching for pkg
findfiles=$(find "$dmgmount" -iname "$pkgName") # was: $tmpDir
printlog "Found pkg(s):\n$findfiles" DEBUG
filearray=( ${(f)findfiles} )
if [[ ${#filearray} -eq 0 ]]; then
cleanupAndExit 20 "couldn't find pkg “$pkgName” in dmg $archiveName" ERROR
fi
# it is now safe to overwrite archiveName for installFromPKG
archiveName="${filearray[1]}"
fi
fi
printlog "found pkg: $archiveName"
# installFromPkgs
installFromPKG
@@ -536,17 +718,29 @@ installPkgInZip() {
# locate pkg in zip
if [[ -z $pkgName ]]; then
# find first file ending with 'pkg'
findfiles=$(find "$tmpDir" -iname "*.pkg" -maxdepth 2 )
findfiles=$(find "$tmpDir" -iname "*.pkg" -type f -maxdepth 2 )
printlog "Found pkg(s):\n$findfiles" DEBUG
filearray=( ${(f)findfiles} )
if [[ ${#filearray} -eq 0 ]]; then
cleanupAndExit 20 "couldn't find pkg in zip $archiveName"
cleanupAndExit 20 "couldn't find pkg in zip $archiveName" ERROR
fi
archiveName="${filearray[1]}"
# it is now safe to overwrite archiveName for installFromPKG
archiveName="${filearray[1]}"
printlog "found pkg: $archiveName"
else
# it is now safe to overwrite archiveName for installFromPKG
archiveName="$tmpDir/$pkgName"
if [[ -s "$tmpDir/$pkgName" ]]; then
archiveName="$tmpDir/$pkgName"
else
# try searching for pkg
findfiles=$(find "$tmpDir" -iname "$pkgName")
filearray=( ${(f)findfiles} )
if [[ ${#filearray} -eq 0 ]]; then
cleanupAndExit 20 "couldn't find pkg “$pkgName” in zip $archiveName" ERROR
fi
# it is now safe to overwrite archiveName for installFromPKG
archiveName="${filearray[1]}"
printlog "found pkg: $archiveName"
fi
fi
# installFromPkgs
@@ -564,7 +758,7 @@ installAppInDmgInZip() {
findfiles=$(find "$tmpDir" -iname "*.dmg" -maxdepth 2 )
filearray=( ${(f)findfiles} )
if [[ ${#filearray} -eq 0 ]]; then
cleanupAndExit 20 "couldn't find dmg in zip $archiveName"
cleanupAndExit 20 "couldn't find dmg in zip $archiveName" ERROR
fi
archiveName="$(basename ${filearray[1]})"
# it is now safe to overwrite archiveName for installFromDMG
@@ -583,22 +777,39 @@ runUpdateTool() {
if [[ -x $updateTool ]]; then
printlog "running $updateTool $updateToolArguments"
if [[ -n $updateToolRunAsCurrentUser ]]; then
runAsUser $updateTool ${updateToolArguments}
updateOutput=$(runAsUser $updateTool ${updateToolArguments} 2>&1)
updateStatus=$(echo $?)
else
$updateTool ${updateToolArguments}
updateOutput=$($updateTool ${updateToolArguments} 2>&1)
updateStatus=$(echo $?)
fi
if [[ $? -ne 0 ]]; then
cleanupAndExit 15 "Error running $updateTool"
sleep 1
updateEndTime=$(date "+$updateToolLogDateFormat")
deduplicatelogs $updateOutput
if [[ -n $updateToolLog ]]; then
updateOutput+=$(echo "Output of Installer log of $updateToolLog below this line.\n")
updateOutput+=$(echo "----------------------------------------------------------\n")
updateOutput+=$(awk -v "b=$updatestarttime" -v "e=$updateEndTime" -F ',' '$1 >= b && $1 <= e' $updateToolLog)
fi
if [[ $updateStatus -ne 0 ]]; then
printlog "Error running $updateTool, Procceding with normal installation. Exit Status: $updateStatus Error:\n$logoutput" WARN
return 1
if [[ $type == updateronly ]]; then
cleanupAndExit 77 "No Download URL Set, this is an update only application and the updater failed" ERROR
fi
elif [[ $updateStatus -eq 0 ]]; then
printlog "Debugging enabled, update tool output was:\n$logoutput" DEBUG
fi
else
printlog "couldn't find $updateTool, continuing normally"
printlog "couldn't find $updateTool, continuing normally" WARN
return 1
fi
return 0
}
finishing() {
printlog "Finishing"
printlog "Finishing..."
sleep 10 # wait a moment to let spotlight catch up
getAppVersion
@@ -608,12 +819,42 @@ finishing() {
message="Installed $name, version $appversion"
fi
printlog "$message"
printlog "$message" REQ
if [[ $currentUser != "loginwindow" && ( $NOTIFY == "success" || $NOTIFY == "all" ) ]]; then
printlog "notifying"
displaynotification "$message" "$name update/installation complete!"
if [[ $updateDetected == "YES" ]]; then
displaynotification "$message" "$name update complete!"
else
displaynotification "$message" "$name installation complete!"
fi
fi
}
# Detect if there is an app actively making a display sleep assertion, e.g.
# KeyNote, PowerPoint, Zoom, or Webex.
# See: https://developer.apple.com/documentation/iokit/iopmlib_h/iopmassertiontypes
hasDisplaySleepAssertion() {
# Get the names of all apps with active display sleep assertions
local apps="$(/usr/bin/pmset -g assertions | /usr/bin/awk '/NoDisplaySleepAssertion | PreventUserIdleDisplaySleep/ && match($0,/\(.+\)/) && ! /coreaudiod/ {gsub(/^.*\(/,"",$0); gsub(/\).*$/,"",$0); print};')"
if [[ ! "${apps}" ]]; then
# No display sleep assertions detected
return 1
fi
# Create an array of apps that need to be ignored
local ignore_array=("${(@s/,/)IGNORE_DND_APPS}")
for app in ${(f)apps}; do
if (( ! ${ignore_array[(Ie)${app}]} )); then
# Relevant app with display sleep assertion detected
printlog "Display sleep assertion detected by ${app}."
return 0
fi
done
# No relevant display sleep assertion detected
return 1
}

View File

@@ -20,9 +20,11 @@ export PATH=/usr/bin:/bin:/usr/sbin:/sbin
# NOTE: adjust these variables:
# set to 0 for production, 1 for debugging
# set to 0 for production, 1 or 2 for debugging
# while debugging, items will be downloaded to the parent directory of this script
# also no actual installation will be performed
# debug mode 1 will download to the directory the script is run in, but will not check the version
# debug mode 2 will download to the temp directory, check for blocking processes, check the version, but will not install anything or remove the current version
DEBUG=1
# notify behavior
@@ -37,29 +39,36 @@ NOTIFY=success
BLOCKING_PROCESS_ACTION=tell_user
# options:
# - ignore continue even when blocking processes are found
# - quit app will be told to quit nicely, if running
# - quit app will be told to quit nicely if running
# - quit_kill told to quit twice, then it will be killed
# Could be great for service apps, if they do not respawn
# Could be great for service apps if they do not respawn
# - silent_fail exit script without prompt or installation
# - prompt_user show a user dialog for each blocking process found
# abort after three attempts to quit
# (only if user accepts to quit the apps, otherwise
# the update is cancelled).
# - prompt_user show a user dialog for each blocking process found,
# user can choose "Quit and Update" or "Not Now".
# When "Quit and Update" is chosen, blocking process
# will be told to quit. Installomator will wait 30 seconds
# before checking again in case Save dialogs etc are being responded to.
# Installomator will abort if quitting after three tries does not succeed.
# "Not Now" will exit Installomator.
# - prompt_user_then_kill
# show a user dialog for each blocking process found,
# attempt to quit two times, kill the process finally
# user can choose "Quit and Update" or "Not Now".
# When "Quit and Update" is chosen, blocking process
# will be terminated. Installomator will abort if terminating
# after two tries does not succeed. "Not Now" will exit Installomator.
# - prompt_user_loop
# Like prompt-user, but clicking "Not Now", will just wait an hour,
# and then it will ask again.
# WARNING! It might block the MDM agent on the machine, as
# the scripts gets stuct in waiting until the hour has passed,
# the script will not exit, it will pause until the hour has passed,
# possibly blocking for other management actions in this time.
# - tell_user User will be showed a notification about the important update,
# but user is only allowed to quit and continue, and then we
# ask the app to quit.
# but user is only allowed to Quit and Continue, and then we
# ask the app to quit. This is default.
# - tell_user_then_kill
# Show dialog 2 times, and if the quitting fails, the
# blocking processes will be killed.
# User will be showed a notification about the important update,
# but user is only allowed to Quit and Continue. If the quitting fails,
# the blocking processes will be terminated.
# - kill kill process without prompting or giving the user a chance to save
@@ -71,6 +80,7 @@ LOGO=appstore
# - mosyleb Mosyle Business
# - mosylem Mosyle Manager (Education)
# - addigy Addigy
# - microsoft Microsoft Endpoint Manager (Intune)
# path can also be set in the command call, and if file exists, it will be used.
# Like 'LOGO="/System/Applications/App\ Store.app/Contents/Resources/AppIcon.icns"'
# (spaces have to be escaped).
@@ -79,18 +89,25 @@ LOGO=appstore
# App Store apps handling
IGNORE_APP_STORE_APPS=no
# options:
# - no If installed app is from App Store (which include VPP installed apps)
# it will not be touched, no matter it's version (default)
# - yes Replace App Store (and VPP) version of app and handle future
# - no If the installed app is from App Store (which include VPP installed apps)
# it will not be touched, no matter its version (default)
# - yes Replace App Store (and VPP) version of the app and handle future
# updates using Installomator, even if latest version.
# Shouldnt give any problems for the user in most cases.
# Known bad example: Slack will loose all settings.
# Known bad example: Slack will lose all settings.
# Owner of copied apps
SYSTEMOWNER=0
# options:
# - 0 Current user will be owner of copied apps, just like if they
# installed it themselves (default).
# - 1 root:wheel will be set on the copied app.
# Useful for shared machines.
# install behavior
INSTALL=""
# options:
# - When not set, software will only be installed
# - When not set, the software will only be installed
# if it is newer/different in version
# - force Install even if its the same version
@@ -98,9 +115,29 @@ INSTALL=""
# Re-opening of closed app
REOPEN="yes"
# options:
# - yes App wil be reopened if it was closed
# - yes App will be reopened if it was closed
# - no App not reopened
# Only let Installomator return the name of the label
# RETURN_LABEL_NAME=0
# options:
# - 1 Installomator will return the name of the label and exit, so last line of
# output will be that name. When Installomator is locally installed and we
# use DEPNotify, then DEPNotify can present a more nice name to the user,
# instead of just the label name.
# Interrupt Do Not Disturb (DND) full screen apps
INTERRUPT_DND="yes"
# options:
# - yes Script will run without checking for DND full screen apps.
# - no Script will exit when an active DND full screen app is detected.
# Comma separated list of app names to ignore when evaluating DND
IGNORE_DND_APPS=""
# example that will ignore browsers when evaluating DND:
# IGNORE_DND_APPS="firefox,Google Chrome,Safari,Microsoft Edge,Opera,Amphetamine,caffeinate"
# NOTE: How labels work
@@ -124,7 +161,7 @@ REOPEN="yes"
#
# - packageID: (optional)
# The package ID of a pkg
# If given, will be used to find version of installed software, instead of searching for an app.
# If given, will be used to find the version of installed software, instead of searching for an app.
# Usefull if a pkg does not install an app.
# See label installomator_st
#
@@ -132,9 +169,15 @@ REOPEN="yes"
# URL to download the dmg.
# Can be generated with a series of commands (see BBEdit for an example).
#
# - curlOptions: (array, optional)
# Options to the curl command, needed for curl to be able to download the software.
# Usually used for adding extra headers that some servers need in order to serve the file.
# curlOptions=( -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15" )
# (See “mocha”-labels, for examples on labels, and buildLabel.sh for header-examples.)
#
# - appNewVersion: (optional)
# Version of the downloaded software.
# If given, it will be compared to installed version, to see if download is different.
# If given, it will be compared to the installed version, to see if the download is different.
# It does not check for newer or not, only different.
#
# - versionKey: (optional)
@@ -164,6 +207,8 @@ REOPEN="yes"
# - archiveName: (optional)
# The name of the downloaded file.
# When not given the archiveName is derived from the $name.
# Note: This has to be defined BEFORE calling downloadURLFromGit or
# versionFromGit functions in the label.
#
# - appName: (optional)
# File name of the app bundle in the dmg to verify and copy (include .app).
@@ -186,7 +231,7 @@ REOPEN="yes"
# blockingProcesses=( NONE )
#
# - pkgName: (optional, only used for pkgInDmg, dmgInZip, and appInDmgInZip)
# File name of the pkg/dmg file _inside_ the dmg or zip
# File name or path to the pkg/dmg file _inside_ the dmg or zip.
# When not given the pkgName is derived from the $name
#
# - updateTool:
@@ -196,8 +241,64 @@ REOPEN="yes"
# $updateTool $updateArguments
# Will be run instead of of downloading and installing a complete new version.
# Use this when the updateTool does differential and optimized downloads.
# e.g. msupdate
# e.g. msupdate on various Microsoft labels
#
# - updateToolRunAsCurrentUser:
# When this variable is set (any value), $updateTool will be run as the current user.
#
# - CLIInstaller:
# - CLIArguments:
# If the downloaded dmg is an installer that we can call using CLI, we can
# use these two variables for what to call.
# We need to define `name` for the installed app (to be version checked), as well as
# `installerTool` for the installer app (if named differently than `name`. Installomator
# will add the path to the folder/disk image with the binary, and it will be called like this:
`$CLIInstaller $CLIArguments`
# For most installations `CLIInstaller` should contain the `installerTool` for the CLI call
# (if its the same).
# We can support a whole range of other software titles by implementing this.
# See label adobecreativeclouddesktop
#
# - installerTool:
# Introduced as part of `CLIInstaller`. If the installer in the DMG or ZIP is named
# differently than the installed app, then this variable can be used to name the
# installer that should be located after mounting/expanding the downloaded archive.
# See label adobecreativeclouddesktop
#
### Logging
# Logging behavior
LOGGING="INFO"
# options:
# - DEBUG Everything is logged
# - INFO (default) normal logging level
# - WARN only warning
# - ERROR only errors
# - REQ ????
# MDM profile name
MDMProfileName=""
# options:
# - MDM Profile Addigy has this name on the profile
# - Mosyle Corporation MDM Mosyle uses this name on the profile
# From the LOGO variable we can know if Addigy og Mosyle is used, so if that variable
# is either of these, and this variable is empty, then we will auto detect this.
# Datadog logging used
datadogAPI=""
# Simply add your own API key for this in order to have logs sent to Datadog
# See more here: https://www.datadoghq.com/product/log-management/
# Log Date format used when parsing logs for debugging, this is the default used by
# install.log, override this in the case statements if you need something custom per
# application (See adobeillustrator). Using stadard GNU Date formatting.
LogDateFormat="%Y-%m-%d %H:%M:%S"
# Get the start time for parsing install.log if we fail.
starttime=$(date "+$LogDateFormat")
# Check if we have rosetta installed
if [[ $(/usr/bin/arch) == "arm64" ]]; then
if ! arch -x86_64 /usr/bin/true >/dev/null 2>&1; then # pgrep oahd >/dev/null 2>&1
rosetta2=no
fi
fi

View File

@@ -0,0 +1,9 @@
1passwordcli)
name="1Password CLI"
type="pkg"
#packageID="com.1password.op"
downloadURL=$(curl -fs https://app-updates.agilebits.com/product_history/CLI | grep -m 1 -i op_apple_universal | cut -d'"' -f 2)
appNewVersion=$(echo $downloadURL | sed -E 's/.*\/[a-zA-Z_]*([0-9.]*)\..*/\1/g')
appCustomVersion(){ /usr/local/bin/op -v }
expectedTeamID="2BUA8C4S2C"
;;

View File

@@ -0,0 +1,17 @@
adobecreativeclouddesktop)
name="Adobe Creative Cloud"
#appName="Install.app"
type="dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL=$(curl -fs "https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html" | grep -o "https*.*macarm64.*dmg" | cut -d '"' -f1 | head -1)
elif [[ $(arch) == "i386" ]]; then
downloadURL=$(curl -fs "https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html" | grep -o "https*.*osx10.*dmg" | cut -d '"' -f1 | head -1)
fi
#downloadURL=$(curl -fs "https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html" | grep -o "https*.*dmg" | head -1)
appNewVersion=$(curl -fs "https://helpx.adobe.com/creative-cloud/release-note/cc-release-notes.html" | grep "mandatory" | head -1 | grep -o "Version *.* released" | cut -d " " -f2)
installerTool="Install.app"
CLIInstaller="Install.app/Contents/MacOS/Install"
CLIArguments=(--mode=silent)
expectedTeamID="JQ525L2MZD"
Company="Adobe"
;;

View File

@@ -3,6 +3,6 @@ airserver)
name="AirServer"
type="dmg"
downloadURL="https://www.airserver.com/download/mac/latest"
#appNewVersion=$() # Cannot find version history or release notes on home page
appNewVersion=$(curl -fsIL "${downloadURL}" | grep -i "location" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g')
expectedTeamID="6C755KS5W3"
;;

View File

@@ -0,0 +1,7 @@
alephone)
name="Aleph One"
type="dmg"
downloadURL=$(downloadURLFromGit Aleph-One-Marathon alephone)
appNewVersion=$(versionFromGit Aleph-One-Marathon alephone)
expectedTeamID="E8K89CXZE7"
;;

View File

@@ -0,0 +1,7 @@
amazoncorretto8jdk)
name="Amazon Corretto 8 JDK"
type="pkg"
downloadURL="https://corretto.aws/downloads/latest/amazon-corretto-8-x64-macos-jdk.pkg"
appNewVersion=$(curl -s https://raw.githubusercontent.com/corretto/corretto-8/develop/CHANGELOG.md | grep "## Corretto version" | head -n 1 | awk '{ print $4; exit}')
expectedTeamID="94KV3E626L"
;;

View File

@@ -1,5 +1,4 @@
androidfiletransfer)
#credit: Sam Ess (saess-sep)
name="Android File Transfer"
type="dmg"
downloadURL="https://dl.google.com/dl/androidjumper/mtp/current/AndroidFileTransfer.dmg"

View File

@@ -2,5 +2,6 @@ apparency)
name="Apparency"
type="dmg"
downloadURL="https://www.mothersruin.com/software/downloads/Apparency.dmg"
appNewVersion=$(curl -fs https://mothersruin.com/software/Apparency/data/ApparencyVersionInfo.plist | grep -A1 CFBundleShortVersionString | tail -1 | sed -E 's/.*>([0-9.]*)<.*/\1/g')
expectedTeamID="936EB786NH"
;;

View File

@@ -1,7 +1,7 @@
appcleaner)
# credit: Tadayuki Onishi (@kenchan0130)
name="AppCleaner"
type="zip"
downloadURL=$(curl -fs https://freemacsoft.net/appcleaner/Updates.xml | xpath '//rss/channel/*/enclosure/@url' 2>/dev/null | tr " " "\n" | sort | tail -1 | cut -d '"' -f 2)
downloadURL=$(curl -fs https://freemacsoft.net/appcleaner/Updates.xml | xpath '//rss/channel/item[last()]/enclosure/@url' 2>/dev/null | tr " " "\n" | sort | tail -1 | cut -d '"' -f 2)
appNewVersion=$(curl -fsL "https://freemacsoft.net/appcleaner/Updates.xml" | xpath '//rss/channel/item[last()]/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f 2)
expectedTeamID="X85ZX835W9"
;;

View File

@@ -3,5 +3,5 @@ applenyfonts)
type="pkgInDmg"
downloadURL="https://devimages-cdn.apple.com/design/resources/download/NY.dmg"
packageID="com.apple.pkg.NYFonts"
expectedTeamID="Development Update"
expectedTeamID="Software Update"
;;

View File

@@ -0,0 +1,7 @@
applesfarabic)
name="San Francisco Arabic"
type="pkgInDmg"
downloadURL="https://devimages-cdn.apple.com/design/resources/download/SF-Arabic.dmg"
packageID="com.apple.pkg.SFArabicFonts"
expectedTeamID="Software Update"
;;

View File

@@ -3,5 +3,5 @@ applesfcompact)
type="pkgInDmg"
downloadURL="https://devimages-cdn.apple.com/design/resources/download/SF-Compact.dmg"
packageID="com.apple.pkg.SanFranciscoCompact"
expectedTeamID="Development Update"
expectedTeamID="Software Update"
;;

View File

@@ -3,5 +3,5 @@ applesfpro)
type="pkgInDmg"
downloadURL="https://devimages-cdn.apple.com/design/resources/download/SF-Pro.dmg"
packageID="com.apple.pkg.SanFranciscoPro"
expectedTeamID="Development Update"
expectedTeamID="Software Update"
;;

View File

@@ -2,6 +2,7 @@ applesfsymbols|\
sfsymbols)
name="SF Symbols"
type="pkgInDmg"
downloadURL="https://developer.apple.com/design/downloads/SF-Symbols.dmg"
downloadURL=$( curl -fs "https://developer.apple.com/sf-symbols/" | grep -oe "https.*Symbols.*\.dmg" | head -1 )
appNewVersion=$( echo "$downloadURL" | sed -E 's/.*SF-Symbols-([0-9.]*)\..*/\1/g')
expectedTeamID="Software Update"
;;

View File

@@ -1,8 +1,7 @@
audacity)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="Audacity"
type="dmg"
downloadURL=$(downloadURLFromGit audacity audacity)
appNewVersion=$(versionFromGit audacity audacity)
expectedTeamID="T3N4JQ7YY6"
expectedTeamID="AWEYX923UX"
;;

View File

@@ -1,7 +1,7 @@
authydesktop)
name="Authy Desktop"
type="dmg"
downloadURL="https://electron.authy.com/download?channel=stable&arch=x64&platform=darwin&version=latest&product=authy"
downloadURL=$(curl -s -w '%{redirect_url}' -o /dev/null "https://electron.authy.com/download?channel=stable&arch=x64&platform=darwin&version=latest&product=authy" | sed 's/\ /%20/g')
appNewVersion="$(curl -sfL --output /dev/null -r 0-0 "${downloadURL}" --remote-header-name --remote-name -w "%{url_effective}\n" | grep -o -E '([a-zA-Z0-9\_.%-]*)\.(dmg|pkg|zip|tbz)$' | sed -E 's/.*-([0-9.]*)\.dmg/\1/g')"
expectedTeamID="9EVH78F4V4"
;;

View File

@@ -0,0 +1,10 @@
autodeskfusion360admininstall)
name="Autodesk Fusion 360 Admin Install"
type="pkg"
packageID="com.autodesk.edu.fusion360"
downloadURL="https://dl.appstreaming.autodesk.com/production/installers/Autodesk%20Fusion%20360%20Admin%20Install.pkg"
appNewVersion=$(curl -fs "https://dl.appstreaming.autodesk.com/production/97e6dd95735340d6ad6e222a520454db/73e72ada57b7480280f7a6f4a289729f/full.json" | sed -E 's/.*build-version":"([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+).*/\1/g')
expectedTeamID="XXKJ396S2Y"
appName="Autodesk Fusion 360.app"
blockingProcesses=( "Autodesk Fusion 360" "Fusion 360" )
;;

View File

@@ -1,8 +1,6 @@
autopkgr)
# credit: Søren Theilgaard (@theilgaard)
name="AutoPkgr"
type="dmg"
#downloadURL=$(curl -fs "https://api.github.com/repos/lindegroup/autopkgr/releases/latest" | awk -F '"' "/browser_download_url/ && /dmg/ && ! /sig/ && ! /CLI/ && ! /sha256/ { print \$4 }")
downloadURL=$(downloadURLFromGit lindegroup autopkgr)
appNewVersion=$(versionFromGit lindegroup autopkgr)
expectedTeamID="JVY2ZR6SEF"

View File

@@ -0,0 +1,14 @@
axurerp10)
name="Axure RP 10"
type="dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL="https://d3uii9pxdigrx1.cloudfront.net/AxureRP-Setup-arm64.dmg"
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://d3uii9pxdigrx1.cloudfront.net/AxureRP-Setup.dmg"
fi
appNewVersion=$( curl -sL https://www.axure.com/release-history | grep -Eo '[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}' -m 1 )
expectedTeamID="HUMW6UU796"
versionKey="CFBundleVersion"
appName="Axure RP 10.app"
blockingProcesses=( "Axure RP 10" )
;;

View File

@@ -2,7 +2,7 @@ bluejeans)
name="BlueJeans"
type="pkg"
if [[ $(arch) == "arm64" ]]; then
downloadURL=$(curl -fs "https://www.bluejeans.com/downloads" | xmllint --html --format - 2>/dev/null | grep -o "https://.*BlueJeansInstaller.*arm.*.pkg" )
downloadURL=$(curl -fs "https://www.bluejeans.com/downloads" | xmllint --html --format - 2>/dev/null | grep -o "https://.*BlueJeans.*Installer.*arm.*.pkg" )
elif [[ $(arch) == "i386" ]]; then
downloadURL=$(curl -fs "https://www.bluejeans.com/downloads" | xmllint --html --format - 2>/dev/null | grep -o "https://.*BlueJeansInstaller.*x86.*.dmg" | sed 's/dmg/pkg/g')
fi

View File

@@ -1,12 +1,6 @@
boxdrive)
# credit: Isaac Ordonez, Mann consulting (@mannconsulting)
name="Box"
type="pkg"
if [[ $(arch) == "arm64" ]]; then
#Note: https://support.box.com/hc/en-us/articles/1500004479962-Box-Drive-support-on-devices-with-M1-chips
downloadURL="https://e3.boxcdn.net/desktop/pre-releases/mac/BoxDrive.2.20.140-M1-beta.pkg"
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://e3.boxcdn.net/box-installers/desktop/releases/mac/Box.pkg"
fi
downloadURL="https://e3.boxcdn.net/box-installers/desktop/releases/mac/Box.pkg"
expectedTeamID="M683GB7CPW"
;;

View File

@@ -1,15 +1,18 @@
brave)
# credit: @securitygeneration
name="Brave Browser"
type="dmg"
if [[ $(arch) != "i386" ]]; then
printlog "Architecture: arm64 (not i386)"
downloadURL=$(curl -fsIL https://laptop-updates.brave.com/latest/osxarm64/release | grep -i "^location" | awk '{print $2}' | tr -d '\r\n')
downloadURL=$(curl -fsIL https://laptop-updates.brave.com/latest/osxarm64/release | grep -i "^location" | sed -E 's/.*(https.*\.dmg).*/\1/g')
appNewVersion="$(curl -fsL "https://updates.bravesoftware.com/sparkle/Brave-Browser/stable-arm64/appcast.xml" | xpath '//rss/channel/item[last()]/enclosure/@sparkle:version' 2>/dev/null | cut -d '"' -f 2)"
#appNewVersion="96.$(curl -fsL "https://updates.bravesoftware.com/sparkle/Brave-Browser/stable-arm64/appcast.xml" | xpath '//rss/channel/item[last()]/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f 2 | cut -d "." -f1-3)"
else
printlog "Architecture: i386"
downloadURL=$(curl -fsIL https://laptop-updates.brave.com/latest/osx/release | grep -i "^location" | awk '{print $2}' | tr -d '\r\n')
downloadURL=$(curl -fsIL https://laptop-updates.brave.com/latest/osx/release | grep -i "^location" | sed -E 's/.*(https.*\.dmg).*/\1/g')
appNewVersion="$(curl -fsL "https://updates.bravesoftware.com/sparkle/Brave-Browser/stable/appcast.xml" | xpath '//rss/channel/item[last()]/enclosure/@sparkle:version' 2>/dev/null | cut -d '"' -f 2)"
#appNewVersion="96.$(curl -fsL "https://updates.bravesoftware.com/sparkle/Brave-Browser/stable/appcast.xml" | xpath '//rss/channel/item[last()]/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f 2 | cut -d "." -f1-3)"
fi
# downloadURL=$(curl --location --fail --silent "https://updates.bravesoftware.com/sparkle/Brave-Browser/stable/appcast.xml" | xpath '//rss/channel/item[last()]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2)
appNewVersion=$(curl --location --fail --silent "https://updates.bravesoftware.com/sparkle/Brave-Browser/stable/appcast.xml" | xpath '//rss/channel/item[last()]/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f 2)
versionKey="CFBundleVersion"
# downloadURL=$(curl -fsL "https://updates.bravesoftware.com/sparkle/Brave-Browser/stable/appcast.xml" | xpath '//rss/channel/item[last()]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2)
expectedTeamID="KL8N8XSYF4"
;;

View File

@@ -0,0 +1,7 @@
bugdom)
name="Bugdom"
type="dmg"
downloadURL=$(downloadURLFromGit jorio Bugdom)
appNewVersion=$(versionFromGit jorio Bugdom)
expectedTeamID="RVNL7XC27G"
;;

View File

@@ -0,0 +1,7 @@
calcservice)
name="CalcService"
type="zip"
downloadURL="$(curl -fs -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15" "https://www.devontechnologies.com/support/download" | tr '"' "\n" | grep -o "http.*download.*.zip" | grep -i calcservice | head -1)"
appNewVersion="$(echo $downloadURL | sed -E 's/.*\/([0-9.]*)\/.*/\1/g')"
expectedTeamID="679S2QUWR8"
;;

View File

@@ -1,8 +1,9 @@
camostudio)
# credit: Søren Theilgaard (@theilgaard)
name="Camo Studio"
type="zip"
downloadURL="https://reincubate.com/res/labs/camo/camo-macos-latest.zip"
appNewVersion=$(curl -s -L https://reincubate.com/support/camo/release-notes/ | grep -m2 "has-m-t-0" | head -1 | cut -d ">" -f2 | cut -d " " -f1)
#appNewVersion=$(curl -s -L https://reincubate.com/support/camo/release-notes/ | grep -m2 "has-m-t-0" | head -1 | cut -d ">" -f2 | cut -d " " -f1)
appNewVersion=$( curl -fs "https://uds.reincubate.com/release-notes/camo/" | head -1 | cut -d "," -f3 | grep -o -e "[0-9.]*" )
# Camo Studio will ask for admin permissions to install som plug-ins. that has not been handled.
expectedTeamID="Q248YREB53"
;;

12
fragments/labels/canva.sh Normal file
View File

@@ -0,0 +1,12 @@
canva)
name="Canva"
type="dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL=https://desktop-release.canva.com/Canva-latest-arm64.dmg
appNewVersion=$( curl -fsLI -H "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9" -H "accept-encoding: gzip, deflate, br" -H "accept-language: en-US,en;q=0.9" -H "Referrer Policy: strict-origin-when-cross-origin" -H "upgrade-insecure-requests: 1" -H "sec-fetch-dest: document" -H "sec-gpc: 1" -H "sec-fetch-user: ?1" -H "sec-fetch-mode: navigate" -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15" "https://www.canva.com/download/mac/arm/canva-desktop/" | grep -i "^location" | cut -d " " -f2 | tr -d '\r' | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)-*.*\.dmg/\1/g' )
elif [[ $(arch) == "i386" ]]; then
downloadURL=https://desktop-release.canva.com/Canva-latest.dmg
appNewVersion=$( curl -fsLI -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15" -H "accept-encoding: gzip, deflate, br" -H "Referrer Policy: strict-origin-when-cross-origin" -H "upgrade-insecure-requests: 1" -H "sec-fetch-dest: document" -H "sec-gpc: 1" -H "sec-fetch-user: ?1" -H "accept-language: en-US,en;q=0.9" -H "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9" -H "sec-fetch-mode: navigate" "https://www.canva.com/download/mac/intel/canva-desktop/" | grep -i "^location" | cut -d " " -f2 | tr -d '\r' | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)-*.*\.dmg/\1/g' )
fi
expectedTeamID="5HD2ARTBFS"
;;

View File

@@ -0,0 +1,6 @@
chatwork)
name="Chatwork"
type="dmg"
downloadURL="https://desktop-app.chatwork.com/installer/Chatwork.dmg"
expectedTeamID="H34A3H2Y54"
;;

View File

@@ -0,0 +1,7 @@
clipy)
name="Clipy"
type="dmg"
downloadURL=$(downloadURLFromGit Clipy Clipy)
appNewVersion=$(versionFromGit Clipy Clipy)
expectedTeamID="BBCHAJ584H"
;;

View File

@@ -0,0 +1,7 @@
closeio)
name="Close.io"
type="dmg"
downloadURL=$(downloadURLFromGit closeio closeio-desktop-releases)
appNewVersion=$(versionFromGit closeio closeio-desktop-releases)
expectedTeamID="WTNQ6773UC"
;;

View File

@@ -1,8 +1,11 @@
code42)
# credit: Isaac Ordonez, Mann consulting (@mannconsulting)
name="Code42"
type="pkgInDmg"
downloadURL=https://download.code42.com/installs/agent/latest-mac.dmg
if [[ $(arch) == i386 ]]; then
downloadURL="https://download.code42.com/installs/agent/latest-mac.dmg"
elif [[ $(arch) == arm64 ]]; then
downloadURL="https://download.code42.com/installs/agent/latest-mac-arm64.dmg"
fi
expectedTeamID="9YV9435DHD"
blockingProcesses=( NONE )
;;

View File

@@ -0,0 +1,7 @@
daisydisk)
name="DaisyDisk"
type="zip"
downloadURL="https://daisydiskapp.com/downloads/DaisyDisk.zip"
appNewVersion=$( curl -fs 'https://daisydiskapp.com/downloads/appcastReleaseNotes.php?appEdition=Standard' | grep Version | head -1 | sed -E 's/.*Version ([0-9.]*).*/\1/g' )
expectedTeamID="4CBU3JHV97"
;;

View File

@@ -1,7 +1,7 @@
dangerzone)
# credit: Micah Lee (@micahflee)
name="Dangerzone"
type="dmg"
downloadURL=$(curl -s https://dangerzone.rocks/ | grep https://github.com/firstlookmedia/dangerzone/releases/download | grep \.dmg | cut -d'"' -f2)
expectedTeamID="P24U45L8P5"
downloadURL="$(downloadURLFromGit firstlookmedia dangerzone)"
appNewVersion="$(versionFromGit firstlookmedia dangerzone)"
expectedTeamID="N9B95FDWH4"
;;

View File

@@ -1,7 +1,13 @@
dbeaverce)
name="DBeaver"
type="dmg"
downloadURL="https://dbeaver.io/files/dbeaver-ce-latest-macos.dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL="https://dbeaver.io/files/dbeaver-ce-latest-macos-aarch64.dmg"
appNewVersion="$(curl -fsIL "${downloadURL}" | grep -i ^location | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/' | head -1)"
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://dbeaver.io/files/dbeaver-ce-latest-macos.dmg"
appNewVersion="$(curl -fsIL "${downloadURL}" | grep -i ^location | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/' | head -1)"
fi
expectedTeamID="42B6MDKMW8"
blockingProcesses=( dbeaver )
;;

View File

@@ -1,7 +1,8 @@
depnotify)
name="DEPNotify"
type="zip"
downloadURL="https://files.nomad.menu/DEPNotify.zip"
type="pkg"
#packageID="menu.nomad.depnotify"
downloadURL="https://files.nomad.menu/DEPNotify.pkg"
#appNewVersion=$()
expectedTeamID="VRPY9KHGX6"
targetDir="/Applications/Utilities"
;;

View File

@@ -1,8 +1,9 @@
dialog)
dialog|\
swiftdialog)
name="Dialog"
type="pkg"
downloadURL=$(downloadURLFromGit bartreardon Dialog-public )
appNewVersion=$(versionFromGit bartreardon Dialog-public )
packageID="au.csiro.dialogcli"
downloadURL="$(downloadURLFromGit bartreardon swiftDialog)"
appNewVersion="$(versionFromGit bartreardon swiftDialog)"
expectedTeamID="PWA5E9TQ59"
;;

View File

@@ -0,0 +1,8 @@
diskspace)
name="diskspace"
type="pkg"
packageID="com.scriptingosx.diskspace"
downloadURL="$(downloadURLFromGit scriptingosx diskspace)"
appNewVersion="$(versionFromGit scriptingosx diskspace)"
expectedTeamID="JME5BW3F3R"
;;

View File

@@ -1,13 +1,12 @@
docker)
# credit: @securitygeneration
name="Docker"
type="dmg"
#downloadURL="https://download.docker.com/mac/stable/Docker.dmg"
if [[ $(arch) == arm64 ]]; then
downloadURL="https://desktop.docker.com/mac/stable/arm64/Docker.dmg"
appNewVersion=$( curl -fs "https://desktop.docker.com/mac/main/arm64/appcast.xml" | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[last()]' 2>/dev/null | cut -d '"' -f2 )
elif [[ $(arch) == i386 ]]; then
downloadURL="https://desktop.docker.com/mac/stable/amd64/Docker.dmg"
appNewVersion=$( curl -fs "https://desktop.docker.com/mac/main/amd64/appcast.xml" | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[last()]' 2>/dev/null | cut -d '"' -f2 )
fi
appNewVersion=$(curl -ifs https://docs.docker.com/docker-for-mac/release-notes/ | grep ">Docker Desktop Community" | head -1 | sed -n -e 's/^.*Community //p' | cut -d '<' -f1)
expectedTeamID="9BNSXJN65R"
;;

View File

@@ -0,0 +1,9 @@
dockutil)
name="dockutil"
type="pkg"
packageID="dockutil.cli.tool"
downloadURL=$(downloadURLFromGit "kcrawford" "dockutil")
appNewVersion=$(versionFromGit "kcrawford" "dockutil")
expectedTeamID="Z5J8CJBUWC"
blockingProcesses=( NONE )
;;

View File

@@ -0,0 +1,7 @@
easyfind)
name="EasyFind"
type="zip"
downloadURL="$(curl -fs "https://www.devontechnologies.com/apps/freeware" | grep -o "http.*download.*.zip" | grep -i easyfind)"
appNewVersion="$(echo $downloadURL | sed -E 's/.*\/([0-9.]*)\/.*/\1/g')"
expectedTeamID="679S2QUWR8"
;;

View File

@@ -0,0 +1,9 @@
eshareosx)
name="e-Share"
type="pkg"
#packageID="com.ncryptedcloud.e-Share.pkg"
downloadURL=https://www.ncryptedcloud.com/static/downloads/osx/$(curl -fs https://www.ncryptedcloud.com/static/downloads/osx/ | grep -o -i "href.*\".*\"" | cut -d '"' -f2)
versionKey="CFBundleVersion"
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z\-]*_([0-9.]*)\.pkg/\1/g' )
expectedTeamID="X9MBQS7DDC"
;;

View File

@@ -1,7 +1,7 @@
evernote)
name="Evernote"
type="dmg"
downloadURL=$(curl -fs -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15)" "https://evernote.com/download" | grep -i ".dmg" | cut -d '"' -f2)
downloadURL=$(curl -fs -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15)" "https://evernote.com/download" | grep -i ".dmg" | grep -ioe "href.*" | cut -d '"' -f2)
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)-.*/\1/g' )
expectedTeamID="Q79WDW8YH9"
appName="Evernote.app"

View File

@@ -0,0 +1,7 @@
exifrenamer)
name="ExifRenamer"
type="dmg"
downloadURL="https://www.qdev.de/"$(curl -fs "https://www.qdev.de/download.php?file=ExifRenamer.dmg" | grep -o -e "URL=[a-zA-Z/]*.dmg" | cut -d "=" -f2)
appNewVersion=$(curl -fs "https://www.qdev.de/?location=downloads" | grep -A1 -m1 "ExifRenamer" | tail -1 | cut -d ">" -f2 | cut -d " " -f1)
expectedTeamID="MLF9FE35AM"
;;

View File

@@ -0,0 +1,7 @@
fastscripts)
name="FastScripts"
type="zip"
downloadURL=$( curl -fs "https://redsweater.com/fastscripts/appcast3.php" | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | cut -d '"' -f2 )
appNewVersion=$( curl -fs "https://redsweater.com/fastscripts/appcast3.php" | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | cut -d '"' -f2 )
expectedTeamID="493CVA9A35"
;;

View File

@@ -1,13 +1,12 @@
ferdi)
name="Ferdi"
type="zip"
if [[ $(arch) == i386 ]]; then
downloadURL=$(curl --silent --fail "https://api.github.com/repos/getferdi/ferdi/releases/latest" \
| awk -F '"' "/browser_download_url/ && /mac.zip/ && ! /blockmap/ && ! /arm64-mac/ && ! /AppImage/{ print \$4 }")
elif [[ $(arch) == arm64 ]]; then
downloadURL=$(downloadURLFromGit getferdi ferdi )
archiveName="arm64-mac.zip"
fi
if [[ $(arch) == "arm64" ]]; then
archiveName="arm64-mac.zip"
elif [[ $(arch) == "i386" ]]; then
archiveName="Ferdi-[0-9.]*-mac.zip"
fi
downloadURL="$(downloadURLFromGit getferdi ferdi)"
appNewVersion=$(versionFromGit getferdi ferdi )
expectedTeamID="B6J9X9DWFL"
;;

View File

@@ -0,0 +1,7 @@
findanyfile)
name="Find Any File"
type="zip"
downloadURL=$(curl -fs "https://findanyfile.app/appcast2.php" | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | cut -d '"' -f2)
appNewVersion=$(curl -fs "https://findanyfile.app/appcast2.php" | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | cut -d '"' -f2)
expectedTeamID="25856V4B4X"
;;

View File

@@ -2,7 +2,7 @@ firefox)
name="Firefox"
type="dmg"
downloadURL="https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US"
appNewVersion=$(/usr/bin/curl https://www.mozilla.org/en-US/firefox/releases/ --silent | /usr/bin/grep '<html' | /usr/bin/awk -F\" '{ print $8 }') # Credit: William Smith (@meck)
appNewVersion=$(curl -fs https://www.mozilla.org/en-US/firefox/releases/ | grep '<html' | grep -o -i -e "data-latest-firefox=\"[0-9.]*\"" | cut -d '"' -f2)
expectedTeamID="43AQ936H96"
blockingProcesses=( firefox )
;;

View File

@@ -2,7 +2,7 @@ firefox_da)
name="Firefox"
type="dmg"
downloadURL="https://download.mozilla.org/?product=firefox-latest&amp;os=osx&amp;lang=da"
appNewVersion=$(/usr/bin/curl https://www.mozilla.org/en-US/firefox/releases/ --silent | /usr/bin/grep '<html' | /usr/bin/awk -F\" '{ print $8 }') # Credit: William Smith (@meck)
appNewVersion=$(curl -fs https://www.mozilla.org/en-US/firefox/releases/ | grep '<html' | grep -o -i -e "data-latest-firefox=\"[0-9.]*\"" | cut -d '"' -f2)
expectedTeamID="43AQ936H96"
blockingProcesses=( firefox )
;;

View File

@@ -17,7 +17,7 @@ firefox_intl)
printlog "Download not found for that language. Using en-US"
downloadURL="https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US"
fi
appNewVersion=$(/usr/bin/curl -sl https://www.mozilla.org/en-US/firefox/releases/ | /usr/bin/grep '<html' | /usr/bin/awk -F\" '{ print $8 }') # Credit: William Smith (@meck)
appNewVersion=$(curl -fs https://www.mozilla.org/en-US/firefox/releases/ | grep '<html' | grep -o -i -e "data-latest-firefox=\"[0-9.]*\"" | cut -d '"' -f2)
expectedTeamID="43AQ936H96"
blockingProcesses=( firefox )
;;

7
fragments/labels/flux.sh Normal file
View File

@@ -0,0 +1,7 @@
flux)
name="Flux"
type="zip"
downloadURL="https://justgetflux.com/mac/Flux.zip"
expectedTeamID="VZKSA7H9J9"
;;

View File

@@ -0,0 +1,9 @@
forticlient_ztna)
name="FortiClient ZTNA"
type="pkgInDmg"
pkgName="Install.mpkg"
packageID="com.fortinet.forticlient."
downloadURL="https://links.fortinet.com/forticlient/mac/fabricagent"
appNewVersion="$(curl -fsL "$downloadURL" --remote-header-name --remote-name -w "%{url_effective}\n" -r 0-0 | cut -d "_" -f2)"
expectedTeamID="AH4XFXJ7DK"
;;

View File

@@ -1,7 +1,13 @@
front)
name="Front"
type="dmg"
downloadURL="https://dl.frontapp.com/macos/Front.dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL="https://dl.frontapp.com/macos/Front-arm64.dmg"
appNewVersion=$(curl -fs "https://dl.frontapp.com/desktop/updates/latest/mac-arm64/latest-mac.yml" | grep -i version | cut -d " " -f2)
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://dl.frontapp.com/macos/Front.dmg"
appNewVersion=$(curl -fs "https://dl.frontapp.com/desktop/updates/latest/mac/latest-mac.yml" | grep -i version | cut -d " " -f2)
fi
expectedTeamID="X549L7572J"
Company="FrontApp. Inc."
;;

View File

@@ -1,10 +1,9 @@
golang)
# credit: Søren Theilgaard (@theilgaard)
name="GoLang"
type="pkg"
packageID="org.golang.go"
downloadURL="$(curl -fsIL "https://golang.org$(curl -fs "https://golang.org/dl/" | grep -i "downloadBox" | grep "pkg" | tr '"' '\n' | grep "pkg")" | grep -i "^location" | awk '{print $2}' | tr -d '\r\n')"
appNewVersion="$( echo "${downloadURL}" | sed -E 's/.*\/(go[0-9.]*)\..*/\1/g' )" # Version includes letters "go"
downloadURL="https://go.dev$(curl -fs "https://go.dev/dl/" | grep -i "downloadBox" | grep "pkg" | tr '"' '\n' | grep "pkg")"
appNewVersion="$( echo "${downloadURL}" | sed -E 's/.*\/(go[0-9.]*)\..*/\1/g' )" # Version includes letters "go" in the beginning
expectedTeamID="EQHXZ8M8AV"
blockingProcesses=( NONE )
;;

View File

@@ -1,14 +1,7 @@
googlechrome)
name="Google Chrome"
type="dmg"
if [[ $(arch) != "i386" ]]; then
printlog "Architecture: arm64 (not i386)"
downloadURL="https://dl.google.com/chrome/mac/universal/stable/GGRO/googlechrome.dmg"
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac_arm64,stable/{print $3; exit}')
else
printlog "Architecture: i386"
downloadURL="https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac,stable/{print $3; exit}')
fi
downloadURL="https://dl.google.com/chrome/mac/universal/stable/GGRO/googlechrome.dmg"
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac_arm64,stable/{print $3; exit}')
expectedTeamID="EQHXZ8M8AV"
;;

View File

@@ -5,4 +5,5 @@ gpgsuite)
pkgName="Install.pkg"
downloadURL=$(curl -s https://gpgtools.org/ | grep https://releases.gpgtools.org/GPG_Suite- | grep Download | cut -d'"' -f4)
expectedTeamID="PKV8ZPD836"
blockingProcesses=( "GPG Keychain" )
;;

View File

@@ -1,7 +1,8 @@
gpgsync)
# credit: Micah Lee (@micahflee)
name="GPG Sync"
type="pkg"
downloadURL="https://github.com$(curl -s -L https://github.com/firstlookmedia/gpgsync/releases/latest | grep /firstlookmedia/gpgsync/releases/download | grep \.pkg | cut -d'"' -f2)"
packageID="org.firstlook.gpgsync"
downloadURL="$(downloadURLFromGit firstlookmedia gpgsync)"
appNewVersion="$(versionFromGit firstlookmedia gpgsync)"
expectedTeamID="P24U45L8P5"
;;

View File

@@ -0,0 +1,9 @@
grammarly)
name="Grammarly Desktop"
type="dmg"
packageID="com.grammarly.ProjectLlama"
downloadURL=$(curl -fsL "https://download-mac.grammarly.com/appcast.xml" | xpath '//rss/channel/item[1]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2)
expectedTeamID="W8F64X92K3"
appNewVersion=$(curl -is "https://download-mac.grammarly.com/appcast.xml" | grep sparkle:version | tr ',' '\n' | grep sparkle:version | cut -d '"' -f 4)
appName="Grammarly Installer.app"
;;

View File

@@ -0,0 +1,7 @@
houdahspot)
name="HoudahSpot"
type="zip"
downloadURL="$(curl -fs https://www.houdah.com/houdahSpot/updates/cast6.php | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2)"
appNewVersion="$(curl -fs https://www.houdah.com/houdahSpot/updates/cast6.php | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2)"
expectedTeamID="DKGQD8H8ZY"
;;

View File

@@ -0,0 +1,7 @@
ibarcoder)
name="iBarcoder"
type="dmg"
downloadURL="https://cristallight.com/Downloads/mac/ibarcoder.dmg"
appNewVersion="$(curl -fs "https://cristallight.com/iBarcoder/" | grep -i version: | head -1 | awk '{print $2}')"
expectedTeamID="JAXVB9AH9M"
;;

7
fragments/labels/iina.sh Normal file
View File

@@ -0,0 +1,7 @@
iina)
name="IINA"
type="dmg"
downloadURL=$(downloadURLFromGit iina iina )
appNewVersion=$(versionFromGit iina iina )
expectedTeamID="67CQ77V27R"
;;

View File

@@ -2,7 +2,8 @@ inkscape)
# credit: Søren Theilgaard (@theilgaard)
name="Inkscape"
type="dmg"
downloadURL="https://inkscape.org$(curl -fs https://inkscape.org$(curl -fsJL https://inkscape.org/release/ | grep "/release/" | grep en | head -n 1 | cut -d '"' -f 6)mac-os-x/1010-1015/dl/ | grep "click here" | cut -d '"' -f 2)"
#appNewVersion=$(curl -fsJL https://inkscape.org/release/ | grep "<h2>Inkscape" | cut -d '>' -f 3 | cut -d '<' -f 1 | sed 's/[^0-9.]*//g') # Can't figure out where exact new version is found. Currently returns 1.0, but version is "1.0.0 (4035a4f)"
downloadURL="https://inkscape.org$(curl -fs https://inkscape.org$(curl -fsJL https://inkscape.org/release/ | grep "/release/" | grep en | head -n 1 | cut -d '"' -f 6)mac-os-x/dmg/dl/ | grep "click here" | cut -d '"' -f 2)"
appCustomVersion() { /Applications/Inkscape.app/Contents/MacOS/inkscape --version | cut -d " " -f2 }
appNewVersion=$(curl -fsJL https://inkscape.org/release/ | grep "<title>" | grep -o -e "[0-9.]*")
expectedTeamID="SW3D6BB6A6"
;;

View File

@@ -0,0 +1,10 @@
installomator|\
installomator_theile)
name="Installomator"
type="pkg"
packageID="com.scriptingosx.Installomator"
downloadURL=$(downloadURLFromGit Installomator Installomator )
appNewVersion=$(versionFromGit Installomator Installomator )
expectedTeamID="JME5BW3F3R"
blockingProcesses=( NONE )
;;

View File

@@ -1,11 +0,0 @@
installomator_theile)
# credit: Søren Theilgaard (@theilgaard)
name="Installomator"
type="pkg"
packageID="dk.theilgaard.pkg.Installomator"
downloadURL=$(downloadURLFromGit theile Installomator )
appNewVersion=$(versionFromGit theile Installomator )
#appCustomVersion(){/usr/local/bin/Installomator.sh version | tail -1 | awk '{print $4}'}
expectedTeamID="FXW6QXBFW5"
blockingProcesses=( NONE )
;;

View File

@@ -0,0 +1,7 @@
itsycal)
name="Itsycal"
type="zip"
downloadURL=$(curl -fs https://s3.amazonaws.com/itsycal/itsycal-apple-silicon.xml | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2)
appNewVersion=$(curl -fs https://s3.amazonaws.com/itsycal/itsycal-apple-silicon.xml | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2)
expectedTeamID="HFT3T55WND"
;;

View File

@@ -1,7 +1,8 @@
jabradirect)
name="Jabra Direct"
type="pkgInDmg"
packageID="com.jabra.directonline"
downloadURL="https://jabraxpressonlineprdstor.blob.core.windows.net/jdo/JabraDirectSetup.dmg"
appNewVersion=$(curl -fs https://www.jabra.com/Support/release-notes/release-note-jabra-direct | grep -oe "Release version:.*[0-9.]*<" | head -1 | cut -d ">" -f2 | cut -d "<" -f1 | sed 's/ //g')
expectedTeamID="55LV32M29R"
appNewVersion=$(curl -fs https://www.jabra.com/Support/release-notes/release-note-jabra-direct | grep -o "Jabra Direct macOS:*.*<" | head -1 | cut -d ":" -f2 | cut -d " " -f2 | cut -d "<" -f1)
;;

View File

@@ -0,0 +1,13 @@
jetbrainsrubymine)
name="RubyMine"
type="dmg"
jetbrainscode="RM"
if [[ $(arch) == i386 ]]; then
jetbrainsdistribution="mac"
elif [[ $(arch) == arm64 ]]; then
jetbrainsdistribution="macM1"
fi
downloadURL="https://download.jetbrains.com/product?code=${jetbrainscode}&latest&distribution=${jetbrainsdistribution}"
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "location" | tail -1 | sed -E 's/.*\/[a-zA-Z-]*-([0-9.]*).*[-.].*dmg/\1/g' )
expectedTeamID="2ZEFAR8TH3"
;;

View File

@@ -1,8 +1,6 @@
lexarrecoverytool)
# credit: Søren Theilgaard (@theilgaard)
name="Lexar Recovery Tool"
type="appInDmgInZip"
downloadURL="https://www.lexar.com$( curl -fs "https://www.lexar.com/support/downloads/" | grep -i "mac" | grep -i "recovery" | head -1 | tr '"' '\n' | grep -i ".zip" )"
#appNewVersion=""
downloadURL="https://www.lexar.com/wp-content/uploads/product_images/Lexar-Recovery-Tool-Mac.zip"
expectedTeamID="Y8HM6WR2DV"
;;

View File

@@ -1,8 +1,12 @@
libreoffice)
# credit: Micah Lee (@micahflee)
name="LibreOffice"
type="dmg"
downloadURL="https://download.documentfoundation.org/libreoffice/stable/$(curl -s https://www.libreoffice.org/download/download/ | grep dl_version_number | head -n 1 | cut -d'>' -f3 | cut -d'<' -f1)/mac/x86_64/LibreOffice_$(curl -s https://www.libreoffice.org/download/download/ | grep dl_version_number | head -n 1 | cut -d'>' -f3 | cut -d'<' -f1)_MacOS_x86-64.dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL="https://download.documentfoundation.org/libreoffice/stable/$(curl -s https://www.libreoffice.org/download/download/ | grep dl_version_number | head -n 1 | cut -d'>' -f3 | cut -d'<' -f1)/mac/aarch64/LibreOffice_$(curl -s https://www.libreoffice.org/download/download/ | grep dl_version_number | head -n 1 | cut -d'>' -f3 | cut -d'<' -f1)_MacOS_aarch64.dmg"
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://download.documentfoundation.org/libreoffice/stable/$(curl -s https://www.libreoffice.org/download/download/ | grep dl_version_number | head -n 1 | cut -d'>' -f3 | cut -d'<' -f1)/mac/x86_64/LibreOffice_$(curl -s https://www.libreoffice.org/download/download/ | grep dl_version_number | head -n 1 | cut -d'>' -f3 | cut -d'<' -f1)_MacOS_x86-64.dmg"
fi
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*_([0-9.]*)_.*/\1/g' )
expectedTeamID="7P5S3ZLCN7"
blockingProcesses=( soffice )
;;

View File

@@ -1,9 +1,10 @@
logitechoptions)
# credit: AP Orlebeke (@apizz)
name="Logitech Options"
type="pkgInZip"
downloadURL=$(curl -fs -L https://www.logitech.com/en-us/product/options | grep -m 1 -o "https.*zip" | sed 's/\"//' | awk '{print $1}')
appNewVersion=$(curl -fs -L https://www.logitech.com/en-us/product/options | grep -m 1 -o "https.*zip" | sed 's/\"//' | awk '{print $1}' | sed -E 's/.*_([0-9\.]*)[-\.].*/\1/' )
pkgName="LogiMgr Installer ${appNewVersion}.app/Contents/Resources/LogiMgr.pkg"
#downloadURL=$(curl -fs "https://support.logi.com/api/v2/help_center/en-us/articles.json?label_names=webcontent=productdownload,webos=mac-macos-x-11.0" | tr "," "\n" | grep -A 10 "macOS" | grep -oie "https.*/.*/options/.*\.zip" | head -1)
downloadURL="https://download01.logi.com/web/ftp/pub/techsupport/options/options_installer.zip"
appNewVersion=$(curl -fs "https://support.logi.com/api/v2/help_center/en-us/articles.json?label_names=webcontent=productdownload,webos=mac-macos-x-11.0" | tr "," "\n" | grep -A 10 "macOS" | grep -B 5 -ie "https.*/.*/options/.*\.zip" | grep "Software Version" | sed 's/\\u[0-9a-z][0-9a-z][0-9a-z][0-9a-z]//g' | grep -ioe "Software Version.*[0-9.]*" | tr "/" "\n" | grep -oe "[0-9.]*" | head -1)
#pkgName="LogiMgr Installer "*".app/Contents/Resources/LogiMgr.pkg"
pkgName=LogiMgr.pkg
expectedTeamID="QED4VVPZWA"
;;

View File

@@ -0,0 +1,13 @@
logseq)
name="Logseq"
type="dmg"
if [[ $(arch) == "arm64" ]]; then
archiveName="darwin-arm64-[0-9.]*.dmg"
downloadURL=$(downloadURLFromGit logseq logseq)
elif [[ $(arch) == "i386" ]]; then
archiveName="darwin-x64-[0-9.]*.dmg"
downloadURL=$(downloadURLFromGit logseq logseq)
fi
appNewVersion=$(versionFromGit logseq logseq)
expectedTeamID="3K44EUN829"
;;

View File

@@ -2,7 +2,11 @@ loom)
# credit: Lance Stephens (@pythoninthegrass on MacAdmins Slack)
name="Loom"
type="dmg"
downloadURL=https://cdn.loom.com/desktop-packages/$(curl -fs https://s3-us-west-2.amazonaws.com/loom.desktop.packages/loom-inc-production/desktop-packages/latest-mac.yml | awk '/url/ && /dmg/ {print $3}' | head -1)
if [[ $(arch) == "arm64" ]]; then
downloadURL=https://cdn.loom.com/desktop-packages/$(curl -fs https://s3-us-west-2.amazonaws.com/loom.desktop.packages/loom-inc-production/desktop-packages/latest-mac.yml | awk '/url/ && /arm64/ && /dmg/ {print $3}' | head -1)
elif [[ $(arch) == "i386" ]]; then
downloadURL=https://cdn.loom.com/desktop-packages/$(curl -fs https://s3-us-west-2.amazonaws.com/loom.desktop.packages/loom-inc-production/desktop-packages/latest-mac.yml | awk '/url/ && /dmg/ {print $3}' | head -1)
fi
appNewVersion=$(curl -fs https://s3-us-west-2.amazonaws.com/loom.desktop.packages/loom-inc-production/desktop-packages/latest-mac.yml | awk '/version/ {print $2}' )
expectedTeamID="QGD2ZPXZZG"
;;

View File

@@ -0,0 +1,7 @@
lowprofile)
name="Low Profile"
type="dmg"
downloadURL="$(downloadURLFromGit ninxsoft LowProfile)"
appNewVersion="$(versionFromGit ninxsoft LowProfile)"
expectedTeamID="7K3HVCLV7Z"
;;

View File

@@ -0,0 +1,9 @@
macadminspython)
name="MacAdmins Python"
type="pkg"
packageID="org.macadmins.python.recommended"
downloadURL=$(curl --silent --fail "https://api.github.com/repos/macadmins/python/releases/latest" | awk -F '"' "/browser_download_url/ && /python_recommended_signed/ { print \$4; exit }")
appNewVersion=$(grep -o -E '\d+\.\d+\.\d+\.\d+' <<< $downloadURL | head -n 1)
expectedTeamID="9GQZ7KUFR6"
blockingProcesses=( NONE )
;;

View File

@@ -0,0 +1,7 @@
maccyapp)
name="Maccy"
type="zip"
downloadURL="$(downloadURLFromGit p0deje Maccy)"
appNewVersion="$(versionFromGit p0deje Maccy)"
expectedTeamID="MN3X4648SC"
;;

View File

@@ -0,0 +1,23 @@
macports)
name="MacPorts"
type="pkg"
#buildVersion=$(uname -r | cut -d '.' -f 1)
case $(uname -r | cut -d '.' -f 1) in
21)
archiveName="Monterey.pkg"
;;
20)
archiveName="BigSur.pkg"
;;
19)
archiveName="Catalina.pkg"
;;
*)
cleanupAndExit 1 "macOS 10.14 or earlier not supported by Installomator."
;;
esac
downloadURL=$(downloadURLFromGit macports macports-base)
appNewVersion=$(versionFromGit macports macports-base)
appCustomVersion(){ if [ -x /opt/local/bin/port ]; then /opt/local/bin/port version | awk '{print $2}'; else "0"; fi }
expectedTeamID="QTA3A3B7F3"
;;

View File

@@ -0,0 +1,8 @@
marathon)
name="Marathon"
type="dmg"
archiveName="Marathon-[0-9.]*-Mac.dmg"
downloadURL="$(downloadURLFromGit Aleph-One-Marathon alephone)"
appNewVersion="$(versionFromGit Aleph-One-Marathon alephone)"
expectedTeamID="E8K89CXZE7"
;;

View File

@@ -0,0 +1,8 @@
marathon2)
name="Marathon 2"
type="dmg"
archiveName="Marathon2-[0-9.]*-Mac.dmg"
downloadURL="$(downloadURLFromGit Aleph-One-Marathon alephone)"
appNewVersion="$(versionFromGit Aleph-One-Marathon alephone)"
expectedTeamID="E8K89CXZE7"
;;

View File

@@ -0,0 +1,8 @@
marathoninfinity)
name="Marathon Infinity"
type="dmg"
archiveName="MarathonInfinity-[0-9.]*-Mac.dmg"
downloadURL="$(downloadURLFromGit Aleph-One-Marathon alephone)"
appNewVersion="$(versionFromGit Aleph-One-Marathon alephone)"
expectedTeamID="E8K89CXZE7"
;;

View File

@@ -1,12 +1,9 @@
mattermost)
name="Mattermost"
type="dmg"
if [[ $(arch) == i386 ]]; then
archiveName="mac.dmg"
elif [[ $(arch) == arm64 ]]; then
archiveName="mac-m1.dmg"
fi
archiveName="mac-universal.dmg"
downloadURL=$(downloadURLFromGit mattermost desktop)
appNewVersion=$(versionFromGit mattermost desktop )
appNewVersion=$(versionFromGit mattermost desktop)
expectedTeamID="UQ8HT4Q2XM"
blockingProcesses=( "Mattermost Helper.app" "Mattermost Helper (Renderer).app" "Mattermost Helper (GPU).app" "Mattermost Helper (Plugin).app" )
;;

View File

@@ -0,0 +1,10 @@
microsoftazuredatastudio|\
azuredatastudio)
name="Azure Data Studio"
type="zip"
downloadURL=$( curl -sL https://github.com/microsoft/azuredatastudio/releases/latest | grep 'macOS ZIP' | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" )
appNewVersion=$(versionFromGit microsoft azuredatastudio )
expectedTeamID="UBF8T346G9"
appName="Azure Data Studio.app"
blockingProcesses=( "Azure Data Studio" )
;;

View File

@@ -5,6 +5,10 @@ microsoftcompanyportal)
#appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.intunecompanyportal.standalone"]/cfbundleshortversionstring' 2>/dev/null | sed -E 's/<cfbundleshortversionstring>([0-9.]*)<.*/\1/')
appNewVersion=$(curl -fsIL "$downloadURL" | grep -i location: | grep -o "/CompanyPortal_.*pkg" | cut -d "_" -f 2 | cut -d "-" -f 1)
expectedTeamID="UBF8T346G9"
if [[ -x "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" && $INSTALL != "force" && $DEBUG -eq 0 ]]; then
printlog "Running msupdate --list"
"/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" --list
fi
updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
updateToolArguments=( --install --apps IMCP01 )
;;

View File

@@ -1,10 +1,15 @@
microsoftdefender|\
microsoftdefenderatp)
name="Microsoft Defender ATP"
name="Microsoft Defender"
type="pkg"
downloadURL="https://go.microsoft.com/fwlink/?linkid=2097502"
appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.defender.standalone"]/version' 2>/dev/null | sed -E 's/<version>([0-9.]*) .*/\1/')
# No version number in download url
expectedTeamID="UBF8T346G9"
if [[ -x "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" && $INSTALL != "force" && $DEBUG -eq 0 ]]; then
printlog "Running msupdate --list"
"/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" --list
fi
updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
updateToolArguments=( --install --apps WDAV00 )
;;

View File

@@ -1,11 +1,16 @@
microsoftedge|\
microsoftedgeconsumerstable)
microsoftedgeconsumerstable|\
microsoftedgeenterprisestable)
name="Microsoft Edge"
type="pkg"
downloadURL="https://go.microsoft.com/fwlink/?linkid=2069148"
downloadURL="https://go.microsoft.com/fwlink/?linkid=2093504"
#appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.edge"]/cfbundleversion' 2>/dev/null | sed -E 's/<cfbundleversion>([0-9.]*)<.*/\1/')
appNewVersion=$(curl -fsIL "$downloadURL" | grep -i location: | grep -o "/MicrosoftEdge.*pkg" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g')
expectedTeamID="UBF8T346G9"
if [[ -x "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" && $INSTALL != "force" && $DEBUG -eq 0 ]]; then
printlog "Running msupdate --list"
"/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" --list
fi
updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
updateToolArguments=( --install --apps EDGE01 )
;;

View File

@@ -1,10 +0,0 @@
microsoftedgeenterprisestable)
name="Microsoft Edge"
type="pkg"
downloadURL="https://go.microsoft.com/fwlink/?linkid=2093438"
#appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.edge"]/version' 2>/dev/null | sed -E 's/<version>([0-9.]*) .*/\1/')
appNewVersion=$(curl -fsIL "$downloadURL" | grep -i location: | grep -o "/MicrosoftEdge.*pkg" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g')
expectedTeamID="UBF8T346G9"
updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
updateToolArguments=( --install --apps EDGE01 )
;;

View File

@@ -5,6 +5,10 @@ microsoftexcel)
#appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.excel.standalone.365"]/cfbundleshortversionstring' 2>/dev/null | sed -E 's/<cfbundleshortversionstring>([0-9.]*)<.*/\1/')
appNewVersion=$(curl -fsIL "$downloadURL" | grep -i location: | grep -o "/Microsoft_.*pkg" | cut -d "_" -f 3 | cut -d "." -f 1-2)
expectedTeamID="UBF8T346G9"
if [[ -x "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" && $INSTALL != "force" && $DEBUG -eq 0 ]]; then
printlog "Running msupdate --list"
"/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" --list
fi
updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
updateToolArguments=( --install --apps XCEL2019 )
;;

View File

@@ -7,6 +7,10 @@ microsoftoffice365)
expectedTeamID="UBF8T346G9"
# using MS PowerPoint as the 'stand-in' for the entire suite
#appName="Microsoft PowerPoint.app"
if [[ -x "/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" && $INSTALL != "force" && $DEBUG -eq 0 ]]; then
printlog "Running msupdate --list"
"/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate" --list
fi
blockingProcesses=( "Microsoft AutoUpdate" "Microsoft Word" "Microsoft PowerPoint" "Microsoft Excel" "Microsoft OneNote" "Microsoft Outlook" "OneDrive" )
updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
updateToolArguments=( --install )

Some files were not shown because too many files have changed in this diff Show More