ScoopInstaller_Main/bucket/syncthing.json
2025-04-01 12:31:41 +00:00

62 lines
2.7 KiB
JSON

{
"version": "1.29.4",
"description": "Open Source Continuous File Synchronization.",
"homepage": "https://syncthing.net/",
"license": "MPL-2.0",
"notes": "To start syncthing automatically, use a method described at https://docs.syncthing.net/users/autostart.html#windows",
"architecture": {
"64bit": {
"url": "https://github.com/syncthing/syncthing/releases/download/v1.29.4/syncthing-windows-amd64-v1.29.4.zip",
"hash": "50a45dea8d228f5c477ccdb71a9e8140b630d41740a2ecd5efe5c81c8ba6fc96",
"extract_dir": "syncthing-windows-amd64-v1.29.4"
},
"32bit": {
"url": "https://github.com/syncthing/syncthing/releases/download/v1.29.4/syncthing-windows-386-v1.29.4.zip",
"hash": "b79d782eb71f046ab9a1b80fc1b579d830a0e98ed7cf1ea101a62d0f4dab6bef",
"extract_dir": "syncthing-windows-386-v1.29.4"
},
"arm64": {
"url": "https://github.com/syncthing/syncthing/releases/download/v1.29.4/syncthing-windows-arm64-v1.29.4.zip",
"hash": "9714bfcec61a1be9803085ecb61cfc37ba13d9e2af1ed8e9eba1f12541520207",
"extract_dir": "syncthing-windows-arm64-v1.29.4"
}
},
"pre_install": [
"if (!(Test-Path \"$persist_dir\\config\") -and (Test-Path \"$env:LOCALAPPDATA\\Syncthing\")) {",
" info \"Copying old '$env:LOCALAPPDATA\\Syncthing' to '$persist_dir\\config'\"",
" ensure \"$dir\\config\" | Out-Null",
" Copy-Item \"$env:LOCALAPPDATA\\Syncthing\\*\" \"$dir\\config\" -Exclude 'LOCK' -Recurse -Force",
"}"
],
"bin": [
[
"syncthing.exe",
"syncthing",
"--home \"$dir\\config\" --no-upgrade"
]
],
"persist": "config",
"checkver": {
"github": "https://github.com/syncthing/syncthing"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/syncthing/syncthing/releases/download/v$version/syncthing-windows-amd64-v$version.zip",
"extract_dir": "syncthing-windows-amd64-v$version"
},
"32bit": {
"url": "https://github.com/syncthing/syncthing/releases/download/v$version/syncthing-windows-386-v$version.zip",
"extract_dir": "syncthing-windows-386-v$version"
},
"arm64": {
"url": "https://github.com/syncthing/syncthing/releases/download/v$version/syncthing-windows-arm64-v$version.zip",
"extract_dir": "syncthing-windows-arm64-v$version"
}
},
"hash": {
"url": "$baseurl/sha256sum.txt.asc"
}
}
}