Skip to content

Comments

Update Camtasia2024 label#2183

Merged
bartreardon merged 1 commit intoInstallomator:mainfrom
jcmbowman:fix-camtasia2024-label
Mar 24, 2025
Merged

Update Camtasia2024 label#2183
bartreardon merged 1 commit intoInstallomator:mainfrom
jcmbowman:fix-camtasia2024-label

Conversation

@jcmbowman
Copy link
Contributor

Add "last()" parameter to XML 'item' search to ensure if multiple versions are listed in sparkleData that the most recent update is pulled.

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.
The sparkleData that this label relies on now comes with 2 items. I added a modifier to select the last item in the list to ensure we're grabbing the latest available version.

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")

./build/Installomator.sh camtasia DEBUG=1
2025-02-10 12:56:34 : INFO  : camtasia : setting variable from argument DEBUG=1
2025-02-10 12:56:34 : INFO  : camtasia : Total items in argumentsArray: 1
2025-02-10 12:56:34 : INFO  : camtasia : argumentsArray: DEBUG=1
2025-02-10 12:56:34 : REQ   : camtasia : ################## Start Installomator v. 10.8beta, date 2025-02-10
2025-02-10 12:56:34 : INFO  : camtasia : ################## Version: 10.8beta
2025-02-10 12:56:34 : INFO  : camtasia : ################## Date: 2025-02-10
2025-02-10 12:56:34 : INFO  : camtasia : ################## camtasia
2025-02-10 12:56:34 : DEBUG : camtasia : DEBUG mode 1 enabled.
2025-02-10 12:56:35 : INFO  : camtasia : Reading arguments again: DEBUG=1
2025-02-10 12:56:35 : DEBUG : camtasia : argument: DEBUG=1
2025-02-10 12:56:35 : DEBUG : camtasia : name=Camtasia 2024
2025-02-10 12:56:35 : DEBUG : camtasia : appName=
2025-02-10 12:56:35 : DEBUG : camtasia : type=dmg
2025-02-10 12:56:35 : DEBUG : camtasia : archiveName=
2025-02-10 12:56:35 : DEBUG : camtasia : downloadURL=https://download.techsmith.com//camtasiamac/releases/2415/Camtasia.dmg
2025-02-10 12:56:35 : DEBUG : camtasia : curlOptions=
2025-02-10 12:56:35 : DEBUG : camtasia : appNewVersion=2024.1.5
2025-02-10 12:56:35 : DEBUG : camtasia : appCustomVersion function: Not defined
2025-02-10 12:56:35 : DEBUG : camtasia : versionKey=CFBundleShortVersionString
2025-02-10 12:56:35 : DEBUG : camtasia : packageID=
2025-02-10 12:56:35 : DEBUG : camtasia : pkgName=
2025-02-10 12:56:35 : DEBUG : camtasia : choiceChangesXML=
2025-02-10 12:56:35 : DEBUG : camtasia : expectedTeamID=7TQL462TU8
2025-02-10 12:56:35 : DEBUG : camtasia : blockingProcesses=
2025-02-10 12:56:35 : DEBUG : camtasia : installerTool=
2025-02-10 12:56:35 : DEBUG : camtasia : CLIInstaller=
2025-02-10 12:56:35 : DEBUG : camtasia : CLIArguments=
2025-02-10 12:56:35 : DEBUG : camtasia : updateTool=
2025-02-10 12:56:35 : DEBUG : camtasia : updateToolArguments=
2025-02-10 12:56:35 : DEBUG : camtasia : updateToolRunAsCurrentUser=
2025-02-10 12:56:35 : INFO  : camtasia : BLOCKING_PROCESS_ACTION=tell_user
2025-02-10 12:56:35 : INFO  : camtasia : NOTIFY=success
2025-02-10 12:56:35 : INFO  : camtasia : LOGGING=DEBUG
2025-02-10 12:56:35 : INFO  : camtasia : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2025-02-10 12:56:35 : INFO  : camtasia : Label type: dmg
2025-02-10 12:56:35 : INFO  : camtasia : archiveName: Camtasia 2024.dmg
2025-02-10 12:56:35 : INFO  : camtasia : no blocking processes defined, using Camtasia 2024 as default
2025-02-10 12:56:35 : DEBUG : camtasia : Changing directory to ./build
2025-02-10 12:56:36 : INFO  : camtasia : App(s) found: /Applications/Camtasia 2024.app
2025-02-10 12:56:36 : INFO  : camtasia : found app at /Applications/Camtasia 2024.app, version 2024.1.4, on versionKey CFBundleShortVersionString
2025-02-10 12:56:36 : INFO  : camtasia : appversion: 2024.1.4
2025-02-10 12:56:36 : INFO  : camtasia : Latest version of Camtasia 2024 is 2024.1.5
2025-02-10 12:56:36 : INFO  : camtasia : Camtasia 2024.dmg exists and DEBUG mode 1 enabled, skipping download
2025-02-10 12:56:36 : DEBUG : camtasia : DEBUG mode 1, not checking for blocking processes
2025-02-10 12:56:36 : REQ   : camtasia : Installing Camtasia 2024
2025-02-10 12:56:36 : INFO  : camtasia : Mounting ./build/Camtasia 2024.dmg
hdiutil: attach failed - No such file or directory
2025-02-10 12:56:36 : DEBUG : camtasia : DEBUG mode 1, not reopening anything
2025-02-10 12:56:36 : ERROR : camtasia : ERROR: Error mounting ./build/Camtasia 2024.dmg error:
Log

2025-02-10 12:56:36 : REQ   : camtasia : ################## End Installomator, exit code 3 

Add "last()" parameter to XML 'item' search to ensure if multiple versions are listed in sparkleData that the most recent update is pulled.
@bartreardon bartreardon added application adds or improves an application label validated App label that has been validated by the validation bot labels Feb 11, 2025
@bartreardon
Copy link
Collaborator

🤖 Validation robot 🤖
File fragments/labels/camtasia2024.sh
** Label info:
├ ✅ correct line ending
├ ✅ Name: Camtasia 2024
├ ✅ Type: dmg
├ ✅ Expected Team: 7TQL462TU8
├ ✅ App New Version: 2024.1.5
└ Download URL: https://download.techsmith.com//camtasiamac/releases/2415/Camtasia.dmg
├ ✅ URL is reachable
└ ✅ Download Size: 423.2 MB
✅ All checks passed


@jcmbowman jcmbowman mentioned this pull request Mar 10, 2025
@bartreardon bartreardon added this to the v10.8 milestone Mar 21, 2025
@bartreardon bartreardon added attention-required PR seems fine but some attention is needed before merging and removed validated App label that has been validated by the validation bot labels Mar 23, 2025
@bartreardon bartreardon merged commit 79208d3 into Installomator:main Mar 24, 2025
1 check passed
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 attention-required PR seems fine but some attention is needed before merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants