mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-28 19:41:19 +00:00
53 lines
2.2 KiB
JSON
53 lines
2.2 KiB
JSON
{
|
|
"version": "1.5.0",
|
|
"description": "Open Source Continuous File Synchronization.",
|
|
"homepage": "https://syncthing.net/",
|
|
"license": "MPL-2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/syncthing/syncthing/releases/download/v1.5.0/syncthing-windows-amd64-v1.5.0.zip",
|
|
"hash": "c7df1328f8de59e855c8d1291c89aa4725fab3d8c40553fe2e37d1539e4b47ab",
|
|
"extract_dir": "syncthing-windows-amd64-v1.5.0"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/syncthing/syncthing/releases/download/v1.5.0/syncthing-windows-386-v1.5.0.zip",
|
|
"hash": "aca0160fdf8a2ffa482ac22ffdab0f83343b37f1f97220e194ee9321f652cd68",
|
|
"extract_dir": "syncthing-windows-386-v1.5.0"
|
|
}
|
|
},
|
|
"bin": [
|
|
[
|
|
"syncthing.exe",
|
|
"syncthing",
|
|
"-home \"$dir\\config\""
|
|
]
|
|
],
|
|
"persist": "config",
|
|
"pre_install": [
|
|
"if (!(Test-Path \"$persist_dir\\config\") -and (Test-Path \"$Env:LocalAppdata\\Syncthing\")) {",
|
|
" Write-Host -F yellow \"Copying old '$Env:LocalAppdata\\Syncthing' to '$persist_dir\\config'\"",
|
|
" New-Item \"$dir\\config\" -ItemType 'Directory' -Force | Out-Null",
|
|
" Copy-Item \"$Env:LocalAppdata\\Syncthing\\*\" \"$dir\\config\" -Exclude LOCK -Recurse -Force",
|
|
"}"
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/syncthing/syncthing"
|
|
},
|
|
"notes": "To start syncthing automatically, use a method described at https://github.com/syncthing/docs/blob/master/users/autostart.rst#windows",
|
|
"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"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$baseurl/sha256sum.txt.asc"
|
|
}
|
|
}
|
|
}
|