Extras/bucket/kdeconnect.json
2026-07-25 12:43:53 +00:00

50 lines
2.1 KiB
JSON

{
"version": "26.04-6401",
"description": "Communications and data transfer between devices over local networks",
"homepage": "https://kdeconnect.kde.org/",
"license": "GPL-3.0-or-later",
"notes": "If you want to get the latest development branch-based installer, please install `kdeconnect-nightly` from Versions bucket.",
"architecture": {
"64bit": {
"url": "https://cdn.kde.org/ci-builds/network/kdeconnect-kde/release-26.04/windows/kdeconnect-kde-release_26.04-6401-windows-cl-msvc2022-x86_64.7z",
"hash": "73adfa072d8a6b95c0a63742bb41f8cd59f47dd2a5b862ecc08f3a6715bf3376"
}
},
"bin": "bin\\kdeconnect-cli.exe",
"shortcuts": [
[
"bin\\kdeconnect-app.exe",
"KDEConnect"
]
],
"checkver": {
"script": [
"$url = 'https://cdn.kde.org/ci-builds/network/kdeconnect-kde/?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/network/kdeconnect-kde/release-$ver/windows/\"",
"$nextCont = (Invoke-WebRequest $nextUrl).Content",
"$nextRegex = \"kdeconnect-kde-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/network/kdeconnect-kde/release-$matchHead/windows/kdeconnect-kde-release_$version-windows-cl-$matchLib-x86_64.7z",
"hash": {
"url": "$url.sha256"
}
}
}
}
}