Skip to content

Comments

Update coconutbattery.sh#2143

Merged
acodega merged 1 commit intoInstallomator:mainfrom
NekoPavel:main
Jan 28, 2025
Merged

Update coconutbattery.sh#2143
acodega merged 1 commit intoInstallomator:mainfrom
NekoPavel:main

Conversation

@NekoPavel
Copy link
Contributor

All questions must be filled out or your Pull Request will be closed for lack of information. The first three questions should be answered Yes before submitting the pull request.

Have you confirmed this pull request is not a duplicate?
Yes
Is this pull request creating or modifying a label in the fragments/labels folder, and not Installomator.sh itself?
Yes
Did you use our editorconfig file?
Yes
Additional context Add any other context about the label or fix here.
Due to changes to the coconutBattery website a new way to get the version was needed. The download url was changed as well.

Installomator log At the bottom of this pull request, provide a log of a label run by running Installomator in Terminal and saving the output. DEBUG=1 can be enabled but do not enable Debug logging level and please format the log using a code block!

Please identify any issues fixed by your pull request by including the issue number. (Example: "Fixes #XXXX")

❯ sudo ./utils/assemble.sh coconutbattery
2025-01-22 15:23:07 : REQ   : coconutbattery : ################## Start Installomator v. 10.7beta, date 2025-01-22
2025-01-22 15:23:07 : INFO  : coconutbattery : ################## Version: 10.7beta
2025-01-22 15:23:07 : INFO  : coconutbattery : ################## Date: 2025-01-22
2025-01-22 15:23:07 : INFO  : coconutbattery : ################## coconutbattery
2025-01-22 15:23:07 : DEBUG : coconutbattery : DEBUG mode 1 enabled.
2025-01-22 15:23:07 : DEBUG : coconutbattery : name=coconutBattery
2025-01-22 15:23:07 : DEBUG : coconutbattery : appName=
2025-01-22 15:23:07 : DEBUG : coconutbattery : type=zip
2025-01-22 15:23:07 : DEBUG : coconutbattery : archiveName=
2025-01-22 15:23:07 : DEBUG : coconutbattery : downloadURL=https://www.coconut-flavour.com/downloads/coconutBattery_4_latest.zip
2025-01-22 15:23:07 : DEBUG : coconutbattery : curlOptions=
2025-01-22 15:23:07 : DEBUG : coconutbattery : appNewVersion=4.0.1
2025-01-22 15:23:07 : DEBUG : coconutbattery : appCustomVersion function: Not defined
2025-01-22 15:23:07 : DEBUG : coconutbattery : versionKey=CFBundleShortVersionString
2025-01-22 15:23:07 : DEBUG : coconutbattery : packageID=
2025-01-22 15:23:07 : DEBUG : coconutbattery : pkgName=
2025-01-22 15:23:07 : DEBUG : coconutbattery : choiceChangesXML=
2025-01-22 15:23:07 : DEBUG : coconutbattery : expectedTeamID=R5SC3K86L5
2025-01-22 15:23:07 : DEBUG : coconutbattery : blockingProcesses=
2025-01-22 15:23:07 : DEBUG : coconutbattery : installerTool=
2025-01-22 15:23:07 : DEBUG : coconutbattery : CLIInstaller=
2025-01-22 15:23:07 : DEBUG : coconutbattery : CLIArguments=
2025-01-22 15:23:07 : DEBUG : coconutbattery : updateTool=
2025-01-22 15:23:07 : DEBUG : coconutbattery : updateToolArguments=
2025-01-22 15:23:07 : DEBUG : coconutbattery : updateToolRunAsCurrentUser=
2025-01-22 15:23:07 : INFO  : coconutbattery : BLOCKING_PROCESS_ACTION=tell_user
2025-01-22 15:23:07 : INFO  : coconutbattery : NOTIFY=success
2025-01-22 15:23:07 : INFO  : coconutbattery : LOGGING=DEBUG
2025-01-22 15:23:07 : INFO  : coconutbattery : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2025-01-22 15:23:07 : INFO  : coconutbattery : Label type: zip
2025-01-22 15:23:07 : INFO  : coconutbattery : archiveName: coconutBattery.zip
2025-01-22 15:23:07 : INFO  : coconutbattery : no blocking processes defined, using coconutBattery as default
2025-01-22 15:23:07 : DEBUG : coconutbattery : Changing directory to /Users/pavel.kuzminov/code/Installomator/build
2025-01-22 15:23:07 : INFO  : coconutbattery : App(s) found: /Applications/coconutBattery.app
2025-01-22 15:23:07 : INFO  : coconutbattery : found app at /Applications/coconutBattery.app, version 4.0.1, on versionKey CFBundleShortVersionString
2025-01-22 15:23:07 : INFO  : coconutbattery : appversion: 4.0.1
2025-01-22 15:23:07 : INFO  : coconutbattery : Latest version of coconutBattery is 4.0.1
2025-01-22 15:23:07 : WARN  : coconutbattery : DEBUG mode 1 enabled, not exiting, but there is no new version of app.
2025-01-22 15:23:07 : REQ   : coconutbattery : Downloading https://www.coconut-flavour.com/downloads/coconutBattery_4_latest.zip to coconutBattery.zip
2025-01-22 15:23:07 : DEBUG : coconutbattery : No Dialog connection, just download
2025-01-22 15:23:09 : DEBUG : coconutbattery : File list: -rw-r--r--  1 root  AD\Domain Users   5.2M Jan 22 15:23 coconutBattery.zip
2025-01-22 15:23:09 : DEBUG : coconutbattery : File type: coconutBattery.zip: Zip archive data, at least v1.0 to extract, compression method=store
2025-01-22 15:23:09 : DEBUG : coconutbattery : curl output was:
* Host www.coconut-flavour.com:443 was resolved.
* IPv6: (none)
* IPv4: 85.13.131.33
*   Trying 85.13.131.33:443...
* Connected to www.coconut-flavour.com (85.13.131.33) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
} [328 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):
{ [19 bytes data]
* (304) (IN), TLS handshake, Certificate (11):
{ [2607 bytes data]
* (304) (IN), TLS handshake, CERT verify (15):
{ [264 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 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=coconut-flavour.com
*  start date: Nov 24 22:26:54 2024 GMT
*  expire date: Feb 22 22:26:53 2025 GMT
*  subjectAltName: host "www.coconut-flavour.com" matched cert's "www.coconut-flavour.com"
*  issuer: C=US; O=Let's Encrypt; CN=R10
*  SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://www.coconut-flavour.com/downloads/coconutBattery_4_latest.zip
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: www.coconut-flavour.com]
* [HTTP/2] [1] [:path: /downloads/coconutBattery_4_latest.zip]
* [HTTP/2] [1] [user-agent: curl/8.7.1]
* [HTTP/2] [1] [accept: */*]
> GET /downloads/coconutBattery_4_latest.zip HTTP/2
> Host: www.coconut-flavour.com
> User-Agent: curl/8.7.1
> Accept: */*
> 
* Request completely sent off
< HTTP/2 200 
< strict-transport-security: max-age=0
< last-modified: Thu, 19 Dec 2024 20:57:17 GMT
< etag: "534680-629a5c681c540"
< accept-ranges: bytes
< content-length: 5457536
< vary: User-Agent
< content-type: application/zip
< date: Wed, 22 Jan 2025 13:23:08 GMT
< server: Apache
< 
{ [16243 bytes data]
* Connection #0 to host www.coconut-flavour.com left intact

2025-01-22 15:23:09 : DEBUG : coconutbattery : DEBUG mode 1, not checking for blocking processes
2025-01-22 15:23:09 : REQ   : coconutbattery : Installing coconutBattery
2025-01-22 15:23:09 : INFO  : coconutbattery : Unzipping coconutBattery.zip
2025-01-22 15:23:09 : INFO  : coconutbattery : Verifying: /Users/pavel.kuzminov/code/Installomator/build/coconutBattery.app
2025-01-22 15:23:09 : DEBUG : coconutbattery : App size:  13M	/Users/pavel.kuzminov/code/Installomator/build/coconutBattery.app
2025-01-22 15:23:09 : DEBUG : coconutbattery : Debugging enabled, App Verification output was:
/Users/pavel.kuzminov/code/Installomator/build/coconutBattery.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Christoph Sinai (R5SC3K86L5)

2025-01-22 15:23:09 : INFO  : coconutbattery : Team ID matching: R5SC3K86L5 (expected: R5SC3K86L5 )
2025-01-22 15:23:09 : INFO  : coconutbattery : Downloaded version of coconutBattery is 4.0.1 on versionKey CFBundleShortVersionString, same as installed.
2025-01-22 15:23:09 : DEBUG : coconutbattery : DEBUG mode 1, not reopening anything
2025-01-22 15:23:09 : REG   : coconutbattery : No new version to install
2025-01-22 15:23:09 : REQ   : coconutbattery : ################## End Installomator, exit code 0

@acodega acodega added the application adds or improves an application label label Jan 26, 2025
@acodega acodega merged commit 691cdb5 into Installomator:main Jan 28, 2025
1 check passed
@acodega acodega added this to the v10.8 milestone Jan 28, 2025
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