Skip to content

Comments

Create dstny.sh#1482

Merged
scriptingosx merged 1 commit intoInstallomator:mainfrom
drewdiver:dstny
Apr 5, 2024
Merged

Create dstny.sh#1482
scriptingosx merged 1 commit intoInstallomator:mainfrom
drewdiver:dstny

Conversation

@drewdiver
Copy link
Contributor

Add support for Dstny softphone application

Output:

sudo utils/assemble.sh dstny DEBUG=0
Password:
2024-02-14 16:37:48 : REQ   : dstny : ################## Start Installomator v. 10.6beta, date 2024-02-14
2024-02-14 16:37:48 : INFO  : dstny : ################## Version: 10.6beta
2024-02-14 16:37:48 : INFO  : dstny : ################## Date: 2024-02-14
2024-02-14 16:37:48 : INFO  : dstny : ################## dstny
2024-02-14 16:37:48 : DEBUG : dstny : DEBUG mode 1 enabled.
2024-02-14 16:37:48 : INFO  : dstny : setting variable from argument DEBUG=0
2024-02-14 16:37:48 : DEBUG : dstny : name=Dstny
2024-02-14 16:37:48 : DEBUG : dstny : appName=
2024-02-14 16:37:48 : DEBUG : dstny : type=dmg
2024-02-14 16:37:48 : DEBUG : dstny : archiveName=
2024-02-14 16:37:48 : DEBUG : dstny : downloadURL=https://soft.dstny.se/dstny_mac.dmg
2024-02-14 16:37:48 : DEBUG : dstny : curlOptions=
2024-02-14 16:37:48 : DEBUG : dstny : appNewVersion=
2024-02-14 16:37:48 : DEBUG : dstny : appCustomVersion function: Not defined
2024-02-14 16:37:48 : DEBUG : dstny : versionKey=CFBundleVersion
2024-02-14 16:37:48 : DEBUG : dstny : packageID=
2024-02-14 16:37:48 : DEBUG : dstny : pkgName=
2024-02-14 16:37:48 : DEBUG : dstny : choiceChangesXML=
2024-02-14 16:37:48 : DEBUG : dstny : expectedTeamID=5RLWBLKGL2
2024-02-14 16:37:48 : DEBUG : dstny : blockingProcesses=
2024-02-14 16:37:48 : DEBUG : dstny : installerTool=
2024-02-14 16:37:48 : DEBUG : dstny : CLIInstaller=
2024-02-14 16:37:48 : DEBUG : dstny : CLIArguments=
2024-02-14 16:37:48 : DEBUG : dstny : updateTool=
2024-02-14 16:37:48 : DEBUG : dstny : updateToolArguments=
2024-02-14 16:37:48 : DEBUG : dstny : updateToolRunAsCurrentUser=
2024-02-14 16:37:48 : INFO  : dstny : BLOCKING_PROCESS_ACTION=tell_user
2024-02-14 16:37:48 : INFO  : dstny : NOTIFY=success
2024-02-14 16:37:48 : INFO  : dstny : LOGGING=DEBUG
2024-02-14 16:37:48 : INFO  : dstny : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-02-14 16:37:48 : INFO  : dstny : Label type: dmg
2024-02-14 16:37:48 : INFO  : dstny : archiveName: Dstny.dmg
2024-02-14 16:37:48 : INFO  : dstny : no blocking processes defined, using Dstny as default
2024-02-14 16:37:48 : DEBUG : dstny : Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.REGHcgB7sy
2024-02-14 16:37:48 : INFO  : dstny : name: Dstny, appName: Dstny.app
2024-02-14 16:37:49.048 mdfind[42162:20823179] [UserQueryParser] Loading keywords and predicates for locale "en_US"
2024-02-14 16:37:49.048 mdfind[42162:20823179] [UserQueryParser] Loading keywords and predicates for locale "en"
2024-02-14 16:37:49.199 mdfind[42162:20823179] Couldn't determine the mapping between prefab keywords and predicates.
2024-02-14 16:37:49 : WARN  : dstny : No previous app found
2024-02-14 16:37:49 : WARN  : dstny : could not find Dstny.app
2024-02-14 16:37:49 : INFO  : dstny : appversion:
2024-02-14 16:37:49 : INFO  : dstny : Latest version not specified.
2024-02-14 16:37:49 : REQ   : dstny : Downloading https://soft.dstny.se/dstny_mac.dmg to Dstny.dmg
2024-02-14 16:37:49 : DEBUG : dstny : No Dialog connection, just download
2024-02-14 16:37:53 : DEBUG : dstny : File list: -rw-r--r--  1 root  wheel    43M Feb 14 16:37 Dstny.dmg
2024-02-14 16:37:53 : DEBUG : dstny : File type: Dstny.dmg: zlib compressed data
2024-02-14 16:37:53 : DEBUG : dstny : curl output was:
*   Trying 185.39.127.22:443...
* Connected to soft.dstny.se (185.39.127.22) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
} [318 bytes data]
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* (304) (IN), TLS handshake, Unknown (8):
{ [15 bytes data]
* (304) (IN), TLS handshake, Certificate (11):
{ [4239 bytes data]
* (304) (IN), TLS handshake, CERT verify (15):
{ [520 bytes data]
* (304) (IN), TLS handshake, Finished (20):
{ [36 bytes data]
* (304) (OUT), TLS handshake, Finished (20):
} [36 bytes data]
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=soft.soluno.se
*  start date: Jan 29 21:58:45 2024 GMT
*  expire date: Apr 28 21:58:44 2024 GMT
*  subjectAltName: host "soft.dstny.se" matched cert's "soft.dstny.se"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://soft.dstny.se/dstny_mac.dmg
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: soft.dstny.se]
* [HTTP/2] [1] [:path: /dstny_mac.dmg]
* [HTTP/2] [1] [user-agent: curl/8.4.0]
* [HTTP/2] [1] [accept: */*]
> GET /dstny_mac.dmg HTTP/2
> Host: soft.dstny.se
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/2 200
< accept-ranges: bytes
< access-control-allow-headers: *
< access-control-allow-origin: *
< content-type: application/octet-stream
< cross-origin-resource-policy: cross-origin
< date: Wed, 14 Feb 2024 15:37:50 GMT
< last-modified: Wed, 10 Jan 2024 19:43:36 GMT
< content-length: 44945293
<
{ [7502 bytes data]
* Connection #0 to host soft.dstny.se left intact

2024-02-14 16:37:53 : REQ   : dstny : no more blocking processes, continue with update
2024-02-14 16:37:53 : REQ   : dstny : Installing Dstny
2024-02-14 16:37:53 : INFO  : dstny : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.REGHcgB7sy/Dstny.dmg
2024-02-14 16:37:57 : DEBUG : dstny : Debugging enabled, dmgmount output was:
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: verified CRC32 $D9E08C7E
Checksumming GPT Header (Primary GPT Header : 1)…
GPT Header (Primary GPT Header : 1): verified CRC32 $98C756AD
Checksumming GPT Partition Data (Primary GPT Table : 2)…
GPT Partition Data (Primary GPT Tabl: verified CRC32 $169E5A49
Checksumming  (Apple_Free : 3)…
(Apple_Free : 3): verified CRC32 $00000000
Checksumming disk image (Apple_HFS : 4)…
disk image (Apple_HFS : 4): verified CRC32 $4D2ED402
Checksumming  (Apple_Free : 5)…
(Apple_Free : 5): verified CRC32 $00000000
Checksumming GPT Partition Data (Backup GPT Table : 6)…
GPT Partition Data (Backup GPT Table: verified CRC32 $169E5A49
Checksumming GPT Header (Backup GPT Header : 7)…
GPT Header (Backup GPT Header : 7): verified CRC32 $5512688B
verified CRC32 $A6A4F86F
/dev/disk5          	GUID_partition_scheme
/dev/disk5s1        	Apple_HFS                      	/Volumes/Dstny 1

2024-02-14 16:37:57 : INFO  : dstny : Mounted: /Volumes/Dstny 1
2024-02-14 16:37:57 : INFO  : dstny : Verifying: /Volumes/Dstny 1/Dstny.app
2024-02-14 16:37:57 : DEBUG : dstny : App size: 189M	/Volumes/Dstny 1/Dstny.app
2024-02-14 16:37:58 : DEBUG : dstny : Debugging enabled, App Verification output was:
/Volumes/Dstny 1/Dstny.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Mitel Communications AB (5RLWBLKGL2)

2024-02-14 16:37:58 : INFO  : dstny : Team ID matching: 5RLWBLKGL2 (expected: 5RLWBLKGL2 )
2024-02-14 16:37:58 : INFO  : dstny : Installing Dstny version 5.10.3.9083 on versionKey CFBundleVersion.
2024-02-14 16:37:58 : INFO  : dstny : App has LSMinimumSystemVersion: 10.5
2024-02-14 16:37:58 : INFO  : dstny : Copy /Volumes/Dstny 1/Dstny.app to /Applications
2024-02-14 16:37:59 : DEBUG : dstny : Debugging enabled, App copy output was:
Copying /Volumes/Dstny 1/Dstny.app

2024-02-14 16:37:59 : WARN  : dstny : Changing owner to [email protected]
2024-02-14 16:37:59 : INFO  : dstny : Finishing...
2024-02-14 16:38:02 : INFO  : dstny : App(s) found: /Applications/Dstny.app
2024-02-14 16:38:02 : INFO  : dstny : found app at /Applications/Dstny.app, version 5.10.3.9083, on versionKey CFBundleVersion
2024-02-14 16:38:02 : REQ   : dstny : Installed Dstny, version 5.10.3.9083
2024-02-14 16:38:02 : INFO  : dstny : notifying
2024-02-14 16:38:03 : DEBUG : dstny : Unmounting /Volumes/Dstny 1
2024-02-14 16:38:03 : DEBUG : dstny : Debugging enabled, Unmounting output was:
"disk5" ejected.
2024-02-14 16:38:03 : DEBUG : dstny : Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.REGHcgB7sy
2024-02-14 16:38:03 : DEBUG : dstny : Debugging enabled, Deleting tmpDir output was:
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.REGHcgB7sy/Dstny.dmg
2024-02-14 16:38:03 : DEBUG : dstny : /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.REGHcgB7sy
2024-02-14 16:38:03 : INFO  : dstny : Installomator did not close any apps, so no need to reopen any apps.
2024-02-14 16:38:03 : REQ   : dstny : All done!
2024-02-14 16:38:03 : REQ   : dstny : ################## End Installomator, exit code 0

Add support for Dstny softphone application

Output:
```
sudo utils/assemble.sh dstny DEBUG=0
Password:
2024-02-14 16:37:48 : REQ   : dstny : ################## Start Installomator v. 10.6beta, date 2024-02-14
2024-02-14 16:37:48 : INFO  : dstny : ################## Version: 10.6beta
2024-02-14 16:37:48 : INFO  : dstny : ################## Date: 2024-02-14
2024-02-14 16:37:48 : INFO  : dstny : ################## dstny
2024-02-14 16:37:48 : DEBUG : dstny : DEBUG mode 1 enabled.
2024-02-14 16:37:48 : INFO  : dstny : setting variable from argument DEBUG=0
2024-02-14 16:37:48 : DEBUG : dstny : name=Dstny
2024-02-14 16:37:48 : DEBUG : dstny : appName=
2024-02-14 16:37:48 : DEBUG : dstny : type=dmg
2024-02-14 16:37:48 : DEBUG : dstny : archiveName=
2024-02-14 16:37:48 : DEBUG : dstny : downloadURL=https://soft.dstny.se/dstny_mac.dmg
2024-02-14 16:37:48 : DEBUG : dstny : curlOptions=
2024-02-14 16:37:48 : DEBUG : dstny : appNewVersion=
2024-02-14 16:37:48 : DEBUG : dstny : appCustomVersion function: Not defined
2024-02-14 16:37:48 : DEBUG : dstny : versionKey=CFBundleVersion
2024-02-14 16:37:48 : DEBUG : dstny : packageID=
2024-02-14 16:37:48 : DEBUG : dstny : pkgName=
2024-02-14 16:37:48 : DEBUG : dstny : choiceChangesXML=
2024-02-14 16:37:48 : DEBUG : dstny : expectedTeamID=5RLWBLKGL2
2024-02-14 16:37:48 : DEBUG : dstny : blockingProcesses=
2024-02-14 16:37:48 : DEBUG : dstny : installerTool=
2024-02-14 16:37:48 : DEBUG : dstny : CLIInstaller=
2024-02-14 16:37:48 : DEBUG : dstny : CLIArguments=
2024-02-14 16:37:48 : DEBUG : dstny : updateTool=
2024-02-14 16:37:48 : DEBUG : dstny : updateToolArguments=
2024-02-14 16:37:48 : DEBUG : dstny : updateToolRunAsCurrentUser=
2024-02-14 16:37:48 : INFO  : dstny : BLOCKING_PROCESS_ACTION=tell_user
2024-02-14 16:37:48 : INFO  : dstny : NOTIFY=success
2024-02-14 16:37:48 : INFO  : dstny : LOGGING=DEBUG
2024-02-14 16:37:48 : INFO  : dstny : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-02-14 16:37:48 : INFO  : dstny : Label type: dmg
2024-02-14 16:37:48 : INFO  : dstny : archiveName: Dstny.dmg
2024-02-14 16:37:48 : INFO  : dstny : no blocking processes defined, using Dstny as default
2024-02-14 16:37:48 : DEBUG : dstny : Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.REGHcgB7sy
2024-02-14 16:37:48 : INFO  : dstny : name: Dstny, appName: Dstny.app
2024-02-14 16:37:49.048 mdfind[42162:20823179] [UserQueryParser] Loading keywords and predicates for locale "en_US"
2024-02-14 16:37:49.048 mdfind[42162:20823179] [UserQueryParser] Loading keywords and predicates for locale "en"
2024-02-14 16:37:49.199 mdfind[42162:20823179] Couldn't determine the mapping between prefab keywords and predicates.
2024-02-14 16:37:49 : WARN  : dstny : No previous app found
2024-02-14 16:37:49 : WARN  : dstny : could not find Dstny.app
2024-02-14 16:37:49 : INFO  : dstny : appversion:
2024-02-14 16:37:49 : INFO  : dstny : Latest version not specified.
2024-02-14 16:37:49 : REQ   : dstny : Downloading https://soft.dstny.se/dstny_mac.dmg to Dstny.dmg
2024-02-14 16:37:49 : DEBUG : dstny : No Dialog connection, just download
2024-02-14 16:37:53 : DEBUG : dstny : File list: -rw-r--r--  1 root  wheel    43M Feb 14 16:37 Dstny.dmg
2024-02-14 16:37:53 : DEBUG : dstny : File type: Dstny.dmg: zlib compressed data
2024-02-14 16:37:53 : DEBUG : dstny : curl output was:
*   Trying 185.39.127.22:443...
* Connected to soft.dstny.se (185.39.127.22) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
} [318 bytes data]
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* (304) (IN), TLS handshake, Unknown (8):
{ [15 bytes data]
* (304) (IN), TLS handshake, Certificate (11):
{ [4239 bytes data]
* (304) (IN), TLS handshake, CERT verify (15):
{ [520 bytes data]
* (304) (IN), TLS handshake, Finished (20):
{ [36 bytes data]
* (304) (OUT), TLS handshake, Finished (20):
} [36 bytes data]
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=soft.soluno.se
*  start date: Jan 29 21:58:45 2024 GMT
*  expire date: Apr 28 21:58:44 2024 GMT
*  subjectAltName: host "soft.dstny.se" matched cert's "soft.dstny.se"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://soft.dstny.se/dstny_mac.dmg
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: soft.dstny.se]
* [HTTP/2] [1] [:path: /dstny_mac.dmg]
* [HTTP/2] [1] [user-agent: curl/8.4.0]
* [HTTP/2] [1] [accept: */*]
> GET /dstny_mac.dmg HTTP/2
> Host: soft.dstny.se
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/2 200
< accept-ranges: bytes
< access-control-allow-headers: *
< access-control-allow-origin: *
< content-type: application/octet-stream
< cross-origin-resource-policy: cross-origin
< date: Wed, 14 Feb 2024 15:37:50 GMT
< last-modified: Wed, 10 Jan 2024 19:43:36 GMT
< content-length: 44945293
<
{ [7502 bytes data]
* Connection #0 to host soft.dstny.se left intact

2024-02-14 16:37:53 : REQ   : dstny : no more blocking processes, continue with update
2024-02-14 16:37:53 : REQ   : dstny : Installing Dstny
2024-02-14 16:37:53 : INFO  : dstny : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.REGHcgB7sy/Dstny.dmg
2024-02-14 16:37:57 : DEBUG : dstny : Debugging enabled, dmgmount output was:
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: verified CRC32 $D9E08C7E
Checksumming GPT Header (Primary GPT Header : 1)…
GPT Header (Primary GPT Header : 1): verified CRC32 $98C756AD
Checksumming GPT Partition Data (Primary GPT Table : 2)…
GPT Partition Data (Primary GPT Tabl: verified CRC32 $169E5A49
Checksumming  (Apple_Free : 3)…
(Apple_Free : 3): verified CRC32 $00000000
Checksumming disk image (Apple_HFS : 4)…
disk image (Apple_HFS : 4): verified CRC32 $4D2ED402
Checksumming  (Apple_Free : 5)…
(Apple_Free : 5): verified CRC32 $00000000
Checksumming GPT Partition Data (Backup GPT Table : 6)…
GPT Partition Data (Backup GPT Table: verified CRC32 $169E5A49
Checksumming GPT Header (Backup GPT Header : 7)…
GPT Header (Backup GPT Header : 7): verified CRC32 $5512688B
verified CRC32 $A6A4F86F
/dev/disk5          	GUID_partition_scheme
/dev/disk5s1        	Apple_HFS                      	/Volumes/Dstny 1

2024-02-14 16:37:57 : INFO  : dstny : Mounted: /Volumes/Dstny 1
2024-02-14 16:37:57 : INFO  : dstny : Verifying: /Volumes/Dstny 1/Dstny.app
2024-02-14 16:37:57 : DEBUG : dstny : App size: 189M	/Volumes/Dstny 1/Dstny.app
2024-02-14 16:37:58 : DEBUG : dstny : Debugging enabled, App Verification output was:
/Volumes/Dstny 1/Dstny.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Mitel Communications AB (5RLWBLKGL2)

2024-02-14 16:37:58 : INFO  : dstny : Team ID matching: 5RLWBLKGL2 (expected: 5RLWBLKGL2 )
2024-02-14 16:37:58 : INFO  : dstny : Installing Dstny version 5.10.3.9083 on versionKey CFBundleVersion.
2024-02-14 16:37:58 : INFO  : dstny : App has LSMinimumSystemVersion: 10.5
2024-02-14 16:37:58 : INFO  : dstny : Copy /Volumes/Dstny 1/Dstny.app to /Applications
2024-02-14 16:37:59 : DEBUG : dstny : Debugging enabled, App copy output was:
Copying /Volumes/Dstny 1/Dstny.app

2024-02-14 16:37:59 : WARN  : dstny : Changing owner to [email protected]
2024-02-14 16:37:59 : INFO  : dstny : Finishing...
2024-02-14 16:38:02 : INFO  : dstny : App(s) found: /Applications/Dstny.app
2024-02-14 16:38:02 : INFO  : dstny : found app at /Applications/Dstny.app, version 5.10.3.9083, on versionKey CFBundleVersion
2024-02-14 16:38:02 : REQ   : dstny : Installed Dstny, version 5.10.3.9083
2024-02-14 16:38:02 : INFO  : dstny : notifying
2024-02-14 16:38:03 : DEBUG : dstny : Unmounting /Volumes/Dstny 1
2024-02-14 16:38:03 : DEBUG : dstny : Debugging enabled, Unmounting output was:
"disk5" ejected.
2024-02-14 16:38:03 : DEBUG : dstny : Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.REGHcgB7sy
2024-02-14 16:38:03 : DEBUG : dstny : Debugging enabled, Deleting tmpDir output was:
/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.REGHcgB7sy/Dstny.dmg
2024-02-14 16:38:03 : DEBUG : dstny : /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.REGHcgB7sy
2024-02-14 16:38:03 : INFO  : dstny : Installomator did not close any apps, so no need to reopen any apps.
2024-02-14 16:38:03 : REQ   : dstny : All done!
2024-02-14 16:38:03 : REQ   : dstny : ################## End Installomator, exit code 0
```
@scriptingosx scriptingosx added the application adds or improves an application label label Apr 5, 2024
@scriptingosx scriptingosx added this to the v10.6 milestone Apr 5, 2024
@scriptingosx
Copy link
Collaborator

Thank you!

@scriptingosx scriptingosx merged commit 87e67a3 into Installomator:main Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application adds or improves an application label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants