ScoopInstaller_Main/bucket/syncthing.json
2024-09-06 08:29:15 +00:00

62 lines
2.7 KiB
JSON

{
"version": "1.27.12",
"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.27.12/syncthing-windows-amd64-v1.27.12.zip",
"hash": "2120d49d92f32da8996b92dea607308977283a1cb54b26ac595954b483118cc6",
"extract_dir": "syncthing-windows-amd64-v1.27.12"
},
"32bit": {
"url": "https://github.com/syncthing/syncthing/releases/download/v1.27.12/syncthing-windows-386-v1.27.12.zip",
"hash": "16a282d4889a3a8c42cb2046b107ad29d1eb2fc135a61d817dae4dd12a876ac7",
"extract_dir": "syncthing-windows-386-v1.27.12"
},
"arm64": {
"url": "https://github.com/syncthing/syncthing/releases/download/v1.27.12/syncthing-windows-arm64-v1.27.12.zip",
"hash": "92aa1213b70e0b5059a0d622be2ff814005b8fe4bcc82e4fe391669189de8405",
"extract_dir": "syncthing-windows-arm64-v1.27.12"
}
},
"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"
}
}
}