Skip to content

glodendict-ng: Add version 26.5.7#11

Closed
Greatwallcorner wants to merge 73 commits into
Scoopforge:mainfrom
Greatwallcorner:main
Closed

glodendict-ng: Add version 26.5.7#11
Greatwallcorner wants to merge 73 commits into
Scoopforge:mainfrom
Greatwallcorner:main

Conversation

@Greatwallcorner

Copy link
Copy Markdown
Contributor

No description provided.

@Greatwallcorner Greatwallcorner requested a review from ivaquero as a code owner June 5, 2026 08:11
@Greatwallcorner

Copy link
Copy Markdown
Contributor Author

@ivaquero

@ivaquero ivaquero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version of Qt should also be a variable in autoupdate

@Greatwallcorner

Copy link
Copy Markdown
Contributor Author

The version of Qt should also be a variable in autoupdate

I don't know how to do, can you give me a example?

The version of Qt should also be a variable in autoupdate

I don't know how to do, can you give me a example?

@ivaquero

ivaquero commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

@Greatwallcorner

Copy link
Copy Markdown
Contributor Author

sorrry, I don't understand at all. GlodentDict-ng has two qt version in release files. So I think it's fine to just write a static qt version number, Or Can you provide more explanation about this that can fix it.

@ivaquero

ivaquero commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

What if the Qt version changes?

@Greatwallcorner

Copy link
Copy Markdown
Contributor Author

What if the Qt version changes?
I think it ok, The Qt version is part of the file name, if author change the

What if the Qt version changes?

how about this? Parse the qt version, get the max number,{ "version": "26.5.7", "description": "The Next Generation GoldenDict", "homepage": "https://github.com/xiaoyifang/goldendict-ng", "license": "https://github.com/xiaoyifang/goldendict-ng?tab=License-1-ov-file", "architecture": { "64bit": { "url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/v26.5.7/GoldenDict-ng-26.5.7-Qt6.10.3-Windows.7z", "hash": "706951afc710560d92d38bf83df87df296a9484ee2f78fa5e81840a46dadd9bb" } }, "pre_install": [ "$actualFolder = Get-ChildItem \"$dir\" -Directory | Where-Object { $_.Name -ne '*.tmp' } | Select-Object -First 1", "if ($actualFolder) {", " Rename-Item $actualFolder.FullName \"$dir\\glodendict-ng\" -Force", "}" ], "shortcuts": [ [ "glodendict-ng\\goldendict.exe", "glodendict-ng" ] ], "checkver": { "url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/latest", "script": [ "$assets = ($page | ConvertFrom-Json).assets.browser_download_url", "$assets | Where-Object { $_ -match 'GoldenDict-ng-[\\d.]+-Qt[\\d.]+-Windows\\.7z$' } | Sort-Object { [version]([regex]::Match($_, 'Qt(?<qtversion>[\\d.]+)-Windows\\.7z$').Groups['qtversion'].Value) } -Descending | Select-Object -First 1" ], "regex": "releases/download/v(?<version>[\\d.]+)/GoldenDict-ng-[\\d.]+-Qt(?<qtversion>[\\d.]+)-Windows\\.7z$" }, "autoupdate": { "architecture": { "64bit": { "url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/v$version/GoldenDict-ng-$version-Qt$matchQtversion-Windows.7z" } } } }

@ivaquero

ivaquero commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

I updated the one in the bucket Extras-CN

@ivaquero ivaquero closed this Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants