Create sdnotary.sh

Great app for signing AppleScript and Automator Apps.

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

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

View File

@@ -0,0 +1,7 @@
sdnotary)
name="SD Notary"
type="zip"
downloadURL=$(curl -fs https://latenightsw.com/sd-notary-notarizing-made-easy/ | grep -io "https://.*/.*\.zip")
appNewVersion=$(echo "$downloadURL" | sed -E 's/.*\/[a-zA-Z]*([0-9.]*)-.*\.zip/\1/g')
expectedTeamID="Z7S6X96M3X"
;;