262 Commits
v0.2 ... v0.5

Author SHA1 Message Date
Armin Briegel
24b8b435b6 removed pkg from repo 2021-04-20 08:54:29 +02:00
Armin Briegel
a8a2eaf5f0 Update .gitignore 2021-04-20 08:52:59 +02:00
Søren Theilgaard
8487d24c05 v0.5
docker label
2021-04-18 13:08:29 +02:00
Søren Theilgaard
ced90daa71 v0.5 2021-04-18 10:56:59 +02:00
Søren Theilgaard
2946990942 v0.5
idrive label
2021-04-14 22:58:11 +02:00
Armin Briegel
76b4f579e7 updated buildInstallomatorScript to set DEBUG to 0 in pkg 2021-04-13 10:41:11 +02:00
Søren Theilgaard
b83c8d2904 Merge pull request #148 from midni9ht/midni9ht-pycharm-and-ce-urls
Added M1 URL for PyCharm CE. Changed PyCharm (Pro) URLs to direct links.
2021-04-12 22:19:08 +02:00
Søren Theilgaard
61ff92ae28 v0.5 type updateronly
A label can now be of type "updateronly" if only updateTool should be used
2021-04-12 21:39:57 +02:00
Søren Theilgaard
4fe2c926f4 v0.5
updateTool now working. Improved log for this, as well as creating a finishing function so that we can call this when updateTool was used.
2021-04-12 20:16:47 +02:00
Adrian Bühler
c3514d247f Update Installomator.sh 2021-04-12 20:12:34 +02:00
Adrian Bühler
bd71675961 Added simplified URLs for jetbrainspycharm
There are direct links for Intel and Apple Silicon packages of PyCharm Pro available. Replaced the existing URLs with the simplified ones.
Also corrected a doubled 'appNewVersion' line.
2021-04-12 20:09:10 +02:00
Adrian Bühler
54cf6ca9b3 Added URL for Apple Silicon to PyCharm CE
Added URL for Apple Silicon to PyCharm CE. Also added appNewVersion.
2021-04-12 20:03:11 +02:00
Søren Theilgaard
5c6e37dd88 v0.5
Microsoft labels changed for version and sorted alphabetically
2021-04-12 17:50:12 +02:00
Søren Theilgaard
0f0715e659 Merge pull request #147 from midni9ht/midni9ht-add-pycharm
Added 'pycharm' to Installomator and Labels
2021-04-12 16:24:31 +02:00
Søren Theilgaard
7c6134e781 Also renamed pycharmce to jetbrainspycharmce 2021-04-12 16:22:50 +02:00
Søren Theilgaard
fa6ba7cc2c Update Labels.txt 2021-04-12 16:20:54 +02:00
Søren Theilgaard
c6f951a1f4 Changed name to jetbrainspycharm
Quite some labels from jetbrains, so naming them with this.
2021-04-12 16:19:35 +02:00
Adrian Bühler
9370b7a87a Added 'pycharm' to Labels.txt
Added label for PyCharm (Pro) to Labels.txt
2021-04-12 09:32:00 +02:00
Adrian Bühler
6cd002206b Added 'pycharm'
Added PyCharm (Pro) to Installomator.
2021-04-12 09:31:03 +02:00
Søren Theilgaard
d1afcb6d7e v0.5
darktable label
2021-04-08 15:21:19 +02:00
Søren Theilgaard
0c100c3959 v0.5
darktable label
2021-04-08 15:20:12 +02:00
Søren Theilgaard
27856d5dd8 v0.5
Miro and installomator_theile labels added.
2021-04-08 13:44:45 +02:00
Søren Theilgaard
236b6f49d7 v0.5
OmniGroup labels improvements
2021-04-02 14:59:15 +02:00
Søren Theilgaard
d9ae95cf1f v0.5
Slack and GIMP
2021-03-31 21:46:06 +02:00
Søren Theilgaard
80a2acf560 Merge pull request #141 from midni9ht/midni9ht-add-vivaldi
Added 'vivaldi'
2021-03-31 19:45:36 +02:00
Søren Theilgaard
aaaaab7e1e Update Installomator.sh 2021-03-31 19:44:41 +02:00
Søren Theilgaard
97c37d43fc 0.5 2021-03-31 19:41:39 +02:00
Søren Theilgaard
78070d2d8e Merge pull request #142 from midni9ht/midni9ht-fix-type
Added 'tbz' to type values
2021-03-31 19:37:28 +02:00
Adrian Bühler
0e4ff610f8 Added 'tbz' to type values
tbz (used for handling tar files) is missing in the list of type values. Added that one.
2021-03-31 17:50:15 +02:00
Adrian Bühler
3e0d3173b9 Added 'vivaldi'
Added 'vivaldi' to Labels.txt
2021-03-31 17:31:33 +02:00
Adrian Bühler
d29881aecc Added 'vivaldi'
Added the Vivaldi Browser to Installomator.sh
2021-03-31 17:29:59 +02:00
Søren Theilgaard
b9e430dcf8 0.5 2021-03-31 15:53:56 +02:00
Søren Theilgaard
2efe4a8f1f v0.5.1 2021-03-31 15:50:44 +02:00
Søren Theilgaard
ace185ba3d 0.5 2021-03-31 11:35:51 +02:00
Søren Theilgaard
33a4185526 0.5 2021-03-30 23:42:23 +02:00
Søren Theilgaard
93ca0f9d55 0.5 2021-03-30 22:33:26 +02:00
Søren Theilgaard
97bf988885 0.5 2021-03-30 22:19:07 +02:00
Søren Theilgaard
59c6d169ee v0.5 2021-03-30 22:14:33 +02:00
Søren Theilgaard
402f6025be Merge branch 'dev' of https://github.com/scriptingosx/Installomator into dev 2021-03-28 14:12:32 +02:00
Søren Theilgaard
57db07ff91 v0.5.0 2021-03-28 14:12:22 +02:00
Søren Theilgaard
e39e6eccaf Delete Installomator-0.5.pkg 2021-03-28 14:11:33 +02:00
Søren Theilgaard
15cf49d13b v0.5.0 2021-03-28 14:10:46 +02:00
Søren Theilgaard
c260e68a58 v0.5.0 2021-03-28 14:10:13 +02:00
Søren Theilgaard
4932ea6a31 Merge pull request #130 from scriptingosx/Theile-patch-1
With Theile additions (0.5.0)
2021-03-28 14:09:00 +02:00
Søren Theilgaard
d63b38f50b Update Installomator.sh 2021-03-28 09:55:52 +02:00
Søren Theilgaard
541f5a19fe v0.5.0
It will be versioned as version 0.5
2021-03-28 09:20:13 +02:00
Søren Theilgaard
da82105186 v0.4.25 2021-03-27 17:02:35 +01:00
Søren Theilgaard
9fdf378357 Update buildCaseStatement.sh 2021-03-25 14:51:51 +01:00
Søren Theilgaard
402b676ce5 Update Installomator.sh 2021-03-24 08:40:10 +01:00
Søren Theilgaard
33a42b129b Updated for packageID 2021-03-23 13:46:31 +01:00
Søren Theilgaard
a11dc1a49a v0.4.24 2021-03-23 13:43:37 +01:00
Søren Theilgaard
a47ac79804 v0.4.23 version checking of pkg
If type=pkg and packageID is set, then we can now check for version with that information.
2021-03-17 16:16:38 +01:00
Søren Theilgaard
c3ec7958c2 With LOGO variable, and no re-launch
Re-launch is not currently working as it gives problems with the keychain.
2021-03-17 09:50:07 +01:00
Søren Theilgaard
523883e681 Update Installomator.sh 2021-02-22 21:54:22 +01:00
Søren Theilgaard
f082d1e438 Update Installomator.sh 2021-02-22 14:10:49 +01:00
Søren Theilgaard
0fd6600358 Update Installomator.sh 2021-02-22 12:52:52 +01:00
Søren Theilgaard
426168db71 Update Installomator.sh 2021-02-18 12:47:01 +01:00
Søren Theilgaard
6073495684 Update Installomator.sh 2021-02-17 22:24:47 +01:00
Søren Theilgaard
0c5231786a Update Installomator.sh 2021-02-17 22:24:24 +01:00
Søren Theilgaard
cee856d5c8 Merge branch 'dev' into Theile-patch-1 2021-02-17 10:28:54 +01:00
Søren Theilgaard
602db7279a Update Installomator.sh 2021-02-15 21:49:52 +01:00
Søren Theilgaard
a93fc8d6dc Labels alphabetically 2021-02-15 21:46:26 +01:00
isaacatmann
1a9ac1c6e2 Merge pull request #131 from darklink87/dev
Fix broken DBeaver install
2021-02-15 10:25:53 -08:00
Gabe Marchan
5f1987dea3 Update Installomator.sh
PKG is no longer available and the download link is no longer functional. Updating it to use DMG with the updated download link.
2021-02-15 11:11:10 -06:00
Søren Theilgaard
8fc1640e5c With Theile additions (0.4.19) 2021-02-15 12:56:37 +01:00
Armin Briegel
e0e209549f Update Labels.txt 2020-12-18 09:56:17 +01:00
Armin Briegel
fe244a817a Merge pull request #103 from apizz/patch-1
Add vagrant
2020-12-18 09:55:36 +01:00
Armin Briegel
582bd77805 Merge branch 'dev' into patch-1 2020-12-18 09:54:26 +01:00
Armin Briegel
cb575db52a added etrecheck 2020-12-18 09:29:08 +01:00
Armin Briegel
b963792723 added jamfconnect 2020-12-18 09:26:50 +01:00
AP Orlebeke
3b872cf5ba Add vagrant
The XML from the vagrant downloads page is one giant html document with no spaces.  If there's a better & more efficient way of parsing this, please lmk or update according so it can serve as a template for other similarly formatted websites.
2020-12-17 11:36:41 -05:00
Armin Briegel
789e53314d added missing credits 2020-12-17 10:54:06 +01:00
Armin Briegel
b35db33421 whitespace fixes and updated Labels 2020-12-17 10:53:14 +01:00
Armin Briegel
cde16ba6a8 Merge pull request #102 from kris-anderson/feature/added-aircall
added aircall
2020-12-17 10:38:19 +01:00
Armin Briegel
8e7694c71e Merge branch 'dev' into feature/added-aircall 2020-12-17 10:38:06 +01:00
Armin Briegel
7750cb4597 added seven more apps, closes #100 2020-12-17 10:35:13 +01:00
Armin Briegel
5ec9a4e8fb added plantronicshub, jabradirect 2020-12-17 09:41:45 +01:00
Armin Briegel
3cd13bed39 added microsoftlicenseremovaltool 2020-12-17 09:25:36 +01:00
Kris Anderson
7db0d68776 added aircall 2020-12-16 22:01:36 -08:00
Armin Briegel
6f1da5ae7b added sidekick 2020-12-16 14:33:59 +01:00
Armin Briegel
76aa2bde13 added pitch 2020-12-16 14:31:09 +01:00
Armin Briegel
40b6ef882b updated webexteams (app name changed), closes #101 2020-12-10 14:27:37 +01:00
Armin Briegel
ced76793a3 added pycharmce 2020-12-07 11:13:11 +01:00
Armin Briegel
7e0dc1bb95 added intellijIdeaCE 2020-12-07 11:04:30 +01:00
Armin Briegel
b7778e70ce added many jetbrains apps 2020-12-07 10:56:55 +01:00
Armin Briegel
131b5600ab added figma 2020-12-07 10:15:04 +01:00
Armin Briegel
e945b6cbba Merge branch 'dev' of github.com:scriptingosx/Installomator into dev 2020-12-07 10:04:03 +01:00
Armin Briegel
be9f6064e0 Merge branch 'pr/98' into dev, closes #98 2020-12-07 09:56:25 +01:00
Armin Briegel
cd6caf3197 Merge pull request #99 from midni9ht/patch-2
Brave Browser: Fixed xpath
2020-12-07 09:51:55 +01:00
Armin Briegel
a39f4037c5 added musescore 2020-12-07 09:51:06 +01:00
Adrian Bühler
b277742a79 Brave Browser: Fixed xpath
Changed xpath from "item[1]" to "item[last()]", so the latest version of Brave is downloaded.
2020-12-04 19:16:32 +01:00
Adrian Bühler
9f93a4ab39 Added balenaetcher 2020-11-30 16:07:01 +01:00
Adrian Bühler
0da83bef86 Added balenaetcher 2020-11-30 16:05:59 +01:00
Adrian Bühler
59406e6960 Update Labels.txt 2020-11-30 11:09:11 +01:00
Adrian Bühler
de274e0e7a Added toggltrack 2020-11-30 11:08:13 +01:00
Armin Briegel
04c24f2dd3 added abstract 2020-11-24 08:55:24 +01:00
Armin Briegel
dd73b719ff added sketch 2020-11-24 08:52:45 +01:00
Armin Briegel
4c8e6ef9c3 Update Labels.txt 2020-11-23 16:17:27 +01:00
Armin Briegel
09357742ca Merge pull request #96 from stambi/dev
added TeamViewer Quick Support
2020-11-23 16:16:34 +01:00
Armin Briegel
972e0a9dfc Merge pull request #95 from saess-sep/dev
Added label for Android File Transfer
2020-11-23 16:15:47 +01:00
Armin Briegel
7695dae4c7 Merge branch 'dev' into dev 2020-11-23 16:15:31 +01:00
Armin Briegel
d6cade7561 Merge pull request #94 from midni9ht/patch-2
Added label for DBeaver Community Edition
2020-11-23 16:14:34 +01:00
Armin Briegel
13b94a4fa2 Merge branch 'dev' into patch-2 2020-11-23 16:14:26 +01:00
Armin Briegel
d7893e716a Merge pull request #93 from midni9ht/patch-1
Added label for ONLYOFFICE Desktop
2020-11-23 16:13:52 +01:00
Armin Briegel
35f517d1e7 Merge branch 'dev' into patch-1 2020-11-23 16:13:38 +01:00
Armin Briegel
4b65fd156c Merge pull request #92 from micahflee/libreoffice
Add LibreOffice
2020-11-23 16:12:51 +01:00
Armin Briegel
b5a54357a3 Merge branch 'dev' into libreoffice 2020-11-23 16:12:36 +01:00
Armin Briegel
f477615449 updated Labels.txt 2020-11-23 16:11:31 +01:00
Armin Briegel
fb175e6a78 Merge branch 'dev' of github.com:scriptingosx/Installomator into dev 2020-11-23 16:10:08 +01:00
Armin Briegel
5e4664c993 Merge branch 'dev' into libreoffice 2020-11-23 16:09:30 +01:00
Armin Briegel
0fdd721677 Merge pull request #91 from micahflee/dev
Added Dangerzone, GPG Suite, and GPG Sync
2020-11-23 16:08:28 +01:00
Armin Briegel
f7c406aaf4 added prism9 2020-11-23 16:06:20 +01:00
Armin Briegel
dfd30e3b4b added pymol 2020-11-23 15:59:52 +01:00
Armin Briegel
ff1917778a added GoogleEarth 2020-11-23 15:55:23 +01:00
stambi
54b3c8e965 added TeamViewer Quick Support 2020-11-23 14:18:11 +01:00
Sam Ess
8c2cfa4529 Added label for Android File Transfer 2020-11-23 05:01:39 -05:00
Adrian Bühler
d6edee95cb Update Installomator.sh 2020-11-20 10:26:04 +01:00
Adrian Bühler
76f0094edc Added label for ONLYOFFICE Desktop 2020-11-20 08:55:27 +01:00
Micah Lee
b5a980eeae Add LibreOffice 2020-11-19 12:49:26 -08:00
Micah Lee
539a374c51 Added Dangerzone, GPG Suite, and GPG Sync 2020-11-19 11:44:37 -08:00
Armin Briegel
7a61f8db43 Merge pull request #87 from midni9ht/patch-1
added keka
2020-11-11 11:14:18 +01:00
Adrian Bühler
ee5a484d39 added keka 2020-11-11 11:05:06 +01:00
Armin Briegel
e0b7a219b2 updated Labels.txt 2020-11-05 10:26:10 +01:00
Armin Briegel
f83001e4b9 added rstudio 2020-11-05 10:25:21 +01:00
Armin Briegel
beba434d1d added bitwarden 2020-11-05 10:20:08 +01:00
Armin Briegel
23855c4278 added tigervnc 2020-11-05 10:17:23 +01:00
Armin Briegel
13c47e8403 added thunderbird 2020-11-05 10:16:11 +01:00
Armin Briegel
8a050671c6 added mattermost 2020-11-04 10:41:50 +01:00
Armin Briegel
6cb033f1e4 added snapgeneviewer 2020-11-04 10:37:33 +01:00
Armin Briegel
4a9d08eb29 Update Labels.txt 2020-11-02 09:41:43 +01:00
Armin Briegel
a40d63d5d7 added prism7 and prism8 2020-11-02 09:39:35 +01:00
Armin Briegel
f9b609315c added cryptomator 2020-11-02 09:32:43 +01:00
Armin Briegel
171a90a3da added veracrypt 2020-11-02 09:31:00 +01:00
Armin Briegel
0740ee0018 added osxfuse 2020-11-02 09:25:21 +01:00
Armin Briegel
4b26dbc2eb add script to build an Installomator installation pkg #84 2020-10-30 12:10:57 +01:00
Armin Briegel
1bf4ea03ec added qgis and fixed some logic in installFromDMG 2020-10-29 13:57:32 +01:00
Armin Briegel
430998acd4 Update Labels.txt 2020-10-29 10:36:34 +01:00
Armin Briegel
8d23962e14 fixed downloadURLFromGit so it only return the first of multiple matching values 2020-10-29 10:34:34 +01:00
Armin Briegel
9ad06137aa fixed torbrowser downloadURL 2020-10-29 10:31:21 +01:00
Armin Briegel
b940549613 added gimp, functionality to find first app in dmg, if appname doesn't match 2020-10-29 10:28:49 +01:00
Armin Briegel
a43951dac8 added inkscape 2020-10-29 10:01:00 +01:00
Armin Briegel
abb2fbc091 added ringcentralphone 2020-10-29 09:56:13 +01:00
Armin Briegel
f7384a9c51 added ricohpsprinters 2020-10-29 09:53:30 +01:00
Armin Briegel
0a483127fb fixed 8x8 url, closes #86 2020-10-26 17:26:13 +01:00
Armin Briegel
84a77433c0 added credits 2020-10-26 14:35:00 +01:00
Armin Briegel
540fb35636 added bluejeans 2020-10-26 14:30:00 +01:00
Armin Briegel
f8554588de added Consumer Skype 2020-10-26 14:27:56 +01:00
Armin Briegel
2fad7a2ba0 added credits and updated Labels.txt 2020-10-22 12:35:16 +02:00
Armin Briegel
b857008b85 Merge pull request #82 from lotnix/openvpnconnectv3
Added OpenVpn Connect v3
2020-10-22 12:27:09 +02:00
Armin Briegel
df2003a169 Merge branch 'dev' of github.com:scriptingosx/Installomator into dev 2020-10-22 09:19:16 +02:00
Armin Briegel
6616e229d8 added note to maybe use xmllint in the future 2020-10-22 09:19:11 +02:00
Marcus Siöström
306107330f Added OpenVpn Connect v3 2020-10-20 18:35:39 +02:00
Armin Briegel
9faa5867ed Merge pull request #81 from kenchan0130/patch-1
Fix typo of CHANGELOG
2020-10-20 14:54:49 +02:00
Tadayuki Onishi
1df953a2c8 fix typo 2020-10-20 19:11:53 +09:00
Armin Briegel
0ea206f81e Update README.md 2020-10-19 13:21:32 +02:00
Armin Briegel
fbb01e4c48 updated version to v0.5 2020-10-19 10:53:47 +02:00
Armin Briegel
e0108277a5 Merge branch 'dev' 2020-10-19 10:28:55 +02:00
Armin Briegel
4d4e22379e Update CHANGELOG.md 2020-10-19 10:21:45 +02:00
Armin Briegel
fc01e2f8de Merge branch 'dev' of https://github.com/scriptingosx/Installomator into dev 2020-10-19 10:06:33 +02:00
Armin Briegel
4283329b25 Merge pull request #78 from Raptor399/prompt-then-kill
Add option to prompt user and finally kill
2020-10-19 10:05:43 +02:00
Armin Briegel
2e207f6982 Update Labels.txt 2020-10-19 09:56:54 +02:00
Armin Briegel
b99d3b50f4 added apparency 2020-10-19 09:42:43 +02:00
Armin Briegel
c669250d8c added amazonworkspaces 2020-10-19 09:41:57 +02:00
Armin Briegel
76a38cdffc fixed 8x8 download 2020-10-19 09:36:48 +02:00
Armin Briegel
c53e49d406 Merge branch 'dialpad' into dev 2020-10-19 09:16:06 +02:00
Armin Briegel
125fadd4f4 added credit 2020-10-19 09:15:52 +02:00
Armin Briegel
53f043ede5 updated CHANGELOG 2020-10-19 09:12:17 +02:00
Armin Briegel
3530130b48 added function to deal with new xpath tool in Big Sur 2020-10-19 09:00:08 +02:00
Eiichi Hosaka
71fe13b311 added dialpad 2020-10-15 09:30:29 +09:00
Patrick Atoon
2c613803b5 Add option to prompt user and finally kill
The `prompt_user` option uses osascript to attempt to quit an app three times,
which can sometimes fail. Added an option `prompt_user_then_kill` to attempt
to quit twice, but kill the process if earlier quit attempts failed.
2020-10-11 11:26:04 +02:00
Armin Briegel
edff222adc updated README 2020-09-22 16:26:59 +02:00
Armin Briegel
4a124f2151 updated Brave downloadURL 2020-09-22 16:26:46 +02:00
Armin Briegel
977e46d33f changed zip de-compression from unzip to ditto 2020-09-21 15:02:45 +02:00
Armin Briegel
5bfeddbecf updated Labels.txt 2020-09-21 14:13:30 +02:00
Armin Briegel
0dd63eae75 added skitch 2020-09-21 14:11:06 +02:00
Armin Briegel
dff5b8c61a changed brave team ID, closes #74 and #76 2020-09-21 14:00:34 +02:00
Armin Briegel
57da0331bf added yubikeymanagerqt, closes #75 2020-09-21 13:27:53 +02:00
Armin Briegel
96c998413f Merge branch 'argument-refactor' into dev 2020-09-21 13:16:39 +02:00
Armin Briegel
933c51e00f added Tunnelblick 2020-09-17 14:41:18 +02:00
Armin Briegel
cd9247360a order of arguments now not relevant 2020-09-17 14:31:36 +02:00
Armin Briegel
a0d93f1799 added valuesfromarguments label so download info can be provided entirely from arguments 2020-08-26 20:05:39 +02:00
Armin Briegel
138301f61e now uses arguments in the form VAR=value to set value 2020-08-26 17:16:44 +02:00
Armin Briegel
901f99459a added credits 2020-08-26 14:01:10 +02:00
Armin Briegel
f653833dc2 Merge pull request #68 from apizz/alfred-add
Add Alfred
2020-08-26 08:17:20 +02:00
Armin Briegel
eb802b9a95 Merge branch 'dev' into alfred-add 2020-08-26 08:17:10 +02:00
Armin Briegel
04a2c74dd8 Merge pull request #67 from apizz/istatmenus-add
Add iStat Menus
2020-08-26 08:16:24 +02:00
Armin Briegel
4d49e51789 Merge branch 'dev' into istatmenus-add 2020-08-26 08:16:13 +02:00
Armin Briegel
2e07291c60 Merge pull request #66 from apizz/sizeup-add
Add SizeUp
2020-08-26 08:14:55 +02:00
AP Orlebeke
5c5dadfe9b Add Alfred and label 2020-08-25 20:18:14 -04:00
AP Orlebeke
bd49d7ca97 Add blocking processes 2020-08-25 20:07:46 -04:00
AP Orlebeke
3d4c1b45c9 Add iStat Menus and label 2020-08-25 20:04:40 -04:00
AP Orlebeke
961816236f Add SizeUp and label 2020-08-25 19:58:58 -04:00
Armin Briegel
be0f0a9cd0 updated Labels.txt. and added credits for new labels 2020-08-25 14:31:24 +02:00
Armin Briegel
22bd79af0e Merge pull request #64 from apizz/virtualbox-add
Add VirtualBox label
2020-08-25 14:11:58 +02:00
Armin Briegel
912a0e0046 Merge branch 'dev' into virtualbox-add 2020-08-25 14:11:44 +02:00
Armin Briegel
5059673fc7 Merge pull request #63 from apizz/detectxswift-add
Add DetectX Swift label
2020-08-25 14:11:05 +02:00
Armin Briegel
8a56d05a8a Merge branch 'dev' into detectxswift-add 2020-08-25 14:10:47 +02:00
Armin Briegel
65d8996118 Merge pull request #62 from apizz/autopkgr-add
Add AutoPkgr label
2020-08-25 14:10:05 +02:00
Armin Briegel
ef27dfde6d Merge branch 'dev' into autopkgr-add 2020-08-25 14:09:56 +02:00
Armin Briegel
e81c8114b4 Merge pull request #61 from apizz/airserver-add
Add AirServer label
2020-08-25 14:09:13 +02:00
Armin Briegel
d84ce01eb5 Merge branch 'dev' into autopkgr-add 2020-08-25 14:08:54 +02:00
Armin Briegel
09d0230256 Merge branch 'dev' into airserver-add 2020-08-25 14:08:14 +02:00
Armin Briegel
c65df61524 Merge pull request #60 from apizz/vscodium-add
Add VSCodium label
2020-08-25 14:07:29 +02:00
Armin Briegel
5dff7ee718 Merge branch 'dev' into vscodium-add 2020-08-25 14:07:18 +02:00
Armin Briegel
555a7631b9 Merge pull request #59 from Raptor399/add-keepassxc
Add label keepassxc
2020-08-25 14:06:31 +02:00
Armin Briegel
9c96b5a764 Merge pull request #58 from Raptor399/end-of-string-matching
Only match GitHub files that end in the filetype
2020-08-25 14:05:46 +02:00
AP Orlebeke
2ddbd2ab1e Add label 2020-08-24 01:08:40 -04:00
AP Orlebeke
ec7e479372 Add label 2020-08-24 01:07:52 -04:00
AP Orlebeke
a32b5fc0a2 Add label 2020-08-24 01:06:42 -04:00
AP Orlebeke
2d1777ca6e Add label 2020-08-24 01:06:11 -04:00
AP Orlebeke
37b36c8c13 Add label 2020-08-24 01:05:28 -04:00
AP Orlebeke
9508357243 Add VirtualBox 2020-08-24 00:47:35 -04:00
AP Orlebeke
c99aabccbb Add DetectX Swift 2020-08-24 00:30:01 -04:00
AP Orlebeke
a4df3399b4 Add AutoPkgr 2020-08-24 00:15:40 -04:00
AP Orlebeke
7438aa403c Fix URL 2020-08-23 23:57:58 -04:00
AP Orlebeke
965cf310e4 Add AirServer 2020-08-23 23:54:53 -04:00
AP Orlebeke
da5f99639a Add VSCodium 2020-08-23 23:39:51 -04:00
Raptor399
65f5c57772 Add label for KeePassXC 2020-08-23 12:17:53 +02:00
Raptor399
42ec528870 Some GitHub repos return multiple files matching the filetype, e.g. "filename.dmg", "filename.dmg.DIGEST", etc. Only return the file that ends in the filetype. 2020-08-23 12:03:36 +02:00
Armin Briegel
7f264733a7 added snagit2020 2020-08-09 16:53:51 +02:00
Armin Briegel
0a96de8449 fixed one printlog to many 2020-07-27 16:16:49 +02:00
Armin Briegel
7d6f4db736 added camtasia 2020-07-27 16:13:56 +02:00
Armin Briegel
adf34cb6f3 updated credit for citrixworkspace 2020-07-24 12:36:16 +02:00
Armin Briegel
8544796b75 re-added citrixworkspace 2020-07-23 14:18:38 +02:00
Armin Briegel
315398b3fc updated version 2020-07-23 13:54:49 +02:00
Armin Briegel
d40b324a91 Merge branch 'dev' for v0.3 2020-07-23 13:45:12 +02:00
Armin Briegel
1bc4847402 updated changelog 2020-07-23 13:28:58 +02:00
Armin Briegel
0124a7fed1 notification text updated, closes #41 2020-07-23 13:28:45 +02:00
Armin Briegel
ea2d4d47e5 some more various fixes before 0.3 release 2020-07-23 13:26:27 +02:00
Armin Briegel
56e38de821 Update Labels.txt 2020-07-23 12:43:55 +02:00
Armin Briegel
d191b23a50 Update README.md 2020-07-23 11:27:54 +02:00
Armin Briegel
246ce74f4e updated displaydialog with title, closes #38 2020-07-23 11:17:44 +02:00
Armin Briegel
39d3dfceac updated getAppVersion, closes #39 2020-07-23 11:11:59 +02:00
Armin Briegel
65d0d64127 added egnyte 2020-07-22 17:49:17 +02:00
Armin Briegel
201edabfd0 added 8x8 virtual office 2020-07-22 17:43:39 +02:00
Armin Briegel
8c96d9e263 added R, closes #44 2020-07-22 17:41:53 +02:00
Armin Briegel
54218459a2 added bettertouchtool, closes #43 2020-07-22 17:39:14 +02:00
Armin Briegel
4c7edc2ddd added NoMAD, closes #34 2020-07-22 17:35:04 +02:00
Armin Briegel
5f469e0dc5 cleaned up output when running with no argument 2020-07-22 17:30:12 +02:00
Armin Briegel
eed3681118 added changelog file 2020-07-22 17:28:56 +02:00
Armin Briegel
b4c987317a added krisp and code 42, re-added sonoss2 2020-07-22 17:28:47 +02:00
Armin Briegel
5a605172b1 added aquaskk 2020-07-22 16:44:13 +02:00
Armin Briegel
51baa0636b commented powershell labels because the installers are not notarized 2020-07-22 16:25:49 +02:00
Armin Briegel
9e42ec21f2 updated search pattern to list labels 2020-07-22 16:23:42 +02:00
Armin Briegel
4c23c453b0 added markers and updated adobe adobereader labels 2020-07-22 16:10:58 +02:00
Armin Briegel
9e4b67efed Revert "Merge branch 'dev' of https://github.com/scriptingosx/Installomator into dev"
This reverts commit 44a4c05df6, reversing
changes made to 7e40dc1e36.
2020-07-22 12:57:57 +02:00
Armin Briegel
44a4c05df6 Merge branch 'dev' of https://github.com/scriptingosx/Installomator into dev 2020-07-22 11:47:35 +02:00
Armin Briegel
892f715dbf Merge pull request #47 from Theile/patch-9
Tor Browser label
2020-07-22 11:46:46 +02:00
Armin Briegel
cb05dfd52a Merge pull request #49 from phinbox/citrix-workspace-bugfix
Citrix Workspace downloadURL update
2020-07-22 11:45:16 +02:00
Armin Briegel
7e40dc1e36 lists all labels when no argument is given. Merges PR #52 2020-07-22 11:41:29 +02:00
Armin Briegel
decc5274f0 updated regex, changed whitespaceing of label case statement to simplify filtering 2020-07-22 11:39:02 +02:00
Armin Briegel
ee91690a0d switched zip expansion from tar to zip so it works in Mojave 2020-07-22 11:13:52 +02:00
Armin Briegel
127866750e added macOS version check 2020-07-14 16:42:40 +02:00
Søren Theilgaard
9e2221f943 Dump the labels, if no label given
Printing out the labels in the case statement if no label is given. (And a few extra lines from case-statements further down the script).
2020-07-09 20:40:51 +02:00
Phinehas Bynum
37262f12e7 Update Installomator.sh
Updated citrixworkspace downloadURL to pull the latest version from the HTML of the download page along with the "__gda__" portion at the end and prepend "https://" to the relative link.
2020-07-08 19:40:24 -05:00
Phinehas Bynum
697a38b7b6 Revert "Update Installomator.sh"
This reverts commit a59f965acd.
2020-07-08 19:37:26 -05:00
Phinehas Bynum
a59f965acd Update Installomator.sh
Updated citrixworkspace URL parsing to pull the latest version from the HTML of the download along with the "__gda__" portion at the end and prepend "https://" to the relative link.
2020-07-08 19:34:49 -05:00
Søren Theilgaard
85dcfc70bd Tor Browser label
With version checking
2020-07-08 23:37:25 +02:00
Armin Briegel
d0fc403323 merged googlechrome and googlechromepkg, added sonoss2 2020-06-24 11:38:46 +02:00
Armin Briegel
ca57ff9de6 added vmwarefusion, fixed SonosS1 and things 2020-06-23 10:04:21 +02:00
Armin Briegel
8b1298a148 changed googlechromepkg downloadURL so it follows google's recommendation 2020-06-10 09:53:38 +02:00
Armin Briegel
3ca4dce814 updated version 2020-06-09 12:37:45 +02:00
7 changed files with 3429 additions and 903 deletions

3
.gitignore vendored
View File

@@ -9,4 +9,5 @@ scratch/
*.app
*.tbz
# do include Installomator .pkg files
#!Installomator-*.pkg

48
CHANGELOG.md Normal file
View File

@@ -0,0 +1,48 @@
## 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 `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.
- 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.
- If your MDM is not Jamf Pro, and you need the script to be installed locally on your managed machines, then take a look at [Theiles fork](https://github.com/Theile/Installomator/). This fork can be called from the MDM using a small script.
- Script `buildCaseStatement.sh` to help with creating labels have been improved.
- Fixed a bug in a variable name that prevented updateTool to be used
- added `type` variable for value `"updateronly"` if the label should only run an updater tool.
## v0.4 - 2020-10-19
- you can now set script variables as an argument in the form `VARIABLE=value`. More detail on this in the README file, 'Configuration from Arguments.' (#26, #50, #72, and #73)
- change `downloadFromGit` to match file types better (#58)
- implemented a workaround for changed behavior of `xpath` in Big Sur (#80)
- added an option `prompt_user_then_kill` to `BLOCKING_PROCESS_ACTION` which will kill the process after the third unsuccessful attempt to quit (#78, thanks Patrick Atoon @raptor399)
- added several new labels for total of 116
## v0.3 - 2020-07-23
- added several new labels for total of 98
- removed the powershell labels, since the installer is not notarized
- when run without any arguments, the script now lists all labels
- changed how zips are expanded because this was broken on Mojave
- improved logging in some statements
- several more minor improvements
## v0.2 - 2020-06-09
- many fixes for broken URLs and other bugs
- the `pkgInDmg` and `pkgInZip` now search for a pkg file in the archive in case the file name varies with the version
- notification on successful installation can be suppressed with the `NOTIFY` variable
- Apple signed installers and apps that dont have a Team ID are verified correctly now
improved logging
- several new applications: count increased from 62 in 0.1 to 87 in 0.2
## v0.1 - 2020-05-12

File diff suppressed because it is too large Load Diff

View File

@@ -1,43 +1,139 @@
1password7
8x8
abstract
adobebrackets
adobeconnect
adobereaderdc
adobereaderdc-install
adobereaderdc-update
aircall
airserver
alfred
amazonchime
amazonworkspaces
androidfiletransfer
apparency
appcleaner
aquaskk
atom
autodmg
autopkgr
aviatrix
awscli2
awsvpnclient
balenaetcher
basecamp3
bbedit
bettertouchtool
bitwarden
blender
bluejeans
boxdrive
brave
cakebrew
calibre
camostudio
camtasia
citrixworkspace
clevershare2
code42
coderunner
cormorant
cryptomator
cyberduck
dangerzone
darktable
dbeaverce
debookee
depnotify
desktoppr
detectxswift
devonthink
dialpad
discord
docker
dropbox
easeusdatarecoverywizard
egnyte
element
eraseinstall
etrecheck
exelbanstats
fantastical
ferdi
figma
firefox
firefox_da
firefoxesr
firefoxesrpkg
firefoxpkg
front
fsmonitor
gimp
githubdesktop
golang
googlechrome
googlechromepkg
googledrive
googledrivebackupandsync
googledrivefilestream
googleearth
googlejapaneseinput
gotomeeting
gpgsuite
gpgsync
grandperspective
gyazo
gyazogif
handbrake
hazel
hpeasyadmin
hpeasystart
hyper
icons
inkscape
installomator_st
installomator_theile
intellijideace
istatmenus
iterm2
jabradirect
jamfconnect
jamfmigrator
jamfpppcutility
jamfreenroller
jetbrainsintellijidea
jetbrainsintellijideace
jetbrainsphpstorm
jetbrainspycharm
jetbrainspycharmce
karabinerelements
keepassxc
keka
keyboardmaestro
klokki
knockknock
krisp
krita
lastpass
launchbar
lexarrecoverytool
libreoffice
loom
lucifer
lulu
macfuse
malwarebytes
mattermost
menumeters
microsoftautoupdate
microsoftcompanyportal
microsoftdefenderatp
microsoftedge
microsoftedgeconsumerstable
microsoftedgeenterprisestable
microsoftexcel
microsoftlicenseremovaltool
microsoftoffice365
microsoftofficebusinesspro
microsoftonedrive
@@ -48,40 +144,121 @@ microsoftremotedesktop
microsoftsharepointplugin
microsoftskypeforbusiness
microsoftteams
microsoftvisualstudiocode
microsoftword
microsoftyammer
miro
musescore
netnewswire
nextcloud
nomad
nomadlogin
notion
nvivo
obsidian
odrive
omnidisksweeper
omnifocus3
omnigraffle6
omnigraffle7
omnioutliner5
omniplan3
omniplan4
omnipresence
onionshare
onlyofficedesktop
openvpnconnect
openvpnconnectv3
opera
pacifist
pdfsam
pitch
plantronicshub
plisteditpro
postman
powershell
powershell-lts
prism9
privileges
proctortrack
promiseutilityr
pycharmce
pymol
r
ramboxce
rectangle
redeye
resiliosynchome
retrobatch
ricohpsprinters
ringcentralapp
ringcentralclassicapp
ringcentralmeetings
ringcentralphone
rocket
rocketchat
royaltsx
rstudio
santa
screamingfrogseospider
sfsymbols
shield
sidekick
signal
silnite
sizeup
sketch
skype
slack
snagit
snagit2020
snagit2021
snapgeneviewer
sonos
sonoss1
sonoss2
sourcetree
spotify
sublimetext
suspiciouspackage
swiftruntimeforcommandlinetools
tableaureader
taskpaper
teamviewer
teamviewerhost
teamviewerqs
telegram
textmate
things
thunderbird
tigervnc
toggltrack
torbrowser
tunnelbear
tunnelblick
umbrellaroamingclient
universaltypeclient
universaltypeclient
vagrant
vanilla
veracrypt
virtualbox
viscosity
visualstudiocode
vivaldi
vlc
vmwarehorizonclient
vscodium
webexmeetings
webexteams
whatsapp
wwdcformac
wickrme
wickrpro
wireshark
xeroxphaser7800
xink
yubikeymanagerqt
zappy
zoom
zoomclient
zulujdk11
zulujdk13
zulujdk15

150
README.md
View File

@@ -10,6 +10,21 @@ Your production and deployment environment will be different, please test thorou
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.
## Support and Contributing
Discussion, support and advice around Installomator happens in the `#installomator` channel in the [MacAdmins 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!)
## More reading
There are a few interesting post on Installomator on my 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
@@ -88,29 +103,42 @@ When used to install software, Installomator has a single argument: the label or
```
./Installomator.sh firefox
./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.
### Extensible
As of this writing, Installomator knows how to download and install more than 50 different applications. You can add more by adding a block to the _long_ `case` statement starting on line 160. Some of them are more elaborate, but most of them just need this information:
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`):
```
googlechrome)
name="Google Chrome"
type="dmg"
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}') # Credit: William Smith (@meck)
else
printlog "Architecture: i386"
downloadURL="https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
expectedTeamID="EQHXZ8M8AV"
;;
appNewVersion=$(curl -s https://omahaproxy.appspot.com/history | awk -F',' '/mac,stable/{print $3; exit}') # Credit: William Smith (@meck)
fi
expectedTeamID="EQHXZ8M8AV"
;;
```
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.
### 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.
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.
### 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.
@@ -127,15 +155,19 @@ The argument can be `version` or `longversion` which will print the script's ver
```
> ./Installomator.sh version
0.1
2021-03-28 10:03:42 version ################## Start Installomator v. 0.5.0
2021-03-28 10:03:42 version ################## version
2021-03-28 10:03:42 version 0.5.0
> ./Installomator.sh longversion
Installomater: version 0.1 (20200506)
2021-03-28 10:04:16 longversion ################## Start Installomator v. 0.5.0
2021-03-28 10:04:16 longversion ################## longversion
2021-03-28 10:04:16 longversion Installomater: version 0.5.0 (2021-03-28)
```
Other than the version arguments, the argument can be any of the labels listed in the Labels.txt file. Each of the labels will download and install the latest version of the application, or suite of applications. Since the script will have to run the `installer` command or copy the application to the `/Applications` folder, it will have to be run as root.
```
> sudo ./Installomator.sh desktoppr
> sudo ./Installomator.sh desktoppr DEBUG=0
```
(Since Jamf Pro always provides the mount point, computer name, and user name as the first three arguments for policy scripts, the script will use argument `$4` when there are more than three arguments.)
@@ -160,8 +192,9 @@ Then you can use the Installomator script in a policy and choose the application
When it runs with a known label, the script will perform the following:
- when the application is running, prompt the user to quit or cancel
- 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
- dmg or zip archives:
- extract the application and copy it to /Applications
- change the owner of the application to the current user
@@ -187,22 +220,51 @@ Debug mode is useful to test the download and verification process without havin
The `BLOCKING_PROCESS_ACTION` variable controls the behavior of the script when it finds a blocking process running.
There are four options:
There are eight options:
- `ignore`: continue even when blocking processes are found
- `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
- `kill`: kill process without prompting or giving the user a chance to save
- `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.
- `prompt_user_loop`: Like prompt-user, but clicking "Not Now", will just wait an hour, and then it will ask again.
- `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.
The default is `prompt_user`.
If any process was closed, Installomator will try to open the app again, after the update process is done.
### Notification
The `NOTIFY` variable controls the notifications shown to the user. As of now, there are two options: `success` (default) and `silent`.
The `NOTIFY` variable controls the notifications shown to the user. As of now, there are three options:
- `success`: notify the user after a successful install
- `success`: (default) notify the user after a successful install
- `silent`: no notifications
- `all`: all notifications (great for Self Service installation)
### Logo
The `LOGO` variable is used for the icon shown in dialog boxes. There are these 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 are escaped).
### 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)
- `force`: Install even if its the same version
### Re-opening of closed app
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
@@ -211,12 +273,12 @@ The `NOTIFY` variable controls the notifications shown to the user. As of now, t
The script requires four pieces of information to download and install an application:
```
spotify)
name="Spotify"
type="dmg"
downloadURL="https://download.scdn.co/Spotify.dmg"
expectedTeamID="2FNC3A47ZF"
;;
spotify)
name="Spotify"
type="dmg"
downloadURL="https://download.scdn.co/Spotify.dmg"
expectedTeamID="2FNC3A47ZF"
;;
```
The four required variables are
@@ -228,13 +290,25 @@ The display name of the installed application without the `.app` extensions.
The type of installation. Possible values:
- `dmg`: application in disk image file (drag'n drop installation)
- `pkg`: flat pkg download
- `zip`: application in zip archive (`zip` or `tbz` extension)
- `zip`: application in zip archive (`zip` extension)
- `tbz`: application in tbz archive (`tbz` extension)
- `pkgInDmg`: a pkg file inside a disk image
- `pkgInZip`: a pkg file inside a zip
- `appInDmgInZip`: an app in a dmg file that has been zip'ed
- `downloadURL`:
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`).
- `appNewVersion` (optional, but recommended):
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.
Not always easy to figure out how to make this. Sometimes this is listed on the downloads page, sometimes in other places. And how can we isolate it in a genral manner? (See `abstract`, `bbedit`, `brave`, `desktoppr`, `googlechrome`, or `omnidisksweeper`).
- `packageID` (optional, but recommended for pkgs without an app)
This variable is for pkg bundle IDs. Very usefull if a pkg only install command line tools, or the like that does not install an app. (See label `desktoppr`, `golang`, `installomator_st`, `odrive`, or `teamviewerhost`).
- `expectedTeamID`:
The 10-character Developer Team ID with which the application or pkg is signed and notarized.
@@ -244,7 +318,7 @@ The 10-character Developer Team ID with which the application or pkg is signed a
- Applications (in dmgs or zips)
`spctl -a -vv /Applications/BBEdit.app`
- Pkgs
- Installation Packages (pkg)
`spctl -a -vv -t install ~/Downloads/desktoppr-0.2.pkg`
@@ -259,6 +333,7 @@ Depending on the application or pkg there are a few more variables you can or ne
- `appName`: (optional)
File name of the app bundle in the dmg to verify and copy (include the `.app`).
When not given, the `appName` is set to `$name.app`.
This is also the name of the app that will get reopned, if we closed any `blockingProcesses` (see further down)
- `targetDir`: (optional)
dmg or zip:
@@ -291,6 +366,27 @@ Depending on the application or pkg there are a few more variables you can or ne
- `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.
## Frequently Asked Questions
### What if the latest version of the app is already installed?
@@ -337,5 +433,5 @@ But it is not suited as a client install automation tool.
### Why don't you just use brew?
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.
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

@@ -18,22 +18,131 @@ if ! cd "$tmpDir"; then
exit 1
fi
# download the dmg
# download the URL
echo "Downloading $downloadURL"
if ! curl --location --fail --silent "$downloadURL" --remote-header-name --remote-name; then
<<<<<<< HEAD
<<<<<<< Updated upstream
if ! archivePath=$(curl -fsL "$downloadURL" --remote-header-name --remote-name -w "%{filename_effective}"); then
=======
if ! downloadOut="$(curl -fsL "$downloadURL" --remote-header-name --remote-name -w "%{filename_effective}\n%{url_effective}\n")"; then
>>>>>>> Stashed changes
=======
if ! downloadOut="$(curl -fsL "$downloadURL" --remote-header-name --remote-name -w "%{filename_effective}\n%{url_effective}\n")"; then
>>>>>>> 4932ea6a3186d902d88c9bb5a3774c6ff81b1608
echo "error downloading $downloadURL"
exit 2
fi
archivePath=$(find $tmpDir -print )
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
}
<<<<<<< HEAD
<<<<<<< Updated upstream
#archivePath=$(find $tmpDir -print )
echo "archivePath: $archivePath"
archiveName=${archivePath##*/}
echo "archiveName: $archiveName"
=======
pkgInvestigation() {
echo "Package found"
teamID=$(spctl -a -vv -t install "$archiveName" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' )
echo "For PKGs it's advised to find packageID for version checking"
pkgutil --expand "$pkgPath" "$archiveName"_pkg
cat "$archiveName"_pkg/Distribution | xpath '//installer-gui-script/pkg-ref[@id][@version]' 2>/dev/null
packageID="$(cat "$archiveName"_pkg/Distribution | xpath '//installer-gui-script/pkg-ref[@id][@version]' 2>/dev/null | tr ' ' '\n' | grep -i "id" | cut -d \" -f 2)"
rm -r "$archiveName"_pkg
echo "$packageID"
echo "Above is the possible packageIDs that can be used, and the correct one is probably one of those with a version number. More investigation might be needed to figure out correct packageID if several are displayed."
}
appInvestigation() {
appName=${appPath##*/}
# verify with spctl
echo "Verifying: $appPath"
if ! teamID=$(spctl -a -vv "$appPath" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' ); then
echo "Error verifying $appPath"
exit 4
fi
}
echo "downloadOut: ${downloadOut}"
archiveTempName=$( echo "${downloadOut}" | head -1 )
echo "archiveTempName: $archiveTempName"
archivePath=$( echo "${downloadOut}" | tail -1 )
echo "archivePath: $archivePath"
archiveName=${archivePath##*/}
echo "archiveName: $archiveName"
mv $archiveTempName $archiveName
>>>>>>> Stashed changes
=======
pkgInvestigation() {
echo "Package found"
teamID=$(spctl -a -vv -t install "$archiveName" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' )
echo "For PKGs it's advised to find packageID for version checking"
pkgutil --expand "$pkgPath" "$archiveName"_pkg
cat "$archiveName"_pkg/Distribution | xpath '//installer-gui-script/pkg-ref[@id][@version]' 2>/dev/null
packageID="$(cat "$archiveName"_pkg/Distribution | xpath '//installer-gui-script/pkg-ref[@id][@version]' 2>/dev/null | tr ' ' '\n' | grep -i "id" | cut -d \" -f 2)"
rm -r "$archiveName"_pkg
echo "$packageID"
echo "Above is the possible packageIDs that can be used, and the correct one is probably one of those with a version number. More investigation might be needed to figure out correct packageID if several are displayed."
}
appInvestigation() {
appName=${appPath##*/}
# verify with spctl
echo "Verifying: $appPath"
if ! teamID=$(spctl -a -vv "$appPath" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' ); then
echo "Error verifying $appPath"
exit 4
fi
}
echo "downloadOut: ${downloadOut}"
archiveTempName=$( echo "${downloadOut}" | head -1 )
echo "archiveTempName: $archiveTempName"
archivePath=$( echo "${downloadOut}" | tail -1 )
echo "archivePath: $archivePath"
archiveName=${archivePath##*/}
echo "archiveName: $archiveName"
mv $archiveTempName $archiveName
>>>>>>> 4932ea6a3186d902d88c9bb5a3774c6ff81b1608
name=${archiveName%.*}
echo "name: $name"
archiveExt=${archiveName##*.}
echo "archiveExt: $archiveExt"
identifier=$(echo $name | tr '[:upper:]' '[:lower:]')
echo "identifier: $identifier"
if [ "$archiveExt" = "pkg" ]; then
<<<<<<< HEAD
<<<<<<< Updated upstream
echo "Package found"
teamID=$(spctl -a -vv -t install "$archiveName" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' )
echo "For PKGs it's advised to find packageID for version checking"
pkgutil --expand "$archiveName" "$archiveName"_pkg
cat "$archiveName"_pkg/Distribution | xpath '//installer-gui-script/pkg-ref[@id][@version]' 2>/dev/null
packageID="$(cat "$archiveName"_pkg/Distribution | xpath '//installer-gui-script/pkg-ref[@id][@version]' 2>/dev/null | tr ' ' '\n' | grep -i "id" | cut -d \" -f 2)"
rm -r "$archiveName"_pkg
echo "$packageID"
echo "Above is the possible packageIDs that can be used, and the correct one is probably one of those with a version number. More investigation might be needed to figure out correct packageID if several are displayed."
=======
pkgPath="$archiveName"
pkgInvestigation
>>>>>>> Stashed changes
=======
pkgPath="$archiveName"
pkgInvestigation
>>>>>>> 4932ea6a3186d902d88c9bb5a3774c6ff81b1608
elif [ "$archiveExt" = "dmg" ]; then
echo "Diskimage found"
# mount the dmg
echo "Mounting $archiveName"
if ! dmgmount=$(echo "Y"$'\n' | hdiutil attach "$archiveName" -nobrowse -readonly | tail -n 1 | cut -c 54- ); then
@@ -41,50 +150,66 @@ elif [ "$archiveExt" = "dmg" ]; then
exit 3
fi
echo "Mounted: $dmgmount"
# check if app exists
# check if app og pkg exists
appPath=$(find "$dmgmount" -name "*.app" -maxdepth 1 -print )
appName=${appPath##*/}
# verify with spctl
echo "Verifying: $appPath"
if ! teamID=$(spctl -a -vv "$appPath" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' ); then
echo "Error verifying $appPath"
exit 4
pkgPath=$(find "$dmgmount" -name "*.pkg" -maxdepth 1 -print )
if [[ $appPath != "" ]]; then
appInvestigation
elif [[ $pkgPath != "" ]]; then
archiveExt="pkgInDmg"
pkgInvestigation
fi
hdiutil detach "$dmgmount"
elif [ "$archiveExt" = "zip" ] || [ "$archiveExt" = "tbz" ]; then
echo "Compressed file found"
# unzip the archive
tar -xf "$archiveName"
# check if app exists
# check if app og pkg exists
appPath=$(find "$tmpDir" -name "*.app" -maxdepth 2 -print )
appName=${appPath##*/}
# verify with spctl
echo "Verifying: $appPath"
if ! teamID=$(spctl -a -vv "$appPath" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' ); then
echo "Error verifying $appPath"
exit 4
pkgPath=$(find "$tmpDir" -name "*.pkg" -maxdepth 2 -print )
if [[ $appPath != "" ]]; then
appInvestigation
elif [[ $pkgPath != "" ]]; then
archiveExt="pkgInZip"
pkgInvestigation
fi
fi
echo
echo " $identifier)"
echo " name=\"$name\""
echo " type=\"$archiveExt\""
echo " downloadURL=\"$downloadURL\""
echo " expectedTeamID=\"$teamID\""
if [ -n "$appName" ] && [ "$appName" != "${name}.app" ]; then
echo " appName=\"$appName\""
<<<<<<< HEAD
<<<<<<< Updated upstream
echo "appNewVersion is often difficult to find. Can sometimes be found in the filename, but also on a web page."
=======
echo "appNewVersion is often difficult to find. Can sometimes be found in the filename, but also on a web page. See archivePath above if link contains information about this."
>>>>>>> Stashed changes
=======
echo "appNewVersion is often difficult to find. Can sometimes be found in the filename, but also on a web page. See archivePath above if link contains information about this."
>>>>>>> 4932ea6a3186d902d88c9bb5a3774c6ff81b1608
echo
echo "$identifier)"
echo " name=\"$name\""
echo " type=\"$archiveExt\""
if [ "$packageID" != "" ]; then
echo " packageID=\"$packageID\""
fi
echo " ;;"
echo
echo " downloadURL=\"$downloadURL\""
echo " appNewVersion=\"\""
echo " expectedTeamID=\"$teamID\""
if [ -n "$appName" ] && [ "$appName" != "${name}.app" ]; then
echo " appName=\"$appName\""
fi
echo " ;;"
echo
#if [ -e "${tmpDir}" ]; then
# #echo "deleting tmp dir"
# rm -rf "${tmpDir}"
#fi
exit 0
exit 0

118
buildInstallomatorPkg.sh Executable file
View File

@@ -0,0 +1,118 @@
#!/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.5"
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="Developer-altool"
scriptfolder=$(dirname "$0")
projectfolder=$(mktemp -d)
payloadfolder="${projectfolder}/payload"
# MARK: functions
requeststatus() { # $1: requestUUID
requestUUID=${1?:"need a request UUID"}
req_status=$(xcrun altool --notarization-info "$requestUUID" \
--username "$dev_account" \
--password "@keychain:$dev_keychain_label" 2>&1 | awk -F ': ' '/Status:/ { print $2; }' )
echo "$req_status"
}
notarizefile() { # $1: path to file to notarize, $2: identifier
filepath=${1:?"need a filepath"}
identifier=${2:?"need an identifier"}
# upload file
echo "## uploading $filepath for notarization"
requestUUID=$(xcrun altool --notarize-app \
--primary-bundle-id "$identifier" \
--username "$dev_account" \
--password "@keychain:$dev_keychain_label" \
--asc-provider "$dev_team" \
--file "$filepath" 2>&1 | awk '/RequestUUID/ { print $NF; }')
echo "Notarization RequestUUID: $requestUUID"
if [[ $requestUUID == "" ]]; then
echo "could not upload for notarization"
exit 1
fi
# wait for status to be not "in progress" any more
request_status="in progress"
while [[ "$request_status" == "in progress" ]]; do
echo -n "waiting... "
sleep 10
request_status=$(requeststatus "$requestUUID")
echo "$request_status"
done
if [[ $request_status != "success" ]]; then
echo "## could not notarize $filepath"
xcrun altool --notarization-info "$requestUUID" \
--username "$dev_account" \
--password "@keychain:$dev_keychain_label"
exit 1
fi
}
# 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}"
# upload for notarization
notarizefile "$productpath" "$identifier"
# staple result
echo "## Stapling $productpath"
xcrun stapler staple "$productpath"
exit 0