Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update shottr.sh #1025

Merged
merged 1 commit into from
May 27, 2023
Merged

Update shottr.sh #1025

merged 1 commit into from
May 27, 2023

Conversation

duderin0
Copy link
Contributor

@duderin0 duderin0 commented May 2, 2023

Changed to get the version from the website changelog, then use that in the download link. Currently download version is static and counter to Installomator's use case.

Fix for issue #997

Result:

admin in ~/Documents/GitHub/Installomator on Shottr-labelFix ● : sudo ./build/Installomator.sh shottr DEBUG=0
Password:
2023-05-02 15:49:21 : INFO : shottr : setting variable from argument DEBUG=0
2023-05-02 15:49:21 : REQ : shottr : ################## Start Installomator v. 10.4beta, date 2023-05-02
2023-05-02 15:49:21 : INFO : shottr : ################## Version: 10.4beta
2023-05-02 15:49:21 : INFO : shottr : ################## Date: 2023-05-02
2023-05-02 15:49:21 : INFO : shottr : ################## shottr
2023-05-02 15:49:22 : INFO : shottr : BLOCKING_PROCESS_ACTION=tell_user
2023-05-02 15:49:22 : INFO : shottr : NOTIFY=success
2023-05-02 15:49:22 : INFO : shottr : LOGGING=INFO
2023-05-02 15:49:22 : INFO : shottr : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2023-05-02 15:49:22 : INFO : shottr : Label type: dmg
2023-05-02 15:49:22 : INFO : shottr : archiveName: Shottr.dmg
2023-05-02 15:49:22 : INFO : shottr : no blocking processes defined, using Shottr as default
2023-05-02 15:49:22 : INFO : shottr : name: Shottr, appName: Shottr.app
2023-05-02 15:49:22.122 mdfind[25523:620883] [UserQueryParser] Loading keywords and predicates for locale "en_US"
2023-05-02 15:49:22.122 mdfind[25523:620883] [UserQueryParser] Loading keywords and predicates for locale "en"
2023-05-02 15:49:22.159 mdfind[25523:620883] Couldn't determine the mapping between prefab keywords and predicates.
2023-05-02 15:49:22 : WARN : shottr : No previous app found
2023-05-02 15:49:22 : WARN : shottr : could not find Shottr.app
2023-05-02 15:49:22 : INFO : shottr : appversion:
2023-05-02 15:49:22 : INFO : shottr : Latest version of Shottr is 1.6.2
2023-05-02 15:49:22 : REQ : shottr : Downloading https://shottr.cc/dl/Shottr-1.6.2.dmg to Shottr.dmg
2023-05-02 15:49:22 : REQ : shottr : no more blocking processes, continue with update
2023-05-02 15:49:22 : REQ : shottr : Installing Shottr
2023-05-02 15:49:22 : INFO : shottr : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.hT3aN8Xu/Shottr.dmg
2023-05-02 15:49:23 : INFO : shottr : Mounted: /Volumes/Shottr
2023-05-02 15:49:23 : INFO : shottr : Verifying: /Volumes/Shottr/Shottr.app
2023-05-02 15:49:23 : INFO : shottr : Team ID matching: 2Y683PRQWN (expected: 2Y683PRQWN )
2023-05-02 15:49:23 : INFO : shottr : Installing Shottr version 1.6.2 on versionKey CFBundleShortVersionString.
2023-05-02 15:49:23 : INFO : shottr : App has LSMinimumSystemVersion: 10.15
2023-05-02 15:49:23 : INFO : shottr : Copy /Volumes/Shottr/Shottr.app to /Applications
2023-05-02 15:49:23 : WARN : shottr : Changing owner to admin
2023-05-02 15:49:23 : INFO : shottr : Finishing...
2023-05-02 15:49:26 : INFO : shottr : App(s) found: /Applications/Shottr.app
2023-05-02 15:49:26 : INFO : shottr : found app at /Applications/Shottr.app, version 1.6.2, on versionKey CFBundleShortVersionString
2023-05-02 15:49:26 : REQ : shottr : Installed Shottr, version 1.6.2
2023-05-02 15:49:26 : INFO : shottr : notifying
2023-05-02 15:49:27 : INFO : shottr : App not closed, so no reopen.
2023-05-02 15:49:27 : REQ : shottr : All done!
2023-05-02 15:49:27 : REQ : shottr : ################## End Installomator, exit code 0

Changed to get the version from the website changelog, then use that in the download link. Currently download version is static and counter to Installomator's use case.
@scriptingosx scriptingosx added the application adds or improves an application label label May 26, 2023
@scriptingosx scriptingosx added this to the v10.4 milestone May 26, 2023
@scriptingosx
Copy link
Collaborator

Thank you!

@scriptingosx scriptingosx merged commit c05c41d into Installomator:main May 27, 2023
@duderin0 duderin0 deleted the Shottr-labelFix branch June 2, 2023 18:57
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.

None yet

2 participants