173 Commits

Author SHA1 Message Date
Armin Briegel
4c38386c53 updated changelog 2021-10-14 15:42:20 +02:00
Armin Briegel
39f67c9e89 updated version number and readme 2021-10-14 15:40:16 +02:00
Armin Briegel
c40168f301 added yet one more missing return 2021-10-14 15:33:28 +02:00
Armin Briegel
e0a0b65b80 added missing newlines at end of file 2021-10-14 15:27:41 +02:00
Armin Briegel
d1923a4e7f Merge pull request #271 from Installomator/jetbrainsapps
updated jetbrains labels to new format derived from #253, closes #253
2021-10-14 15:10:35 +02:00
Armin Briegel
f0ff1e6269 Merge branch 'pr/263' into dev 2021-10-14 15:09:10 +02:00
Armin Briegel
b6092df909 removed a spurious ) in perimeter81 2021-10-14 15:08:54 +02:00
Armin Briegel
2fb80375ec Merge branch 'pr/260' into dev, closes #260 2021-10-14 14:57:38 +02:00
Armin Briegel
796f8a4e25 fix issues with tageditor and tom4aconverter labels 2021-10-14 14:57:20 +02:00
Armin Briegel
310140d64f updated type for jabradirect, #260, closes #255 2021-10-14 14:52:42 +02:00
Armin Briegel
8db95578c7 Merge branch 'dev' of github.com:Installomator/Installomator into dev 2021-10-14 14:49:44 +02:00
Armin Briegel
ba7edf8d02 commented a debugging echo in assemble.sh 2021-10-14 14:49:23 +02:00
Armin Briegel
c0a0b37f7e Merge pull request #273 from Installomator/Theile-labels-0.7_4
Theile labels 0.7 4_part 2
2021-10-14 14:45:17 +02:00
Armin Briegel
cd27693125 Merge pull request #266 from bartreardon/dialog
Added label for Dialog
2021-10-14 14:41:31 +02:00
Armin Briegel
adbe98718f Merge pull request #264 from chrisi51/dev
add new label for cloudya app from nfon
2021-10-14 14:40:26 +02:00
Armin Briegel
fcde9e2e4c Merge pull request #270 from homebysix/zoom-id
Fix identifier of Zoom installer
2021-10-14 14:36:38 +02:00
Søren Theilgaard
ded8787da5 blender 2021-10-14 08:54:20 +02:00
Søren Theilgaard
05039ae826 zoomgov and yed 2021-10-14 08:48:27 +02:00
Armin Briegel
7c0a4ef04a updated jetbrains labels to new format derived from #253 2021-10-13 16:07:19 +02:00
Søren Theilgaard
8feb2e5578 Update zoom.sh 2021-10-13 14:17:24 +02:00
Armin Briegel
47dfa8fdf4 Merge pull request #250 from Installomator/editorconfig
Create .editorconfig
2021-10-13 11:48:39 +02:00
Elliot Jordan
425722acda Fix identifier of Zoom installer 2021-10-12 21:17:39 -07:00
Adam Codega
0b3d703e02 Merge pull request #267 from adibue/adibue-add-utm
Added new label for 'utm'
2021-10-12 10:40:54 -04:00
Armin Briegel
4b53da0fb7 Merge pull request #248 from Installomator/Handling-of-App-Store-apps
App from App Store
2021-10-11 10:52:43 +02:00
Armin Briegel
bf5f5ca936 Merge pull request #249 from Installomator/BLOCKING_PROCESS_ACTION=tell_user
BLOCKING_PROCESS_ACTION=tell_user
2021-10-11 10:34:49 +02:00
Armin Briegel
1b6d82e880 Merge pull request #258 from Installomator/Theile-labels-0.7_4
Theile-labels-0.7_4
2021-10-11 10:30:11 +02:00
Adrian Bühler
c9ca70e836 Added label for 'utm'
Added label for 'utm' to fragments
2021-10-08 16:29:08 +02:00
Bart Reardon
0530cba21b added newline to end of file 2021-10-08 09:02:33 +11:00
Bart Reardon
0adc02ba0c added label for the app "dialog" 2021-10-08 09:00:31 +11:00
Jake
f16ee55ed6 Revert "update download url"
This reverts commit 97ec3efedb.
2021-10-07 13:20:51 -04:00
Christian Hillebrand
a67ba0934f support probably longer version numbers 2021-10-07 18:44:36 +02:00
Christian Hillebrand
26ae2b3139 case-insensitive 2021-10-07 18:41:36 +02:00
Jake
97ec3efedb update download url
The download url was displaying all mirrors, this will pull just the first one.
2021-10-07 11:18:13 -04:00
Jake
b0ed6432f6 fix version compare 2021-10-07 10:55:00 -04:00
Christian Hillebrand
174a2b5a46 add cloudya app from nfon 2021-10-07 11:12:48 +02:00
Jake
9edc256caa fix typo in name 2021-10-06 15:59:06 -04:00
Jake
8e9488c68f update appNewVersion for Perimeter81 2021-10-06 15:26:32 -04:00
Jake
5799c5d432 create perimeter81.sh 2021-10-06 11:48:51 -04:00
Søren Theilgaard
d97c84dd0c calibre and vmwarehorizonclient 2021-09-30 08:55:52 +02:00
Søren Theilgaard
effd470ce7 screamingfrogseospider
Fixed downloadURL, added appNewVersion
2021-09-27 11:38:11 +02:00
John Hutchison
38326e87e3 Merge branch 'Installomator:dev' into dev 2021-09-21 10:58:49 -04:00
John Hutchison
e8464c5c47 New Labels
New lablels for Jamf Connect Confifugration, Tag Editor, and ToM4AConverter
2021-09-21 10:55:22 -04:00
John Hutchison
9dbac45621 Fix Jabra Direct 2021-09-21 10:54:59 -04:00
Søren Theilgaard
db3e109c21 Merge pull request #257 from fleish/dev
Added Sync
2021-09-21 15:47:30 +02:00
Søren Theilgaard
039de95b5c Update sync.sh 2021-09-21 15:47:12 +02:00
Søren Theilgaard
028fbd60d6 Update sync.sh 2021-09-21 15:45:42 +02:00
Søren Theilgaard
50bc2fd708 microsoftazurestorageexplorer 2021-09-21 13:29:20 +02:00
Søren Theilgaard
c37daf5b7b azurestorageexplorer 2021-09-21 11:52:18 +02:00
Søren Theilgaard
468ac0de6e Update handbrake.sh 2021-09-21 11:05:41 +02:00
Søren Theilgaard
c21dde0074 Update handbrake.sh 2021-09-21 10:41:59 +02:00
Søren Theilgaard
6267736abf Update figma.sh 2021-09-21 08:39:09 +02:00
fleish
7803d1afe2 Merge branch 'Installomator:dev' into dev 2021-09-20 15:50:05 -07:00
Fleish
54b57cc83d Merge branch 'dev' of github.com:fleish/Installomator into dev 2021-09-20 15:47:52 -07:00
Fleish
8077cb91b9 Added Sync 2021-09-20 15:47:35 -07:00
Søren Theilgaard
261c92946e Update README.md 2021-09-19 08:15:59 +02:00
Søren Theilgaard
28dc87fdbe Merge pull request #254 from fleish/dev
Added Keybase
2021-09-19 08:13:36 +02:00
Søren Theilgaard
33e2e829c5 Update keybase.sh 2021-09-19 08:11:25 +02:00
Søren Theilgaard
968e3b3ab0 Update README.md 2021-09-19 08:07:52 +02:00
Søren Theilgaard
b2cd2b74be Update README.md 2021-09-19 08:06:09 +02:00
Søren Theilgaard
66b1f9a319 Update README.md 2021-09-19 07:59:32 +02:00
Søren Theilgaard
f0d3828054 Notes for contribution 2021-09-19 07:56:57 +02:00
Fleish
4bc03223ae Re-adding Keybase 2021-09-17 15:00:52 -07:00
Fleish
394b8dabdc Revert "Added Keybase"
This reverts commit 66b4769369.
2021-09-17 14:54:31 -07:00
Søren Theilgaard
bc046cfc07 Update README.md 2021-09-17 22:52:24 +02:00
Søren Theilgaard
897a85a54c Merge branch 'dev' into Handling-of-App-Store-apps 2021-09-17 22:44:05 +02:00
Søren Theilgaard
2b0cb9dbc0 IGNORE_APP_STORE_APPS 2021-09-17 22:40:35 +02:00
Søren Theilgaard
c8ae2aa6f0 Update header.sh 2021-09-17 22:24:57 +02:00
Søren Theilgaard
63af53fb34 zeplin 2021-09-17 21:11:07 +02:00
Søren Theilgaard
498a8a28af Merge pull request #247 from Installomator/Theile-labels-0.7_3
Theile-labels-0.7_3
2021-09-17 20:06:01 +02:00
Søren Theilgaard
20be5255a7 Merge branch 'dev' into Theile-labels-0.7_3 2021-09-17 20:05:49 +02:00
Søren Theilgaard
eb501486e4 Update buildLabel.sh 2021-09-17 20:02:21 +02:00
Fleish
66b4769369 Added Keybase 2021-09-17 10:14:44 -07:00
Søren Theilgaard
65b82cf20d rodeconnect 2021-09-17 15:35:31 +02:00
Søren Theilgaard
9a57ecc66b rodeconnect 2021-09-17 15:33:07 +02:00
Søren Theilgaard
fcbe0626da montereyblocker 2021-09-17 12:31:48 +02:00
Søren Theilgaard
82a1ed8180 figma intel & arm 2021-09-15 16:31:16 +02:00
Søren Theilgaard
1e971cc063 Update buildLabel.sh 2021-09-15 16:27:02 +02:00
Søren Theilgaard
49c7338e9d figma universal 2021-09-15 16:16:50 +02:00
Søren Theilgaard
a74d3106c0 authydesktop 2021-09-10 23:05:50 +02:00
Søren Theilgaard
a4e4c38423 Update buildLabel.sh 2021-09-10 22:16:27 +02:00
Søren Theilgaard
d603a2805b Create parallels.sh 2021-09-09 21:25:33 +02:00
Søren Theilgaard
84e26c07e2 Create .editorconfig 2021-09-09 19:26:38 +02:00
Søren Theilgaard
8fdfaadf6d Update CHANGELOG.md 2021-09-09 19:15:51 +02:00
Søren Theilgaard
0c0977e61f Update CHANGELOG.md 2021-09-09 17:26:28 +02:00
Søren Theilgaard
012b4db5f6 Update microsoftofficebusinesspro.sh 2021-09-09 17:00:31 +02:00
Søren Theilgaard
d250e5a8b9 Update CHANGELOG.md 2021-09-08 22:08:09 +02:00
Søren Theilgaard
7abcf51a55 Warning. 2021-09-08 20:19:56 +02:00
Søren Theilgaard
dbf0d34ac6 BLOCKING_PROCESS_ACTION=tell_user
Default now is `BLOCKING_PROCESS_ACTION=tell_user`
2021-09-08 20:16:09 +02:00
Søren Theilgaard
f65010ecb4 App from App Store
In this branch I demand that INSTALL=force if an App Store app should be replaced. Best example is Slack that will loose all settings if it is replaced. But we can still do it and the log will show what we are doing.
2021-09-08 20:11:36 +02:00
Søren Theilgaard
8a95e02d21 slack 2021-09-08 20:01:53 +02:00
Søren Theilgaard
e18361b36c zohoworkdrive 2021-09-08 13:36:23 +02:00
Søren Theilgaard
a2305d5c8c Merge pull request #245 from Installomator/Theile-labels-0.7
Theile labels 0.7
2021-09-08 10:58:13 +02:00
Søren Theilgaard
1250812203 Update Labels.txt 2021-09-08 10:53:29 +02:00
Søren Theilgaard
2829a466dc Merge pull request #240 from apizz/wallyezflash
Add Wally EZ Flash Tool
2021-09-08 10:51:06 +02:00
Søren Theilgaard
7a4feb0ee7 Merge pull request #242 from jnichols35/dev
add parsec label
2021-09-08 10:46:30 +02:00
Søren Theilgaard
071947cb38 Merge pull request #243 from adibue/adibue-spotify-arm64
Got 'spotify' ready for Apple Silicon
2021-09-08 10:40:16 +02:00
Søren Theilgaard
8c8ea13ad3 lulu is on github 2021-09-08 10:20:57 +02:00
Søren Theilgaard
70337cab58 splashtopsos 2021-09-08 10:08:42 +02:00
Adrian Bühler
614e412f01 Got 'spotify' ready for Apple Silicon
'spotify' is now ready for Apple Silicon
2021-09-06 16:15:05 +02:00
Jake
f5730ec79b add parsec label 2021-09-03 18:11:58 -04:00
Søren Theilgaard
14f3725ed9 zohoworkdrive 2021-09-03 15:58:46 +02:00
Søren Theilgaard
44a64b83b9 buildLabel.sh and airtame 2021-09-03 14:01:06 +02:00
Søren Theilgaard
a7ec5b9531 Update wallyezflash.sh 2021-08-30 09:29:31 +02:00
AP Orlebeke
2b06ba1f22 Create wallyezflash.sh 2021-08-30 00:02:35 -04:00
Søren Theilgaard
ca17fa3c6b Update checkLabels.sh 2021-08-27 19:52:51 +02:00
Søren Theilgaard
e0459f3d06 Update buildLabel.sh 2021-08-27 14:55:12 +02:00
Søren Theilgaard
a8f3944e65 Labels 2021-08-27 14:41:55 +02:00
Søren Theilgaard
409c84b7ef Labels 2021-08-27 14:30:00 +02:00
Søren Theilgaard
d69a102334 labels 2021-08-27 12:22:39 +02:00
Søren Theilgaard
aa761f2583 Labels fixed 2021-08-27 12:16:51 +02:00
Søren Theilgaard
71fbb7fe0c Update CHANGELOG.md 2021-08-27 11:30:14 +02:00
Søren Theilgaard
719a78ae73 Update Labels.txt 2021-08-27 11:26:08 +02:00
Søren Theilgaard
6d6c011d30 buildLabel.sh 2021-08-27 11:20:46 +02:00
Søren Theilgaard
0513a2d6a5 Merge branch 'dev' of https://github.com/Installomator/Installomator into dev 2021-08-27 11:18:05 +02:00
Søren Theilgaard
cfaac1eb28 more label syncs 2021-08-27 11:17:41 +02:00
Søren Theilgaard
c97a0545d3 Merge pull request #238 from Installomator/Theile-labels-0.7
Theile labels 0.7
2021-08-27 11:10:08 +02:00
Søren Theilgaard
546c5d6aa1 Merge pull request #236 from Installomator/Theile-CheckLabels
Theile check labels
2021-08-27 11:09:31 +02:00
Søren Theilgaard
3bcb9e7e32 labels sync 2021-08-27 11:04:33 +02:00
Søren Theilgaard
04880d329e smartgit 2021-08-27 10:11:07 +02:00
Søren Theilgaard
d167a51ee6 Now reads labels from first line of label files
Instead of reading the name of the file
2021-08-26 16:14:51 +02:00
Søren Theilgaard
a87f0a6ec4 Current labels in 0.7.1b1 2021-08-26 16:11:22 +02:00
Søren Theilgaard
c37229d763 Update buildCaseStatement.sh 2021-08-25 13:53:17 +02:00
Søren Theilgaard
1d634b9a80 Update buildCaseStatement.sh 2021-08-25 13:16:57 +02:00
Søren Theilgaard
a481b17a78 Update checkLabels.sh 2021-08-25 13:06:47 +02:00
Søren Theilgaard
30bd4797ae Update extractLabels.sh 2021-08-25 12:54:53 +02:00
Søren Theilgaard
5585f8c558 Renaming to checkLabels.sh 2021-08-25 12:00:39 +02:00
Søren Theilgaard
21b9709f6b Renaming to checkLabels.sh 2021-08-25 12:00:17 +02:00
Søren Theilgaard
db5c9ded56 Update CheckLabels.sh 2021-08-25 11:56:23 +02:00
Søren Theilgaard
4859efa72f Moved to “utils”. 2021-08-25 11:49:13 +02:00
Søren Theilgaard
a20770314e extractLabels.shshould work from “utils” folder
And added description of function of script.
2021-08-25 11:36:43 +02:00
Søren Theilgaard
4ddc8a7f92 Update .gitignore 2021-08-25 10:55:35 +02:00
Søren Theilgaard
400be8581e checkLabels.sh script
With a bit of improvements to explaining that labels are small case letters with numbers, “_”, and “-”. And nothing else.
2021-08-25 10:54:03 +02:00
Armin Briegel
553d06826d Merge pull request #235 from pro4tlzz/imazingprofileeditor.sh
imazingprofileeditor - Update credits
2021-08-24 16:07:33 +02:00
Bilal Habib
11a06eb264 Update credits 2021-08-24 15:03:00 +01:00
Søren Theilgaard
1dc42a22a4 change to zsh
Then we can use zsh to somewhat clean up the label name (at least get rid of special characters from the URL).
2021-08-24 15:49:35 +02:00
Armin Briegel
2d48072d8e updated utils/ReadMe.md (more typos and clarifications) 2021-08-17 16:09:04 +02:00
Armin Briegel
4101056ede updated CHANGELOG, main script, Labels.txt and the assemble script ReadMe 2021-08-17 15:47:23 +02:00
Armin Briegel
08ede3a447 added screencloudplayer, closes #233 2021-08-17 14:26:59 +02:00
Armin Briegel
6f26c70bde added boxtools, closes #228 2021-08-17 14:24:12 +02:00
Armin Briegel
cc13ed9c47 updated zoomclient, closes #226 2021-08-17 14:22:52 +02:00
Armin Briegel
470b1dd69f added jetbrainsdatagrip, closes #225 2021-08-17 14:20:58 +02:00
Armin Briegel
4d34931be5 added platypus, closes #224 2021-08-17 14:18:57 +02:00
Armin Briegel
96b52e631f updated ferdi, closes #223 2021-08-17 14:17:26 +02:00
Armin Briegel
7bb757e38f updated microsoftteams as per #219 2021-08-17 14:13:01 +02:00
Armin Briegel
b465b3fa3b added colourcontrastanalyser, closes #218 2021-08-17 14:10:06 +02:00
Armin Briegel
37c23ff1ce added scaleft, closes #216 2021-08-17 14:07:21 +02:00
Armin Briegel
ea134a68d1 added zulujdk8, closes #187 2021-08-17 14:05:21 +02:00
Armin Briegel
61a8ae9018 added asana, closes #182 2021-08-17 14:00:20 +02:00
Armin Briegel
1f33c6bb96 removed buildInstallomatorPkg.sh since this is now done by assemble.sh 2021-08-17 13:47:18 +02:00
Armin Briegel
87c9aaaedc Update README.md 2021-08-17 13:46:44 +02:00
Armin Briegel
cd58fc6018 multiple custom labels now work 2021-08-17 13:39:36 +02:00
Armin Briegel
b38c49600f implemented --pkg and --notarize options 2021-08-17 12:25:59 +02:00
Armin Briegel
af08a12d49 implemented option to overwrite main script 2021-08-17 10:25:28 +02:00
Armin Briegel
2e72b05df1 finished updating labels 2021-08-16 16:55:28 +02:00
Armin Briegel
97e8c160d2 updated fragements 2021-08-16 16:16:36 +02:00
Armin Briegel
dcba9f9eb7 new labels after merge 2021-08-16 15:49:43 +02:00
Armin Briegel
bb6058c7f6 Merge branch 'dev' into fragments 2021-08-16 15:48:13 +02:00
Adam Codega
d4f2d07289 Merge pull request #211 from Installomator/Zoom-Room-label
Zoom Rooms label
2021-07-21 22:48:17 -04:00
Adam Codega
e1c75dc721 Merge pull request #222 from adibue/adibue-hyper-m1
Got 'hyper' ready for Apple Silicon
2021-07-21 22:43:55 -04:00
Adam Codega
fae3384b33 Merge pull request #217 from imfromthebay/imfromthebay-caffeine
Adding Caffeine
2021-07-21 22:43:13 -04:00
Søren Theilgaard
0c17713751 Update Installomator.sh 2021-07-20 19:51:44 +02:00
Adrian Bühler
85318cc508 Got 'hyper' ready for Apple Silicon
`hyper` now supports Apple Silicon
2021-07-19 10:30:16 +02:00
Søren Theilgaard
301bc11d20 Minor comment
Just added a bit to a comment
2021-07-18 20:21:31 +02:00
Greg R
263e29329c Adding Caffeine app to Installomator
Adding support for the Caffeine app.
2021-07-17 12:18:46 -07:00
Søren Theilgaard
54c84b2ff7 Zoom Room 2021-07-16 09:49:34 +02:00
Søren Theilgaard
d2422653d5 Zoom Room label 2021-07-16 09:48:24 +02:00
Armin Briegel
3f9daf7fe6 changed file extension for fragments to sh 2021-06-24 11:50:29 +02:00
Armin Briegel
bc9bc74cf9 changed fragments to .sh extension 2021-04-28 09:36:16 +02:00
Armin Briegel
0e093dd3b5 implemented the --labels option and assemble script now runs the assembled Installomator.sh with remaining arguments 2021-04-22 16:37:11 +02:00
Armin Briegel
fbc6b61add moved more stuff around 2021-04-21 12:24:47 +02:00
Armin Briegel
248c90bec7 added Readme to utils 2021-04-21 11:31:18 +02:00
Armin Briegel
8ffc4dd88b created a utils directory 2021-04-21 11:30:58 +02:00
Armin Briegel
448a11a1b6 extracted labels 2021-04-20 16:31:52 +02:00
360 changed files with 5446 additions and 566 deletions

13
.editorconfig Normal file
View File

@@ -0,0 +1,13 @@
# EditorConfig is awesome: https://EditorConfig.org
# Unix-style newlines and whitespace cleanup
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
insert_final_newline = true
# shell formatting
[*.{sh,bash,zsh}]
indent_style = space
indent_size = 4

1
.gitignore vendored
View File

@@ -11,3 +11,4 @@ scratch/
# do include Installomator .pkg files
#!Installomator-*.pkg
checkLabelCurrent.sh

View File

@@ -1,17 +1,33 @@
## 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.)
- Added bunch of new labels
- Improved `buildCaseStatement.sh` a lot. It is a great start when figuring out how to create a new label for an app, or a piece of software.
- 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
## v0.6 - 2021-07-14
- several new and updated labels, for a total of 302
- versionKey variable can be used to choose which Info.plist key to get the version from
- an appCustomVersion() {} function can now be used in a label
- with INSTALL=force, the script will not be using updateTool, but will reinstall instead
- added quit and quit_kill options to NOTIFY
- updated buildCaseStatement.sh
- updated buildInstallomatorPkg.sh to use notarytool (requires Xcode 13)
- several minor fixes
## v0.5 - 2021-04-13
- Major update and now with help from @Theile and @Isaac
- Added additional `BLOCKING_PROCESS_ACTION` handlings
- Added additional `NOTIFY=all`. Usuful if used in Self Service, as the user will be notified before download, before install as well as when it is done.
- Added variable `LOGO` for icons i dialogs, use `LOGO=appstore` (or `jamf` or `mosyleb` or `mosylem` or `addigy`). It's also possible to set it to a direct path to a specific icon. Default is `appstore`.
- Added variable `LOGO` for icons i dialogs, use `LOGO=appstore` (or `jamf` or `mosyleb` or `mosylem` or `addigy`). It's also possible to set it to a direct path to a specific icon. Default is `appstore`.
- Added variable `INSTALL` that can be set to `INSTALL=force` if software needs to be installed even though latest version is already installed (it will be a reinstall).
- Version control now included. The variable `appNewVersion` in a label can be used to tell what the latest version from the web is. If this is not given, version checking is done after download.
- For a label that only installs a pkg without an app in it, a variable `packageID` can be used for version checking.
- For a label that only installs a pkg without an app in it, a variable `packageID` can be used for version checking.
- Labels now sorted alphabetically, except for the Microsoft ones (that are at the end of the list). A bunch of new labels added, and lots of them have either been changed or improved (with `appNewVersion` og `packageID`).
- If an app is asked to be closed down, it will now be opened again after the update.
- If your MDM cannot call a script with parameters, the label can be set in the top of the script.

File diff suppressed because it is too large Load Diff

View File

@@ -9,6 +9,7 @@ adobereaderdc-install
adobereaderdc-update
aircall
airserver
airtame
aldente
alfred
alttab
@@ -22,11 +23,14 @@ applenyfonts
applesfcompact
applesfmono
applesfpro
applesfsymbols
aquaskk
arq7
asana
atext
atom
audacity
authydesktop
autodmg
autopkgr
aviatrix
@@ -42,17 +46,24 @@ bitwarden
blender
bluejeans
boxdrive
boxsync
boxtools
brave
caffeine
cakebrew
calibre
camostudio
camtasia
cisdem-documentreader
citrixworkspace
clevershare2
clickshare
cloudya
code42
coderunner
colourcontrastanalyser
cormorant
craftmanager
cryptomator
cyberduck
dangerzone
@@ -64,7 +75,7 @@ depnotify
desktoppr
detectxswift
devonthink
dialpad
dialog
discord
docker
drift
@@ -87,6 +98,7 @@ firefoxesr
firefoxesr_intl
firefoxesrpkg
firefoxpkg
flowjo
front
fsmonitor
gimp
@@ -116,24 +128,30 @@ hyper
icons
imazingprofileeditor
inkscape
insomnia
installomator_theile
intellijideace
istatmenus
iterm2
jabradirect
jamfconnect
jamfconnectconfiguration
jamfmigrator
jamfpppcutility
jamfreenroller
jetbrainsclion
jetbrainsdatagrip
jetbrainsintellijidea
jetbrainsintellijideace
jetbrainsphpstorm
jetbrainspycharm
jetbrainspycharmce
jetbrainstoolbox
jetbrainswebstorm
karabinerelements
keepassxc
keka
keyboardmaestro
keybase
keyboardmaestro
klokki
knockknock
@@ -152,6 +170,7 @@ malwarebytes
mattermost
menumeters
microsoftautoupdate
microsoftazurestorageexplorer
microsoftcompanyportal
microsoftdefenderatp
microsoftedge
@@ -173,7 +192,9 @@ microsoftvisualstudiocode
microsoftword
microsoftyammer
miro
montereyblocker
musescore
muzzle
netnewswire
nextcloud
nomad
@@ -197,9 +218,12 @@ openvpnconnect
openvpnconnectv3
opera
pacifist
parsec
pdfsam
perimeter81
pitch
plantronicshub
platypus
plisteditpro
postman
prism9
@@ -222,10 +246,13 @@ ringcentralmeetings
ringcentralphone
rocket
rocketchat
rodeconnect
royaltsx
rstudio
santa
scaleft
screamingfrogseospider
screencloudplayer
screenflick
sfsymbols
shield
@@ -237,6 +264,7 @@ sizeup
sketch
skype
slack
smartgit
snagit
snagit2020
snagit2021
@@ -245,13 +273,16 @@ sonos
sonoss1
sonoss2
sourcetree
splashtopsos
spotify
sublimetext
supportapp
suspiciouspackage
swiftruntimeforcommandlinetools
sync
tableaudesktop
tableaureader
tageditor
taskpaper
teamviewer
teamviewerhost
@@ -263,8 +294,8 @@ textmate
theunarchiver
things
thunderbird
tigervnc
toggltrack
tom4aconverter
torbrowser
trex
tunnelbear
@@ -272,6 +303,7 @@ tunnelblick
umbrellaroamingclient
uniconverter
universaltypeclient
utm
vagrant
vanilla
veracrypt
@@ -282,6 +314,7 @@ vivaldi
vlc
vmwarehorizonclient
vscodium
wallyezflash
webex
webexmeetings
webexteams
@@ -293,10 +326,16 @@ wwdc
xeroxphaser7800
xink
xquartz
yed
yubikeymanagerqt
zappy
zeplin
zohoworkdrive
zoom
zoomclient
zoomgov
zoomrooms
zulujdk11
zulujdk13
zulujdk15
zulujdk8

View File

@@ -4,7 +4,7 @@ _The one installer script to rule them all._
![](https://img.shields.io/github/v/release/scriptingosx/Installomator) ![](https://img.shields.io/github/downloads/scriptingosx/Installomator/latest/total) ![](https://img.shields.io/badge/macOS-10.14%2B-success) ![](https://img.shields.io/github/license/scriptingosx/Installomator)
This script is in the "we find it useful, it is working for us" stage.
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.
@@ -12,12 +12,16 @@ I have put a lot of work into making it stable and safe, but I cannot - of cours
## 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.__
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.
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.
## More reading
There are a few interesting post on Installomator on my weblog:
@@ -85,7 +89,7 @@ Installomator can work with the following common archive and installer types:
- dmg: for the common 'drag app to /Applications' installation style
- zip: the application is just compressed with zip or or tbz
When the download yields a pkg file, Installomator will run `installer` to install it on the current system.
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.
@@ -131,7 +135,9 @@ 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 `buildCaseStatement.sh` can help with the label creation.
Please note: Labels should be named in small caps, numbers 0-9, “-”, and “_”. No other characters allowed.
### Not specific to a management system
@@ -227,11 +233,12 @@ There are eight options:
- `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.
- `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.
If any process was closed, Installomator will try to open the app again, after the update process is done.
If any process was closed, Installomator will try to open the app again, after the update process is done.
### Notification
@@ -252,6 +259,12 @@ The `LOGO` variable is used for the icon shown in dialog boxes. There are these
- `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 are escaped).
### App Store apps handling
Default is `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 (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:
@@ -339,7 +352,7 @@ Depending on the application or pkg there are a few more variables you can or ne
dmg or zip:
Applications will be copied to this directory.
Default value is '`/Applications`' for dmg and zip installations.
pkg:
pkg:
`targetDir` is used as the install-location. Default is '`/`'.
- `blockingProcesses`: (optional)
@@ -364,7 +377,7 @@ Depending on the application or pkg there are a few more variables you can or ne
e.g. `msupdate` (see microsoft installations)
- `updateToolRunAsCurrentUser`:
When this variable is set (any value), `$updateTool` will be run as the current user. Default is unset and
When this variable is set (any value), `$updateTool` will be run as the current user. Default is unset and
### Configuration from Arguments

1
assemble.sh Symbolic link
View File

@@ -0,0 +1 @@
utils/assemble.sh

View File

@@ -1,72 +0,0 @@
#!/bin/zsh
# buildInstallomatorPkg.sh
# this script will create a pkg installer that places the Installomator.sh
# script file in /usr/local/Installomator/Installomator.sh
# this is for use with MDM systems that require the tools to be local
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
pkgname="Installomator"
version="0.6"
identifier="com.scriptingosx.${pkgname}"
install_location="/usr/local/Installomator/"
signature="Developer ID Installer: Armin Briegel (JME5BW3F3R)"
dev_team="JME5BW3F3R" # asc-provider
dev_account="developer@scriptingosx.com"
dev_keychain_label="notary-scriptingosx"
scriptfolder=$(dirname "$0")
projectfolder=$(mktemp -d)
payloadfolder="${projectfolder}/payload"
# MARK: main code starts here
# create a projectfolder with a payload folder
if [[ ! -d "${payloadfolder}" ]]; then
mkdir -p "${payloadfolder}"
fi
# copy the script file
cp ${scriptfolder}/Installomator.sh ${payloadfolder}
chmod 755 ${payloadfolder}/Installomator.sh
# set the DEBUG variable to 0
sed -i '' -e 's/^DEBUG=1$/DEBUG=0/g' ${payloadfolder}/Installomator.sh
# build the component package
pkgpath="${scriptfolder}/${pkgname}.pkg"
pkgbuild --root "${projectfolder}/payload" \
--identifier "${identifier}" \
--version "${version}" \
--install-location "${install_location}" \
"${pkgpath}"
# build the product archive
productpath="${scriptfolder}/${pkgname}-${version}.pkg"
productbuild --package "${pkgpath}" \
--version "${version}" \
--identifier "${identifier}" \
--sign "${signature}" \
"${productpath}"
# clean up project folder
rm -Rf "${projectfolder}"
# NOTE: notarytool requires Xcode 13
# upload for notarization
xcrun notarytool submit "$productpath" --keychain-profile "$dev_keychain_label" --wait
# staple result
echo "## Stapling $productpath"
xcrun stapler staple "$productpath"
exit 0

81
fragments/arguments.sh Normal file
View File

@@ -0,0 +1,81 @@
# 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."
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"
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"
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"
eval $1
else
# assume it's a label
label=$1
fi
# shift to next argument
shift 1
done
# lowercase the label
label=${label:l}
printlog "################## Start Installomator v. $VERSION"
printlog "################## $label"
# How we get version number from app
# (alternative is "CFBundleVersion", that can be used in labels)
versionKey="CFBundleShortVersionString"
# get current user
currentUser=$(scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ { print $3 }')
# 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)"
exit 0
;;
valuesfromarguments)
if [[ -z $name ]]; then
printlog "need to provide 'name'"
exit 1
fi
if [[ -z $type ]]; then
printlog "need to provide 'type'"
exit 1
fi
if [[ -z $downloadURL ]]; then
printlog "need to provide 'downloadURL'"
exit 1
fi
if [[ -z $expectedTeamID ]]; then
printlog "need to provide 'expectedTeamID'"
exit 1
fi
;;
# label descriptions start here

View File

@@ -0,0 +1,6 @@
brokenappname)
name="brokenapp"
type="dmg"
downloadURL="https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
expectedTeamID="EQHXZ8M8AV"
;;

View File

@@ -0,0 +1,6 @@
brokendownloadurl)
name="Google Chrome"
type="dmg"
downloadURL="https://broken.com/broken.dmg"
expectedTeamID="EQHXZ8M8AV"
;;

View File

@@ -0,0 +1,6 @@
brokenteamid)
name="Google Chrome"
type="dmg"
downloadURL="https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
expectedTeamID="broken"
;;

View File

@@ -0,0 +1,10 @@
fontforge)
# FontForge Not signed
# credit: Søren Theilgaard (@theilgaard)
name="FontForge"
type="dmg"
downloadURL=$(downloadURLFromGit fontforge fontforge)
appNewVersion=$(versionFromGit fontforge fontforge)
expectedTeamID=""
;;

View File

@@ -0,0 +1,12 @@
notifier)
# not signed
# credit: Søren Theilgaard (@theilgaard)
name="dataJAR Notifier"
type="pkg"
#packageID="uk.co.dataJAR.Notifier" # Version 2.2.3 was actually "uk.co.dataJAR.Notifier-2.2.3" so unusable
downloadURL=$(downloadURLFromGit dataJAR Notifier)
appNewVersion=$(versionFromGit dataJAR Notifier)
expectedTeamID=""
blockingProcesses=( "Notifier" )
;;

View File

@@ -0,0 +1,9 @@
packages)
#NOTE: Packages is signed but _not_ notarized, so spctl will reject it
name="Packages"
type="pkgInDmg"
pkgName="Install Packages.pkg"
downloadURL="http://s.sudre.free.fr/Software/files/Packages.dmg"
expectedTeamID="NL5M9E394P"
;;

View File

@@ -0,0 +1,8 @@
parallels)
# This downloads an installer app, so not really useful here
name="Parallels Desktop"
type="dmg"
downloadURL="https://parallels.com/directdownload/pd15/"
appNewVersion=$(curl -fsIL "${downloadURL}" | grep -i ^location | tail -1 | cut -d "/" -f6)
expectedTeamID="4C6364ACXT"
;;

View File

@@ -0,0 +1,10 @@
powershell-lts)
#NOTE: powershell installers are not notarized
# credit: Tadayuki Onishi (@kenchan0130)
name="PowerShell"
type="pkg"
downloadURL=$(curl -fs "https://api.github.com/repos/Powershell/Powershell/releases/latest" \
| awk -F '"' '/browser_download_url/ && /pkg/ { print $4 }' | grep lts)
expectedTeamID="UBF8T346G9"
;;

View File

@@ -0,0 +1,10 @@
powershell)
#NOTE: powershell installers are not notarized
# credit: Tadayuki Onishi (@kenchan0130)
name="PowerShell"
type="pkg"
downloadURL=$(curl -fs "https://api.github.com/repos/Powershell/Powershell/releases/latest" \
| awk -F '"' '/browser_download_url/ && /pkg/ { print $4 }' | grep -v lts )
expectedTeamID="UBF8T346G9"
;;

View File

@@ -0,0 +1,10 @@
vmwarefusion)
#TODO: vmwarefusion installation process needs testing
# credit: Erik Stam (@erikstam)
name="VMware Fusion"
type="dmg"
downloadURL="https://www.vmware.com/go/getfusion"
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | sed -E 's/.*Fusion-([0-9.]*)-.*/\1/g' )
expectedTeamID="EG7KH642X6"
;;

View File

@@ -0,0 +1,13 @@
wordmat)
# WordMat currently not signed
# credit: Søren Theilgaard (@theilgaard)
name="WordMat"
type="pkg"
packageID="com.eduap.pkg.WordMat"
downloadURL=$(downloadURLFromGit Eduap-com WordMat)
#downloadURL=$(curl -fs "https://api.github.com/repos/Eduap-com/WordMat/releases/latest" | awk -F '"' "/browser_download_url/ && /pkg/ && ! /sig/ && ! /CLI/ && ! /sha256/ { print \$4 }")
appNewVersion=$(versionFromGit Eduap-com WordMat)
#curl -fs "https://api.github.com/repos/Eduap-com/WordMat/releases/latest" | grep tag_name | cut -d '"' -f 4 | sed 's/[^0-9\.]//g'
expectedTeamID=""
;;

View File

@@ -0,0 +1,8 @@
wwdcformac)
#this label looks like software/site is gone
name="WWDC"
type="zip"
downloadURL="https://cdn.wwdc.io/WWDC_latest.zip"
expectedTeamID="8C7439RJLG"
;;

619
fragments/functions.sh Normal file
View File

@@ -0,0 +1,619 @@
# 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
if [ -n "$dmgmount" ]; then
# unmount disk image
printlog "Unmounting $dmgmount"
hdiutil detach "$dmgmount"
fi
# If we closed any processes, reopen the app again
reopenClosedProcess
printlog "################## End Installomator, exit code $1 \n\n"
exit "$1"
}
runAsUser() {
if [[ $currentUser != "loginwindow" ]]; then
uid=$(id -u "$currentUser")
launchctl asuser $uid sudo -u $currentUser "$@"
fi
}
reloadAsUser() {
if [[ $currentUser != "loginwindow" ]]; then
uid=$(id -u "$currentUser")
su - $currentUser -c "${@}"
fi
}
displaydialog() { # $1: message $2: title
message=${1:-"Message"}
title=${2:-"Installomator"}
runAsUser osascript -e "button returned of (display dialog \"$message\" with title \"$title\" buttons {\"Not Now\", \"Quit and Update\"} default button \"Quit and Update\" with icon POSIX file \"$LOGO\")"
}
displaydialogContinue() { # $1: message $2: title
message=${1:-"Message"}
title=${2:-"Installomator"}
runAsUser osascript -e "button returned of (display dialog \"$message\" with title \"$title\" buttons {\"Quit and Update\"} default button \"Quit and Update\" with icon POSIX file \"$LOGO\")"
}
displaynotification() { # $1: message $2: title
message=${1:-"Message"}
title=${2:-"Notification"}
manageaction="/Library/Application Support/JAMF/bin/Management Action.app/Contents/MacOS/Management Action"
if [[ -x "$manageaction" ]]; then
"$manageaction" -message "$message" -title "$title"
else
runAsUser osascript -e "display notification \"$message\" with title \"$title\""
fi
}
# MARK: Logging
log_location="/private/var/log/Installomator.log"
printlog(){
timestamp=$(date +%F\ %T)
if [[ "$(whoami)" == "root" ]]; then
echo "$timestamp" "$label" "$1" | tee -a $log_location
else
echo "$timestamp" "$label" "$1"
fi
}
# 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
filetype="zip"
else
filetype=$type
fi
if [ -n "$archiveName" ]; then
downloadURL=$(curl --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" \
| 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
else
echo "$downloadURL"
return 0
fi
}
versionFromGit() {
# credit: Søren Theilgaard (@theilgaard)
# $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')
if [ -z "$appNewVersion" ]; then
printlog "could not retrieve version number for $gitusername/$gitreponame"
appNewVersion=""
else
echo "$appNewVersion"
return 0
fi
}
# Handling of differences in xpath between Catalina and Big Sur
xpath() {
# 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)
#xmllint --xpath $@ -
else
/usr/bin/xpath $@
fi
}
getAppVersion() {
# modified by: Søren Theilgaard (@theilgaard) and Isaac Ordonez
# If label contain function appCustomVersion, we use that and return
if type 'appCustomVersion' 2>/dev/null | grep -q 'function'; then
appversion=$(appCustomVersion)
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"
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
applist="/Applications/$appName"
elif [[ -d "/Applications/Utilities/$appName" ]]; then
applist="/Applications/Utilities/$appName"
else
applist=$(mdfind "kind:application $appName" -0 )
fi
printlog "App(s) found: ${applist}"
appPathArray=( ${(0)applist} )
if [[ ${#appPathArray} -gt 0 ]]; then
filteredAppPaths=( ${(M)appPathArray:#${targetDir}*} )
if [[ ${#filteredAppPaths} -eq 1 ]]; then
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"
# 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."
if [[ $IGNORE_APP_STORE_APPS == "yes" ]]; then
printlog "Replacing App Store apps, no matter the version"
appversion=0
else
cleanupAndExit 1 "App previously installed from App Store, and we respect that"
fi
fi
else
printlog "could not determine location of $appName"
fi
else
printlog "could not find $appName"
fi
}
checkRunningProcesses() {
# don't check in DEBUG mode
if [[ $DEBUG -ne 0 ]]; then
printlog "DEBUG mode, not checking for blocking processes"
return
fi
# try at most 3 times
for i in {1..4}; do
countedProcesses=0
for x in ${blockingProcesses}; do
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"
runAsUser osascript -e "tell app \"$x\" to quit"
if [[ $i > 2 && $BLOCKING_PROCESS_ACTION = "quit_kill" ]]; then
printlog "Changing BLOCKING_PROCESS_ACTION to kill"
BLOCKING_PROCESS_ACTION=kill
else
# give the user a bit of time to quit apps
printlog "waiting 30 seconds for processes to quit"
sleep 30
fi
;;
kill)
printlog "killing process $x"
pkill $x
sleep 5
;;
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"
else
if [[ $i > 2 && $BLOCKING_PROCESS_ACTION = "prompt_user_then_kill" ]]; then
printlog "Changing BLOCKING_PROCESS_ACTION to kill"
BLOCKING_PROCESS_ACTION=kill
else
printlog "telling app $x to quit"
runAsUser osascript -e "tell app \"$x\" to quit"
# give the user a bit of time to quit apps
printlog "waiting 30 seconds for processes to quit"
sleep 30
fi
fi
;;
prompt_user_loop)
button=$(displaydialog "Quit “$x” to continue updating? (Click “Not Now” to be asked in 1 hour, or leave this open until you are ready)." "The application “$x” needs to be updated.")
if [[ $button = "Not Now" ]]; then
if [[ $i < 2 ]]; then
printlog "user wants to wait an hour"
sleep 3600 # 3600 seconds is an hour
else
printlog "change of BLOCKING_PROCESS_ACTION to tell_user"
BLOCKING_PROCESS_ACTION=tell_user
fi
else
printlog "telling app $x to quit"
runAsUser osascript -e "tell app \"$x\" to quit"
# give the user a bit of time to quit apps
printlog "waiting 30 seconds for processes to quit"
sleep 30
fi
;;
tell_user|tell_user_then_kill)
button=$(displaydialogContinue "Quit “$x” to continue updating? (This is an important update). Wait for notification of update before launching app again." "The application “$x” needs to be updated.")
printlog "telling app $x to quit"
runAsUser osascript -e "tell app \"$x\" to quit"
# give the user a bit of time to quit apps
printlog "waiting 30 seconds for processes to quit"
sleep 30
if [[ $i > 1 && $BLOCKING_PROCESS_ACTION = tell_user_then_kill ]]; then
printlog "Changing BLOCKING_PROCESS_ACTION to kill"
BLOCKING_PROCESS_ACTION=kill
fi
;;
silent_fail)
cleanupAndExit 12 "blocking process '$x' found, aborting"
;;
esac
countedProcesses=$((countedProcesses + 1))
fi
done
done
if [[ $countedProcesses -ne 0 ]]; then
cleanupAndExit 11 "could not quit all processes, aborting..."
fi
printlog "no more blocking processes, continue with update"
}
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"
return
fi
if [[ $appClosed == 1 ]]; then
printlog "Telling app $appName to open"
#runAsUser osascript -e "tell app \"$appName\" to open"
#runAsUser open -a "${appName}"
reloadAsUser "open -a \"${appName}\""
#reloadAsUser "open \"${(0)applist}\""
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."
fi
}
installAppWithPath() { # $1: path to app to install in $targetDir
# modified by: Søren Theilgaard (@theilgaard)
appPath=${1?:"no path to app"}
# check if app exists
if [ ! -e "$appPath" ]; then
cleanupAndExit 8 "could not find: $appPath"
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 "Team ID matching: $teamID (expected: $expectedTeamID )"
if [ "$expectedTeamID" != "$teamID" ]; then
cleanupAndExit 5 "Team IDs do not match"
fi
# versioncheck
# credit: Søren Theilgaard (@theilgaard)
appNewVersion=$(defaults read $appPath/Contents/Info.plist $versionKey)
if [[ $appversion == $appNewVersion ]]; then
printlog "Downloaded version of $name is $appNewVersion, same as installed."
if [[ $INSTALL != "force" ]]; then
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"
else
printlog "Using force to install anyway."
fi
else
printlog "Downloaded version of $name is $appNewVersion (replacing version $appversion)."
fi
# skip install for DEBUG
if [ "$DEBUG" -ne 0 ]; then
printlog "DEBUG enabled, skipping remove, copy and chown steps"
return 0
fi
# check for root
if [ "$(whoami)" != "root" ]; then
# not running as root
cleanupAndExit 6 "not running as root, exiting"
fi
# remove existing application
if [ -e "$targetDir/$appName" ]; then
printlog "Removing existing $targetDir/$appName"
rm -Rf "$targetDir/$appName"
fi
# copy app to /Applications
printlog "Copy $appPath to $targetDir"
if ! ditto "$appPath" "$targetDir/$appName"; then
cleanupAndExit 7 "Error while copying"
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"
fi
}
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
if [[ ! -e $dmgmount ]]; then
printlog "Error mounting $tmpDir/$archiveName"
cleanupAndExit 3
fi
printlog "Mounted: $dmgmount"
}
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
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
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
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."
if [[ $currentUser != "loginwindow" && $NOTIFY == "all" ]]; then
printlog "notifying"
displaynotification "$message" "No update for $name!"
fi
cleanupAndExit 0 "No new version to install"
else
printlog "Using force to install anyway."
fi
fi
fi
# skip install for DEBUG
if [ "$DEBUG" -ne 0 ]; then
printlog "DEBUG enabled, skipping installation"
return 0
fi
# check for root
if [ "$(whoami)" != "root" ]; then
# not running as root
cleanupAndExit 6 "not running as root, exiting"
fi
# install pkg
printlog "Installing $archiveName to $targetDir"
if ! installer -pkg "$archiveName" -tgt "$targetDir" ; then
printlog "error installing $archiveName"
cleanupAndExit 9
fi
}
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"
}
installFromTBZ() {
# unzip the archive
printlog "Unzipping $archiveName"
tar -xf "$archiveName"
installAppWithPath "$tmpDir/$appName"
}
installPkgInDmg() {
mountDMG
# locate pkg in dmg
if [[ -z $pkgName ]]; then
# find first file ending with 'pkg'
findfiles=$(find "$dmgmount" -iname "*.pkg" -maxdepth 1 )
filearray=( ${(f)findfiles} )
if [[ ${#filearray} -eq 0 ]]; then
cleanupAndExit 20 "couldn't find pkg in dmg $archiveName"
fi
archiveName="${filearray[1]}"
printlog "found pkg: $archiveName"
else
# it is now safe to overwrite archiveName for installFromPKG
archiveName="$dmgmount/$pkgName"
fi
# installFromPkgs
installFromPKG
}
installPkgInZip() {
# unzip the archive
printlog "Unzipping $archiveName"
tar -xf "$archiveName"
# locate pkg in zip
if [[ -z $pkgName ]]; then
# find first file ending with 'pkg'
findfiles=$(find "$tmpDir" -iname "*.pkg" -maxdepth 2 )
filearray=( ${(f)findfiles} )
if [[ ${#filearray} -eq 0 ]]; then
cleanupAndExit 20 "couldn't find pkg in zip $archiveName"
fi
archiveName="${filearray[1]}"
# it is now safe to overwrite archiveName for installFromPKG
printlog "found pkg: $archiveName"
else
# it is now safe to overwrite archiveName for installFromPKG
archiveName="$tmpDir/$pkgName"
fi
# installFromPkgs
installFromPKG
}
installAppInDmgInZip() {
# unzip the archive
printlog "Unzipping $archiveName"
tar -xf "$archiveName"
# locate dmg in zip
if [[ -z $pkgName ]]; then
# find first file ending with 'dmg'
findfiles=$(find "$tmpDir" -iname "*.dmg" -maxdepth 2 )
filearray=( ${(f)findfiles} )
if [[ ${#filearray} -eq 0 ]]; then
cleanupAndExit 20 "couldn't find dmg in zip $archiveName"
fi
archiveName="$(basename ${filearray[1]})"
# it is now safe to overwrite archiveName for installFromDMG
printlog "found dmg: $tmpDir/$archiveName"
else
# it is now safe to overwrite archiveName for installFromDMG
archiveName="$pkgName"
fi
# installFromDMG, DMG expected to include an app (will not work with pkg)
installFromDMG
}
runUpdateTool() {
printlog "Function called: runUpdateTool"
if [[ -x $updateTool ]]; then
printlog "running $updateTool $updateToolArguments"
if [[ -n $updateToolRunAsCurrentUser ]]; then
runAsUser $updateTool ${updateToolArguments}
else
$updateTool ${updateToolArguments}
fi
if [[ $? -ne 0 ]]; then
cleanupAndExit 15 "Error running $updateTool"
fi
else
printlog "couldn't find $updateTool, continuing normally"
return 1
fi
return 0
}
finishing() {
printlog "Finishing…"
sleep 10 # wait a moment to let spotlight catch up
getAppVersion
if [[ -z $appversion ]]; then
message="Installed $name"
else
message="Installed $name, version $appversion"
fi
printlog "$message"
if [[ $currentUser != "loginwindow" && ( $NOTIFY == "success" || $NOTIFY == "all" ) ]]; then
printlog "notifying"
displaynotification "$message" "$name update/installation complete!"
fi
}

203
fragments/header.sh Normal file
View File

@@ -0,0 +1,203 @@
#!/bin/zsh
label="" # if no label is sent to the script, this will be used
# Installomator
#
# Downloads and installs Applications
# 2020-2021 Installomator
#
# inspired by the download scripts from William Smith and Sander Schram
#
# Contributers:
# Armin Briegel - @scriptingosx
# Isaac Ordonez - @issacatmann
# Søren Theilgaard - @Theile
# Adam Codega - @acodega
#
# with contributions from many others
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
# NOTE: adjust these variables:
# set to 0 for production, 1 for debugging
# while debugging, items will be downloaded to the parent directory of this script
# also no actual installation will be performed
DEBUG=1
# 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
# NOTE: How labels work
# Each workflow label needs to be listed in the case statement below.
# for each label these variables can be set:
#
# - name: (required)
# Name of the installed app.
# This is used to derive many of the other variables.
#
# - type: (required)
# The type of the installation. Possible values:
# - dmg
# - pkg
# - zip
# - tbz
# - pkgInDmg
# - pkgInZip
# - appInDmgInZip
# - updateronly This last one is for labels that should only run an updateTool (see below)
#
# - 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.
# Usefull if a pkg does not install an app.
# See label installomator_st
#
# - downloadURL: (required)
# URL to download the dmg.
# Can be generated with a series of commands (see BBEdit for an example).
#
# - appNewVersion: (optional)
# Version of the downloaded software.
# If given, it will be compared to installed version, to see if download is different.
# It does not check for newer or not, only different.
#
# - versionKey: (optional)
# How we get version number from app. Possible values:
# - CFBundleShortVersionString
# - CFBundleVersion
# Not all software titles uses fields the same.
# See Opera label.
#
# - appCustomVersion(){}: (optional function)
# This function can be added to your label, if a specific custom
# mechanism hs to be used for getting the installed version.
# See labels zulujdk11, zulujdk13, zulujdk15
#
# - expectedTeamID: (required)
# 10-digit developer team ID.
# Obtain the team ID by running:
#
# - Applications (in dmgs or zips)
# spctl -a -vv /Applications/BBEdit.app
#
# - Pkgs
# spctl -a -vv -t install ~/Downloads/desktoppr-0.2.pkg
#
# The team ID is the ten-digit ID at the end of the line starting with 'origin='
#
# - archiveName: (optional)
# The name of the downloaded file.
# When not given the archiveName is derived from the $name.
#
# - appName: (optional)
# File name of the app bundle in the dmg to verify and copy (include .app).
# When not given, the appName is derived from the $name.
#
# - targetDir: (optional)
# dmg or zip:
# Applications will be copied to this directory.
# Default value is '/Applications' for dmg and zip installations.
# pkg:
# targetDir is used as the install-location. Default is '/'.
#
# - blockingProcesses: (optional)
# Array of process names that will block the installation or update.
# If no blockingProcesses array is given the default will be:
# blockingProcesses=( $name )
# When a package contains multiple applications, _all_ should be listed, e.g:
# blockingProcesses=( "Keynote" "Pages" "Numbers" )
# When a workflow has no blocking processes, use
# blockingProcesses=( NONE )
#
# - pkgName: (optional, only used for pkgInDmg, dmgInZip, and appInDmgInZip)
# File name of the pkg/dmg file _inside_ the dmg or zip
# When not given the pkgName is derived from the $name
#
# - updateTool:
# - updateToolArguments:
# When Installomator detects an existing installation of the application,
# and the updateTool variable is set
# $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
#
# - updateToolRunAsCurrentUser:
# When this variable is set (any value), $updateTool will be run as the current user.
#

View File

@@ -0,0 +1,9 @@
1password7)
name="1Password 7"
type="pkg"
downloadURL="https://app-updates.agilebits.com/download/OPM7"
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | sed -E 's/.*\/[0-9a-zA-Z]*-([0-9.]*)\..*/\1/g' )
expectedTeamID="2BUA8C4S2C"
blockingProcesses=( "1Password Extension Helper" "1Password 7" "1Password (Safari)" "1PasswordNativeMessageHost" "1PasswordSafariAppExtension" )
#forcefulQuit=YES
;;

View File

@@ -0,0 +1,8 @@
4kvideodownloader)
name="4K Video Downloader"
type="dmg"
downloadURL="$(curl -fsL "https://www.4kdownload.com/products/product-videodownloader" | grep -E -o "https:\/\/dl\.4kdownload\.com\/app\/4kvideodownloader_.*?.dmg\?source=website" | head -1)"
appNewVersion=$(echo "${downloadURL}" | sed -E 's/.*\/[0-9a-zA-Z]*_([0-9.]*)\.dmg.*/\1/g')
versionKey="CFBundleVersion"
expectedTeamID="GHQ37VJF83"
;;

9
fragments/labels/8x8.sh Normal file
View File

@@ -0,0 +1,9 @@
8x8)
# credit: #D-A-James from MacAdmins Slack and Isaac Ordonez, Mann consulting (@mannconsulting)
name="8x8 Work"
type="dmg"
downloadURL=$(curl -fs -L https://support.8x8.com/cloud-phone-service/voice/work-desktop/download-8x8-work-for-desktop | grep -m 1 -o "https.*dmg" | sed 's/\"//' | awk '{print $1}')
# As for appNewVersion, it needs to be checked for newer version than 7.2.4
appNewVersion=$(curl -fs -L https://support.8x8.com/cloud-phone-service/voice/work-desktop/download-8x8-work-for-desktop | grep -m 1 -o "https.*dmg" | sed 's/\"//' | awk '{print $1}' | sed -E 's/.*-v([0-9\.]*)[-\.]*.*/\1/' )
expectedTeamID="FC967L3QRG"
;;

View File

@@ -0,0 +1,7 @@
abstract)
name="Abstract"
type="zip"
downloadURL="https://api.goabstract.com/releases/latest/download"
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g' )
expectedTeamID="77MZLZE47D"
;;

View File

@@ -0,0 +1,7 @@
adobebrackets)
name="Brackets"
type="dmg"
downloadURL=$(downloadURLFromGit adobe brackets )
appNewVersion=$(versionFromGit adobe brackets )
expectedTeamID="JQ525L2MZD"
;;

View File

@@ -0,0 +1,10 @@
adobeconnect)
# credit: Oh4sh0 https://github.com/Oh4sh0
# Comment by Søren: I do not know this software.
# Looks like it's an Adobe installer in an app, so it will probably not work
name="AdobeConnectInstaller"
type="dmg"
downloadURL="http://www.adobe.com/go/ConnectSetupMac"
appNewVersion=$(curl -fs https://helpx.adobe.com/adobe-connect/connect-downloads-updates.html | grep "Mac" | grep version | head -1 | sed -E 's/.*\(version ([0-9\.]*),.*/\1/g')
expectedTeamID="JQ525L2MZD"
;;

View File

@@ -0,0 +1,9 @@
adobereaderdc-update)
name="Adobe Acrobat Reader DC"
type="pkgInDmg"
downloadURL=$(adobecurrent=`curl --fail --silent https://armmf.adobe.com/arm-manifests/mac/AcrobatDC/reader/current_version.txt | tr -d '.'` && echo http://ardownload.adobe.com/pub/adobe/reader/mac/AcrobatDC/"$adobecurrent"/AcroRdrDCUpd"$adobecurrent"_MUI.dmg)
appNewVersion=$(curl -s https://armmf.adobe.com/arm-manifests/mac/AcrobatDC/reader/current_version.txt)
#appNewVersion=$(curl -s -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15)" https://get.adobe.com/reader/ | grep ">Version" | sed -E 's/.*Version 20([0-9.]*)<.*/\1/g') # credit: Søren Theilgaard (@theilgaard)
expectedTeamID="JQ525L2MZD"
blockingProcesses=( "AdobeReader" )
;;

View File

@@ -0,0 +1,11 @@
adobereaderdc|\
adobereaderdc-install)
name="Adobe Acrobat Reader DC"
type="pkgInDmg"
packageID="com.adobe.acrobat.DC.reader.app.pkg.MUI"
downloadURL=$(curl --silent --fail -H "Sec-Fetch-Site: same-origin" -H "Accept-Encoding: gzip, deflate, br" -H "Accept-Language: en-US;q=0.9,en;q=0.8" -H "DNT: 1" -H "Sec-Fetch-Mode: cors" -H "X-Requested-With: XMLHttpRequest" -H "Referer: https://get.adobe.com/reader/enterprise/" -H "Accept: */*" "https://get.adobe.com/reader/webservices/json/standalone/?platform_type=Macintosh&platform_dist=OSX&platform_arch=x86-32&language=English&eventname=readerotherversions" | grep -Eo '"download_url":.*?[^\]",' | head -n 1 | cut -d \" -f 4)
appNewVersion=$(curl -s https://armmf.adobe.com/arm-manifests/mac/AcrobatDC/reader/current_version.txt)
#appNewVersion=$(curl -s -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15)" https://get.adobe.com/reader/ | grep ">Version" | sed -E 's/.*Version 20([0-9.]*)<.*/\1/g') # credit: Søren Theilgaard (@theilgaard)
expectedTeamID="JQ525L2MZD"
blockingProcesses=( "AdobeReader" )
;;

View File

@@ -0,0 +1,7 @@
aircall)
# credit: @kris-anderson
name="Aircall"
type="dmg"
downloadURL="https://electron.aircall.io/download/osx"
expectedTeamID="3ML357Q795"
;;

View File

@@ -0,0 +1,8 @@
airserver)
# credit: AP Orlebeke (@apizz)
name="AirServer"
type="dmg"
downloadURL="https://www.airserver.com/download/mac/latest"
#appNewVersion=$() # Cannot find version history or release notes on home page
expectedTeamID="6C755KS5W3"
;;

View File

@@ -0,0 +1,7 @@
airtame)
name="Airtame"
type="dmg"
downloadURL="$(curl -fs https://airtame.com/download/ | grep -i platform=mac | head -1 | grep -o -i -E "https.*" | cut -d '"' -f1)"
appNewVersion="$(curl -fsIL "${downloadURL}" | grep -i ^location | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g')"
expectedTeamID="4TPSP88HN2"
;;

View File

@@ -0,0 +1,7 @@
aldente)
name="AlDente"
type="dmg"
downloadURL=$(downloadURLFromGit davidwernhart AlDente)
appNewVersion=$(versionFromGit davidwernhart AlDente)
expectedTeamID="3WVC84GB99"
;;

View File

@@ -0,0 +1,9 @@
alfred)
# credit: AP Orlebeke (@apizz)
name="Alfred"
type="dmg"
downloadURL=$(curl -fs https://www.alfredapp.com | awk -F '"' "/dmg/ {print \$2}" | head -1)
appNewVersion=$(echo "${downloadURL}" | sed -E 's/.*Alfred_([0-9.]*)_.*/\1/')
appName="Alfred 4.app"
expectedTeamID="XZZXE9SED4"
;;

View File

@@ -0,0 +1,7 @@
alttab)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="AltTab"
type="zip"
downloadURL=$(downloadURLFromGit lwouis alt-tab-macos)
expectedTeamID="QXD7GW8FHY"
;;

View File

@@ -0,0 +1,8 @@
amazonchime)
# credit: @dvsjr macadmins slack
name="Amazon Chime"
type="dmg"
downloadURL="https://clients.chime.aws/mac/latest"
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | sed -E 's/.*\/[a-zA-Z.\-]*-([0-9.]*)\..*/\1/g' )
expectedTeamID="94KV3E626L"
;;

View File

@@ -0,0 +1,8 @@
amazonworkspaces)
# credit: Isaac Ordonez, Mann consulting (@mannconsulting)
name="Workspaces"
type="pkg"
downloadURL="https://d2td7dqidlhjx7.cloudfront.net/prod/global/osx/WorkSpaces.pkg"
appNewVersion=$(curl -fs https://d2td7dqidlhjx7.cloudfront.net/prod/iad/osx/WorkSpacesAppCast_macOS_20171023.xml | grep -o "Version*.*<" | head -1 | cut -d " " -f2 | cut -d "<" -f1)
expectedTeamID="94KV3E626L"
;;

View File

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

View File

@@ -0,0 +1,7 @@
anydesk)
name="AnyDesk"
type="dmg"
downloadURL="https://download.anydesk.com/anydesk.dmg"
appNewVersion="$(curl -fs https://anydesk.com/da/downloads/mac-os | grep -i "d-block" | grep -E -o ">v[0-9.]* .*MB" | sed -E 's/.*v([0-9.]*) .*/\1/g')"
expectedTeamID="KU6W3B6JMZ"
;;

View File

@@ -0,0 +1,6 @@
apparency)
name="Apparency"
type="dmg"
downloadURL="https://www.mothersruin.com/software/downloads/Apparency.dmg"
expectedTeamID="936EB786NH"
;;

View File

@@ -0,0 +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)
expectedTeamID="X85ZX835W9"
;;

View File

@@ -0,0 +1,7 @@
applenyfonts)
name="Apple New York Font Collection"
type="pkgInDmg"
downloadURL="https://devimages-cdn.apple.com/design/resources/download/NY.dmg"
packageID="com.apple.pkg.NYFonts"
expectedTeamID="Development Update"
;;

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
applesfsymbols|\
sfsymbols)
name="SF Symbols"
type="pkgInDmg"
downloadURL="https://developer.apple.com/design/downloads/SF-Symbols.dmg"
expectedTeamID="Software Update"
;;

View File

@@ -0,0 +1,8 @@
aquaskk)
# credit: Tadayuki Onishi (@kenchan0130)
name="aquaskk"
type="pkg"
downloadURL=$(downloadURLFromGit codefirst aquaskk)
appNewVersion=$(versionFromGit codefirst aquaskk)
expectedTeamID="FPZK4WRGW7"
;;

8
fragments/labels/arq7.sh Normal file
View File

@@ -0,0 +1,8 @@
arq7)
name="Arq7"
type="pkg"
packageID="com.haystacksoftware.Arq"
downloadURL="https://arqbackup.com/download/arqbackup/Arq7.pkg"
appNewVersion="$(curl -fs "https://arqbackup.com" | grep -io "version .*[0-9.]*.* for macOS" | cut -d ">" -f2 | cut -d "<" -f1)"
expectedTeamID="48ZCSDVL96"
;;

View File

@@ -0,0 +1,7 @@
asana)
# credit: Lance Stephens (@pythoninthegrass on MacAdmins Slack)
name="Asana"
type="dmg"
downloadURL="https://desktop-downloads.asana.com/darwin_x64/prod/latest/Asana.dmg"
expectedTeamID="A679L395M8"
;;

View File

@@ -0,0 +1,7 @@
atext)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="aText"
type="dmg"
downloadURL="https://trankynam.com/atext/downloads/aText.dmg"
expectedTeamID="KHEMQ2FD9E"
;;

8
fragments/labels/atom.sh Normal file
View File

@@ -0,0 +1,8 @@
atom)
name="Atom"
type="zip"
archiveName="atom-mac.zip"
downloadURL=$(downloadURLFromGit atom atom )
appNewVersion=$(versionFromGit atom atom)
expectedTeamID="VEKTX9H2N7"
;;

View File

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

View File

@@ -0,0 +1,7 @@
authydesktop)
name="Authy Desktop"
type="dmg"
downloadURL="https://electron.authy.com/download?channel=stable&arch=x64&platform=darwin&version=latest&product=authy"
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,8 @@
autodmg)
# credit: Mischa van der Bent (@mischavdbent)
name="AutoDMG"
type="dmg"
downloadURL=$(downloadURLFromGit MagerValp AutoDMG)
appNewVersion=$(versionFromGit MagerValp AutoDMG)
expectedTeamID="5KQ3D3FG5H"
;;

View File

@@ -0,0 +1,9 @@
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,7 @@
aviatrix)
# credit: Isaac Ordonez, Mann consulting (@mannconsulting)
name="Aviatrix VPN Client"
type="pkg"
downloadURL="https://s3-us-west-2.amazonaws.com/aviatrix-download/AviatrixVPNClient/AVPNC_mac.pkg"
expectedTeamID="32953Z7NBN"
;;

View File

@@ -0,0 +1,9 @@
awscli2)
# credit: Bilal Habib (@Pro4TLZZ)
name="AWSCLI"
type="pkg"
packageID="com.amazon.aws.cli2"
downloadURL="https://awscli.amazonaws.com/AWSCLIV2.pkg"
appNewVersion=$( curl -fs "https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst" | grep -i "CHANGELOG" -a4 | grep "[0-9.]" )
expectedTeamID="94KV3E626L"
;;

View File

@@ -0,0 +1,7 @@
awsvpnclient)
name="AWS VPN Client"
type="pkg"
downloadURL="https://d20adtppz83p9s.cloudfront.net/OSX/latest/AWS_VPN_Client.pkg"
expectedTeamID="94KV3E626L"
appNewVersion=$(curl -is "https://beta2.communitypatch.com/jamf/v1/ba1efae22ae74a9eb4e915c31fef5dd2/patch/AWSVPNClient" | grep currentVersion | tr ',' '\n' | grep currentVersion | cut -d '"' -f 4)
;;

View File

@@ -0,0 +1,7 @@
balenaetcher)
name="balenaEtcher"
type="dmg"
downloadURL=$(downloadURLFromGit balena-io etcher )
appNewVersion=$(versionFromGit balena-io etcher )
expectedTeamID="66H43P8FRG"
;;

View File

@@ -0,0 +1,7 @@
balsamiqwireframes)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="Balsamiq Wireframes"
type="dmg"
downloadURL=https://builds.balsamiq.com/bwd/$(curl -fs "https://builds.balsamiq.com" | awk -F "<Key>bwd/" "/dmg/ {print \$3}" | awk -F "</Key>" "{print \$1}" | sed "s/ /%20/g")
expectedTeamID="3DPKD72KQ7"
;;

View File

@@ -0,0 +1,7 @@
bartender)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="Bartender 4"
type="dmg"
downloadURL="https://www.macbartender.com/B2/updates/B4Latest/Bartender%204.dmg"
expectedTeamID="8DD663WDX4"
;;

View File

@@ -0,0 +1,8 @@
basecamp3)
#credit: @matins
name="Basecamp 3"
type="dmg"
downloadURL="https://bc3-desktop.s3.amazonaws.com/mac/basecamp3.dmg"
expectedTeamID="2WNYUYRS7G"
appName="Basecamp 3.app"
;;

View File

@@ -0,0 +1,7 @@
bbedit)
name="BBEdit"
type="dmg"
downloadURL=$(curl -s https://versioncheck.barebones.com/BBEdit.xml | grep dmg | sort | tail -n1 | cut -d">" -f2 | cut -d"<" -f1)
appNewVersion=$(curl -s https://versioncheck.barebones.com/BBEdit.xml | grep dmg | sort | tail -n1 | sed -E 's/.*BBEdit_([0-9 .]*)\.dmg.*/\1/')
expectedTeamID="W52GZAXT98"
;;

View File

@@ -0,0 +1,8 @@
bettertouchtool)
# credit: Søren Theilgaard (@theilgaard)
name="BetterTouchTool"
type="zip"
downloadURL="https://folivora.ai/releases/BetterTouchTool.zip"
appNewVersion=$(curl -fs https://updates.folivora.ai/bettertouchtool_release_notes.html | grep BetterTouchTool | head -n 2 | tail -n 1 | sed -E 's/.* ([0-9\.]*) .*/\1/g')
expectedTeamID="DAFVSXZ82P"
;;

View File

@@ -0,0 +1,7 @@
bitwarden)
name="Bitwarden"
type="dmg"
downloadURL=$(downloadURLFromGit bitwarden desktop )
appNewVersion=$(versionFromGit bitwarden desktop )
expectedTeamID="LTZ2PFU5D6"
;;

View File

@@ -0,0 +1,7 @@
blender)
name="blender"
type="dmg"
downloadURL=$(redirect=$(curl -sfL https://www.blender.org/download/ | sed 's/.*href="//' | sed 's/".*//' | grep .dmg) && curl -sfL "$redirect" | sed 's/.*href="//' | sed 's/".*//' | grep -m1 .dmg)
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)-.*/\1/g' )
expectedTeamID="68UA947AUU"
;;

View File

@@ -0,0 +1,11 @@
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" )
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
appNewVersion=$(echo $downloadURL | cut -d '/' -f6)
expectedTeamID="HE4P42JBGN"
;;

View File

@@ -0,0 +1,12 @@
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
expectedTeamID="M683GB7CPW"
;;

View File

@@ -0,0 +1,6 @@
boxsync)
name="Box Sync"
type="dmg"
downloadURL="https://e3.boxcdn.net/box-installers/sync/Sync+4+External/Box%20Sync%20Installer.dmg"
expectedTeamID="M683GB7CPW"
;;

View File

@@ -0,0 +1,6 @@
boxtools)
name="Box Tools"
type="pkg"
downloadURL="https://box-installers.s3.amazonaws.com/boxedit/mac/currentrelease/BoxToolsInstaller.pkg"
expectedTeamID="M683GB7CPW"
;;

15
fragments/labels/brave.sh Normal file
View File

@@ -0,0 +1,15 @@
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')
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')
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)
expectedTeamID="KL8N8XSYF4"
;;

View File

@@ -0,0 +1,8 @@
caffeine)
name="Caffeine"
type="dmg"
downloadURL=$(downloadURLFromGit IntelliScape caffeine)
appNewVersion=$(versionFromGit IntelliScape caffeine)
expectedTeamID="YD6LEYT6WZ"
blockingProcesses=( Caffeine )
;;

View File

@@ -0,0 +1,7 @@
cakebrew)
name="Cakebrew"
type="zip"
downloadURL=$(curl -fsL "https://www.cakebrew.com/appcast/profileInfo.php" | xpath '//rss/channel/item[1]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2)
appNewVersion=$( curl -fsL "https://www.cakebrew.com/appcast/profileInfo.php" | xpath '//rss/channel/item[1]/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f 2 )
expectedTeamID="R85D3K8ATT"
;;

View File

@@ -0,0 +1,12 @@
calibre)
# credit: Drew Diver (@grumpydrew on MacAdmins Slack)
name="calibre"
type="dmg"
downloadURL="https://calibre-ebook.com/dist/osx"
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g' )
#Maybe change to GitHub for this title. Looks like 5.28.0 release is the first to also release a binary, so maybe see what the next release will be to decide if we should switch.
#downloadURL=$(downloadURLFromGit kovidgoyal calibre )
#appNewVersion=$(versionFromGit kovidgoyal calibre )
#archiveName="OS X dmg"
expectedTeamID="NTY7FVCEKP"
;;

View File

@@ -0,0 +1,8 @@
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)
expectedTeamID="Q248YREB53"
;;

View File

@@ -0,0 +1,6 @@
camtasia)
name="Camtasia 2020"
type="dmg"
downloadURL=https://download.techsmith.com/camtasiamac/releases/Camtasia.dmg
expectedTeamID="7TQL462TU8"
;;

View File

@@ -0,0 +1,7 @@
cisdem-documentreader)
name="cisdem-documentreader"
type="dmg"
downloadURL="https://download.cisdem.com/cisdem-documentreader.dmg"
expectedTeamID="5HGV8EX6BQ"
appName="Cisdem Document Reader.app"
;;

View File

@@ -0,0 +1,8 @@
citrixworkspace)
#credit: Erik Stam (@erikstam) and #Philipp on MacAdmins Slack
name="Citrix Workspace"
type="pkgInDmg"
downloadURL="https:"$(curl -s -L "https://www.citrix.com/downloads/workspace-app/mac/workspace-app-for-mac-latest.html#ctx-dl-eula-external" | grep "dmg?" | sed "s/.*rel=.\(.*\)..id=.*/\1/") # http://downloads.citrix.com/18823/CitrixWorkspaceApp.dmg?__gda__=1605791892_edc6786a90eb5197fb226861a8e27aa8
appNewVersion=$(curl -fs https://www.citrix.com/downloads/workspace-app/mac/workspace-app-for-mac-latest.html | grep "<p>Version" | head -1 | cut -d " " -f1 | cut -d ";" -f2 | cut -d "." -f 1-3)
expectedTeamID="S272Y5R93J"
;;

View File

@@ -0,0 +1,7 @@
clevershare2)
name="Clevershare"
type="dmg"
downloadURL=$(curl -fs https://www.clevertouch.com/eu/clevershare2g | grep -i -o -E "https.*Mac.*\.dmg")
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z-]*_Mac\.([0-9.]*)\.[0-9]*\.dmg$/\1/g' )
expectedTeamID="P76M9BE8DQ"
;;

View File

@@ -0,0 +1,7 @@
clickshare)
# credit: Søren Theilgaard (@theilgaard)
name="ClickShare"
type="appInDmgInZip"
downloadURL=https://www.barco.com$(curl -fs "https://www.barco.com/en/clickshare/app" | grep -E -o '(\/\S*Download\?FileNumber=R3306192\S*ShowDownloadPage=False)' | tail -1)
expectedTeamID="P6CDJZR997"
;;

View File

@@ -0,0 +1,7 @@
cloudya)
name="Cloudya"
type="appInDmgInZip"
downloadURL="$(curl -fs https://www.nfon.com/de/service/downloads | grep -i -E -o "https://cdn.cloudya.com/Cloudya-[.0-9]+-mac.zip")"
appNewVersion="$(curl -fs https://www.nfon.com/de/service/downloads | grep -i -E -o "Cloudya Desktop App MAC [0-9.]*" | sed 's/^.*\ \([^ ]\{0,7\}\)$/\1/g')"
expectedTeamID="X26F74J8TH"
;;

View File

@@ -0,0 +1,8 @@
code42)
# credit: Isaac Ordonez, Mann consulting (@mannconsulting)
name="Code42"
type="pkgInDmg"
downloadURL=https://download.code42.com/installs/agent/latest-mac.dmg
expectedTeamID="9YV9435DHD"
blockingProcesses=( NONE )
;;

View File

@@ -0,0 +1,7 @@
coderunner)
# credit: Erik Stam (@erikstam)
name="CodeRunner"
type="zip"
downloadURL="https://coderunnerapp.com/download"
expectedTeamID="R4GD98AJF9"
;;

View File

@@ -0,0 +1,8 @@
colourcontrastanalyser)
name="Colour Contrast Analyser (CCA)"
type="dmg"
downloadURL=$(downloadURLFromGit ThePacielloGroup CCAe)
appNewVersion=$(versionFromGit ThePacielloGroup CCAe)
expectedTeamID="34RS4UC3M6"
blockingProcesses=( NONE )
;;

View File

@@ -0,0 +1,8 @@
cormorant)
# credit: Søren Theilgaard (@theilgaard)
name="Cormorant"
type="zip"
downloadURL=$(curl -fs https://eclecticlight.co/downloads/ | grep -i $name | grep zip | sed -E 's/.*href=\"(https.*)\">.*/\1/g')
appNewVersion=$(curl -fs https://eclecticlight.co/downloads/ | grep zip | grep -o -E "$name [0-9.]*" | awk '{print $2}')
expectedTeamID="QWY4LRW926"
;;

View File

@@ -0,0 +1,8 @@
craftmanager)
name="CraftManager"
type="zip"
#downloadURL="https://craft-assets.invisionapp.com/CraftManager/production/CraftManager.zip"
downloadURL="$(curl -fs https://craft-assets.invisionapp.com/CraftManager/production/appcast.xml | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2)"
appNewVersion="$(curl -fs https://craft-assets.invisionapp.com/CraftManager/production/appcast.xml | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2)"
expectedTeamID="VRXQSNCL5W"
;;

View File

@@ -0,0 +1,7 @@
cryptomator)
name="Cryptomator"
type="dmg"
downloadURL=$(downloadURLFromGit cryptomator cryptomator)
appNewVersion=$(versionFromGit cryptomator cryptomator)
expectedTeamID="YZQJQUHA3L"
;;

View File

@@ -0,0 +1,7 @@
cyberduck)
name="Cyberduck"
type="zip"
downloadURL=$(curl -fs https://version.cyberduck.io/changelog.rss | xpath '//rss/channel/item/enclosure/@url' 2>/dev/null | cut -d '"' -f 2 )
appNewVersion=$(curl -fs https://version.cyberduck.io/changelog.rss | xpath '//rss/channel/item/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f 2 )
expectedTeamID="G69SCX94XU"
;;

View File

@@ -0,0 +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"
;;

View File

@@ -0,0 +1,8 @@
darktable)
# credit: Søren Theilgaard (@theilgaard)
name="darktable"
type="dmg"
downloadURL=$(downloadURLFromGit darktable-org darktable)
appNewVersion=$(versionFromGit darktable-org darktable)
expectedTeamID="85Q3K4KQRY"
;;

View File

@@ -0,0 +1,7 @@
dbeaverce)
name="DBeaver"
type="dmg"
downloadURL="https://dbeaver.io/files/dbeaver-ce-latest-macos.dmg"
expectedTeamID="42B6MDKMW8"
blockingProcesses=( dbeaver )
;;

View File

@@ -0,0 +1,6 @@
debookee)
name="Debookee"
type="zip"
downloadURL=$(curl --location --fail --silent "https://www.iwaxx.com/debookee/appcast.xml" | xpath '//rss/channel/item[1]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2)
expectedTeamID="AATLWWB4MZ"
;;

View File

@@ -0,0 +1,7 @@
defaultfolderx)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="Default Folder X"
type="dmg"
downloadURL=$(curl -fs "https://www.stclairsoft.com/cgi-bin/dl.cgi?DX" | awk -F '"' "/dmg/ {print \$4}" | head -2 | tail -1)
expectedTeamID="7HK42V8R9D"
;;

View File

@@ -0,0 +1,7 @@
depnotify)
name="DEPNotify"
type="zip"
downloadURL="https://files.nomad.menu/DEPNotify.zip"
expectedTeamID="VRPY9KHGX6"
targetDir="/Applications/Utilities"
;;

View File

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

View File

@@ -0,0 +1,8 @@
detectxswift)
# credit: AP Orlebeke (@apizz)
name="DetectX Swift"
type="zip"
downloadURL="https://s3.amazonaws.com/sqwarq.com/PublicZips/DetectX_Swift.app.zip"
appNewVersion=$(curl -fs https://s3.amazonaws.com/sqwarq.com/AppCasts/dtxswift_release_notes.html | grep Version | head -1 | sed -E 's/.*Version ([0-9.]*)\<.*/\1/')
expectedTeamID="MAJ5XBJSG3"
;;

View File

@@ -0,0 +1,9 @@
devonthink)
# It's a zipped dmg file, needs function installAppInDmgInZip
# credit: Søren Theilgaard (@theilgaard)
name="DEVONthink 3"
type="appInDmgInZip"
downloadURL=$( curl -fs https://www.devontechnologies.com/apps/devonthink | grep -i "download.devon" | tr '"' '\n' | tr "'" '\n' | grep -e '^https://' )
appNewVersion=$( echo ${downloadURL} | tr '/' '\n' | grep "[0-9]" | grep "[.]" | head -1 )
expectedTeamID="679S2QUWR8"
;;

View File

@@ -0,0 +1,8 @@
dialog)
name="Dialog"
type="pkg"
downloadURL=$(downloadURLFromGit bartreardon Dialog-public )
appNewVersion=$(versionFromGit bartreardon Dialog-public )
expectedTeamID="PWA5E9TQ59"
;;

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