Extras/bucket/filelight.json
2026-06-27 01:20:03 +00:00

50 lines
2.0 KiB
JSON

{
"version": "26.04-2130",
"description": "Disk usage visualizer",
"homepage": "https://apps.kde.org/filelight",
"license": "GPL-2.0-or-later",
"notes": "If you want to get the latest development branch-based installer, please install `filelight-nightly` from Versions bucket.",
"architecture": {
"64bit": {
"url": "https://cdn.kde.org/ci-builds/utilities/filelight/release-26.04/windows/filelight-release_26.04-2130-windows-cl-msvc2022-x86_64.7z",
"hash": "5c7f73748c1f118adadb87856ea2a1c21be1cb5e752acc51b110d14205693c35"
}
},
"bin": "bin\\filelight.exe",
"shortcuts": [
[
"bin\\filelight.exe",
"Filelight"
]
],
"checkver": {
"script": [
"$url = 'https://cdn.kde.org/ci-builds/utilities/filelight/?C=N;O=D'",
"",
"$cont = (Invoke-WebRequest $url).Content",
"$regex = 'release-([\\d.]+)'",
"if (!($cont -match $regex)) { error \"Could not match $regex in $url\"; continue }",
"$ver = $matches[1]",
"",
"$nextUrl = \"https://cdn.kde.org/ci-builds/utilities/filelight/release-$ver/windows/\"",
"$nextCont = (Invoke-WebRequest $nextUrl).Content",
"$nextRegex = \"filelight-release_$ver-([\\d]+)-windows-cl-([\\w]+)-x86_64\\.7z\"",
"if (!($nextCont -match $nextRegex)) { error \"Could not match $nextRegex in $nextUrl\"; continue }",
"$build = $matches[1]",
"$lib = $matches[2]",
"Write-Output $ver-$build $lib"
],
"regex": "([\\d.-]+) (?<lib>[\\w]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://cdn.kde.org/ci-builds/utilities/filelight/release-$matchHead/windows/filelight-release_$version-windows-cl-$matchLib-x86_64.7z",
"hash": {
"url": "$url.sha256"
}
}
}
}
}