ScoopInstaller_Main/bucket/syncthing.json
2024-10-16 08:31:11 +00:00

62 lines
2.6 KiB
JSON

{
"version": "1.28.0",
"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.28.0/syncthing-windows-amd64-v1.28.0.zip",
"hash": "18471b9e443fa6fe9188f03d0e7a23ab263a0794a10026f9679f2ffe59034703",
"extract_dir": "syncthing-windows-amd64-v1.28.0"
},
"32bit": {
"url": "https://github.com/syncthing/syncthing/releases/download/v1.28.0/syncthing-windows-386-v1.28.0.zip",
"hash": "4a9d96fe18022c2f009c4088aec2c4bae2de03bfcb8c44352184acb32b828113",
"extract_dir": "syncthing-windows-386-v1.28.0"
},
"arm64": {
"url": "https://github.com/syncthing/syncthing/releases/download/v1.28.0/syncthing-windows-arm64-v1.28.0.zip",
"hash": "38059b8e245ef5d2a5c958983579f69fea52b3baf3c5609b0f9de6fbc1104fe1",
"extract_dir": "syncthing-windows-arm64-v1.28.0"
}
},
"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\""
]
],
"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"
}
}
}