Commit Graph

834 Commits

Author SHA1 Message Date
Søren Theilgaard
cb45cab5c7 Merge pull request #285 from jnichols35/label-superhuman
label superhuman.sh
2021-11-22 10:53:25 +01:00
Søren Theilgaard
8089187598 superhuman version 2021-11-22 10:53:05 +01:00
Søren Theilgaard
e8f5fd0a2a Merge pull request #288 from jnichols35/label-logseq
label logseq.sh
2021-11-22 10:43:44 +01:00
Søren Theilgaard
5880124676 Merge pull request #311 from Raptor399/boxtools-fix
Added packedID so Box Tools installs correctly
2021-11-22 10:18:38 +01:00
Søren Theilgaard
385f9c1a04 microsoftedge 2021-11-22 10:17:59 +01:00
Søren Theilgaard
b1801dd561 Merge pull request #306 from Installomator/microsoft-labels-updates
Updated msupdate call
2021-11-22 09:58:43 +01:00
Søren Theilgaard
6b7c01dbaa Merge branch 'dev' into microsoft-labels-updates 2021-11-22 09:58:33 +01:00
Søren Theilgaard
4d71a194a8 Merge pull request #322 from adibue/adibue-add-nudge
Added label for 'nudge'
2021-11-22 09:57:07 +01:00
Søren Theilgaard
49917fd4aa Merge pull request #323 from buckbanzai/buckbanzai-add-maccyapp
Added label for Maccy clipboard manager
2021-11-22 09:54:28 +01:00
Søren Theilgaard
5aeb5bcec0 Merge pull request #325 from buckbanzai/buckbanzai-add-talkdeskcallbar
Added label for Talkdesk Callbar
2021-11-22 09:53:48 +01:00
Søren Theilgaard
a1fe87c7f7 Merge pull request #324 from macprince/overflow-label
Label - overflow.sh
2021-11-22 09:39:12 +01:00
Søren Theilgaard
9ae8f3c11f Merge pull request #316 from Installomator/Update/install-detection
update/installation detection
2021-11-22 09:34:08 +01:00
Søren Theilgaard
28d2f78465 Merge branch 'dev' into Update/install-detection 2021-11-22 09:34:01 +01:00
Søren Theilgaard
709ee18144 Merge pull request #315 from Installomator/CLIInstaller
CLI Installer
2021-11-22 09:33:17 +01:00
Søren Theilgaard
876c1e96c4 Merge branch 'dev' into CLIInstaller 2021-11-22 09:33:08 +01:00
Søren Theilgaard
b6f0afb8ba Fixed pkg teamID calculation 2021-11-19 14:59:15 +01:00
Armin Briegel
c1312e0d01 Merge pull request #277 from XoMute/dev
Added separate check for `version` argument
2021-11-19 08:32:55 +01:00
Armin Briegel
d2f39a3b87 Merge pull request #172 from sphen13/silent_fail_downloads
Dont download pkg if we are set to silent_fail and there is blockingprocess
2021-11-19 08:32:02 +01:00
Liam Steckler
333b03e110 Added label for Talkdesk Callbar, added newline 2021-11-17 09:48:00 -08:00
Liam Steckler
2a8bd0d2e8 Added label for Talkdesk Callbar 2021-11-17 09:46:34 -08:00
Dan Kuehling
996e85ad24 Create overflow.sh
Label for overflow.io user flow diagram creator app.
2021-11-17 11:42:54 -06:00
Adrian Bühler
85cb09df34 Added 'nudge' to Labels.txt 2021-11-17 17:31:02 +01:00
Liam Steckler
b0b1477989 Added label for Maccy clipboard manager 2021-11-17 08:27:06 -08:00
Adrian Bühler
c62707cd7d Added label for 'nudge'
Added label for `nudge`.

Log from test run:

```
$ sudo zsh Installomator.sh nudge DEBUG=0
2021-11-17 11:52:34 nudge setting variable from argument DEBUG=0
2021-11-17 11:52:34 nudge ################## Start Installomator v. 0.8.0
2021-11-17 11:52:34 nudge ################## nudge
2021-11-17 11:52:35 nudge BLOCKING_PROCESS_ACTION=tell_user
2021-11-17 11:52:35 nudge NOTIFY=success
2021-11-17 11:52:35 nudge LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-17 11:52:35 nudge no blocking processes defined, using Nudge as default
2021-11-17 11:52:35 nudge Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.9Fo2W6NU
2021-11-17 11:52:35 nudge App(s) found: /Applications/Utilities/Nudge.app
2021-11-17 11:52:35 nudge found app at /Applications/Utilities/Nudge.app, version 1.1.2.10212021172015
2021-11-17 11:52:35 nudge appversion: 1.1.2.10212021172015
2021-11-17 11:52:35 nudge Latest version of Nudge is 1.1.2.10212021172015
2021-11-17 11:52:35 nudge There is no newer version available.
2021-11-17 11:52:35 nudge Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.9Fo2W6NU
2021-11-17 11:52:35 nudge App not closed, so no reopen.
2021-11-17 11:52:35 nudge ################## End Installomator, exit code 0
```
2021-11-17 11:54:56 +01:00
Søren Theilgaard
9125dbc5d7 Update buildLabel.sh 2021-11-16 19:09:50 +01:00
Søren Theilgaard
04151adbfd Update buildLabel.sh 2021-11-16 16:43:54 +01:00
Søren Theilgaard
1bfe163dff Update buildLabel.sh 2021-11-16 10:01:19 +01:00
Søren Theilgaard
0a5f667a4f Merge pull request #318 from Installomator/buildLabel-improved-for-github
Update buildLabel.sh
2021-11-16 09:41:44 +01:00
Søren Theilgaard
c954dab309 Update CHANGELOG.md 2021-11-16 09:33:28 +01:00
Søren Theilgaard
53c629aa15 Removing non-working labels 2021-11-16 09:32:14 +01:00
Søren Theilgaard
028ed10393 Update checkLabels.sh
`checkLabels.sh` can be run from anywhere.
2021-11-16 09:16:48 +01:00
Søren Theilgaard
891dab08d4 installerTool implemented 2021-11-15 14:25:57 +01:00
Søren Theilgaard
374a32be9a better pkg handling 2021-11-14 21:02:34 +01:00
Søren Theilgaard
32353c3852 Update CHANGELOG.md 2021-11-14 19:51:36 +01:00
Søren Theilgaard
ba7fc6468f GitHub improvements
I'm really proud to figure this out. Take a look at hos this label is being build:
```
% Documents/GitHub/Installomator/utils/buildLabel.sh "https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20210408/Marathon-20210408-Mac.dmg"
Changing directory to /Users/st/Downloads/2021-11-13-20-03-26
Working dir: /Users/st/Downloads/2021-11-13-20-03-26
Downloading https://github.com/Aleph-One-Marathon/alephone/releases/download/release-20210408/Marathon-20210408-Mac.dmg
Marathon-20210408-Mac.dmg
Redirecting to (maybe this can help us with version):

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

**********

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

**********

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

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

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

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

This repo on GitHub has several software titles, and because we have the link, it can automatically figure out how to make the `archiveName`.
2021-11-13 20:15:54 +01:00
Søren Theilgaard
4e8db91ff0 Update buildLabel.sh 2021-11-12 15:58:36 +01:00
Søren Theilgaard
4aa7cd7793 more labels
Adding a few labels to see it in a bigger picture
2021-11-12 09:51:52 +01:00
Søren Theilgaard
b74a06f336 img folder 2021-11-11 09:23:29 +01:00
Søren Theilgaard
09b84945ed Update CHANGELOG.md 2021-11-11 08:50:08 +01:00
Søren Theilgaard
9f34df0b4e Update CHANGELOG.md 2021-11-11 08:46:13 +01:00
Søren Theilgaard
c20ba0274b Update CHANGELOG.md 2021-11-11 08:44:55 +01:00
Søren Theilgaard
3c1e6cdf37 v0.8 ready 2021-11-11 08:43:07 +01:00
Søren Theilgaard
ecb7b0416b img 2021-11-11 08:28:27 +01:00
Søren Theilgaard
6258de8bef Create MDMMosyle install.sh 2021-11-10 21:46:37 +01:00
Søren Theilgaard
15373a35f9 Explanation 2021-11-10 16:22:28 +01:00
Søren Theilgaard
bf4e7d89ec mountname reintroduced
Now we can call any script on the root of the path where `appName` is found.

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

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

But this is succesfull:
```
% sudo /Users/st/Documents/GitHub/Installomator/utils/assemble.sh -r adobecreativeclouddesktop DEBUG=0 INSTALL=force
Password:
2021-11-10 11:30:51 adobecreativeclouddesktop setting variable from argument DEBUG=0
2021-11-10 11:30:51 adobecreativeclouddesktop setting variable from argument INSTALL=force
2021-11-10 11:30:51 adobecreativeclouddesktop ################## Start Installomator v. 0.8.0
2021-11-10 11:30:51 adobecreativeclouddesktop ################## adobecreativeclouddesktop
2021-11-10 11:30:51 adobecreativeclouddesktop BLOCKING_PROCESS_ACTION=tell_user
2021-11-10 11:30:51 adobecreativeclouddesktop NOTIFY=success
2021-11-10 11:30:52 adobecreativeclouddesktop LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-11-10 11:30:52 adobecreativeclouddesktop no blocking processes defined, using Creative Cloud as default
2021-11-10 11:30:52 adobecreativeclouddesktop Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.wMH45Qfi
2021-11-10 11:30:52 adobecreativeclouddesktop App(s) found: /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/Install.app
2021-11-10 11:30:52 adobecreativeclouddesktop could not determine location of Install.app
2021-11-10 11:30:52 adobecreativeclouddesktop appversion:
2021-11-10 11:30:52 adobecreativeclouddesktop Latest version of Creative Cloud is 5.6.0.788
2021-11-10 11:30:52 adobecreativeclouddesktop Downloading https://ccmdl.adobe.com/AdobeProducts/KCCC/CCD/5_6_0/macarm64/ACCCx5_6_0_788.dmg to Creative Cloud.dmg
2021-11-10 11:31:41 adobecreativeclouddesktop no more blocking processes, continue with update
2021-11-10 11:31:41 adobecreativeclouddesktop Installing Creative Cloud
2021-11-10 11:31:41 adobecreativeclouddesktop Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.wMH45Qfi/Creative Cloud.dmg
2021-11-10 11:31:42 adobecreativeclouddesktop Mounted: /Volumes/Creative Cloud 2
2021-11-10 11:31:42 adobecreativeclouddesktop Verifying: /Volumes/Creative Cloud 2/Install.app
2021-11-10 11:31:42 adobecreativeclouddesktop Team ID matching: JQ525L2MZD (expected: JQ525L2MZD )
2021-11-10 11:31:42 adobecreativeclouddesktop Downloaded version of Creative Cloud is 2.6.0.46 (replacing version ).
2021-11-10 11:31:42 adobecreativeclouddesktop CLIInstaller exists, running installer command /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install --mode=silent
2021-11-10 11:31:46 adobecreativeclouddesktop Succesfully ran /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install --mode=silent
2021-11-10 11:31:46 adobecreativeclouddesktop Debugging enabled, update tool output was:
objc[71312]: Class HTTPHeader is implemented in both /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install (0x100c2f018) and /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10dc38790). One of the two will be used. Which one is undefined.
objc[71312]: Class ProxyManager is implemented in both /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install (0x100c2f068) and /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10dc387e0). One of the two will be used. Which one is undefined.
objc[71312]: Class HTTPHeader is implemented in both /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install (0x100c2f018) and /Volumes/Creative Cloud 2/resources/AdobePIM.dylib (0x10e4e6790). One of the two will be used. Which one is undefined.
objc[71312]: Class ProxyManager is implemented in both /Volumes/Creative Cloud 2/Install.app/Contents/MacOS/Install (0x100c2f068) and /Volumes/Creative Cloud 2/resources/AdobePIM.dylib (0x10e4e67e0). One of the two will be used. Which one is undefined.
Starting installer...
Installation successful.
2021-11-10 11:31:46 adobecreativeclouddesktop Finishing…
2021-11-10 11:31:56 adobecreativeclouddesktop App(s) found: /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/Install.app
2021-11-10 11:31:56 adobecreativeclouddesktop could not determine location of Install.app
2021-11-10 11:31:56 adobecreativeclouddesktop Installed Creative Cloud
2021-11-10 11:31:56 adobecreativeclouddesktop notifying
2021-11-10 11:31:56 adobecreativeclouddesktop Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.wMH45Qfi
2021-11-10 11:31:56 adobecreativeclouddesktop Unmounting /Volumes/Creative Cloud 2
"disk6" ejected.
2021-11-10 11:31:57 adobecreativeclouddesktop App not closed, so no reopen.
2021-11-10 11:31:57 adobecreativeclouddesktop ################## End Installomator, exit code 0
```
2021-11-10 11:34:30 +01:00
Søren Theilgaard
3ef4f11025 CLIInstaller and CLIArguments 2021-11-10 09:44:09 +01:00
Søren Theilgaard
a42c624a7c CLIInstaller and CLIArguments
Explained…
2021-11-10 09:39:39 +01:00