{
"version": "2.1.7",
"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/v2.1.7/syncthing-windows-amd64-v2.1.7.zip",
"hash": "3ce7da770f546a8d02b65b2e7ee31f2a3b8b7c3f990ede045590cca4172ecfe1",
"extract_dir": "syncthing-windows-amd64-v2.1.7"
},
"32bit": {
"url": "https://github.com/syncthing/syncthing/releases/download/v2.1.7/syncthing-windows-386-v2.1.7.zip",
"hash": "8b3ef0563cc21d923c9faa4282f07c94eea039dba658ef435ab5ac99020ed122",
"extract_dir": "syncthing-windows-386-v2.1.7"
},
"arm64": {
"url": "https://github.com/syncthing/syncthing/releases/download/v2.1.7/syncthing-windows-arm64-v2.1.7.zip",
"hash": "d535ffd611b3af223de64bc5dfc60c378881eb13d5c8ecb1431b7407094c15ff",
"extract_dir": "syncthing-windows-arm64-v2.1.7"
}
},
"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"
}
}
}