{ "version": "2.0.11", "description": "The Syncthing global discovery server", "homepage": "https://syncthing.net/", "license": "MPL-2.0", "architecture": { "64bit": { "url": "https://github.com/syncthing/discosrv/releases/download/v2.0.11/stdiscosrv-windows-amd64-v2.0.11.zip", "hash": "ace971f7be00ace7ac0e19635ad483295e8ac468e07beb68e13c559d1c6d1360", "extract_dir": "stdiscosrv-windows-amd64-v2.0.11" }, "32bit": { "url": "https://github.com/syncthing/discosrv/releases/download/v2.0.11/stdiscosrv-windows-386-v2.0.11.zip", "hash": "4f4675840fb7a7347d013d9cd00ff01d83298cd7cc988e507ef9fd0778c1bf66", "extract_dir": "stdiscosrv-windows-386-v2.0.11" } }, "bin": [ [ "stdiscosrv.exe", "stdiscosrv", "-cert \"$dir\\cert.pem\"", "-db-dir \"$dir\\discovery.db\"", "-key \"$dir\\key.pem\"" ] ], "persist": [ "discovery.db", "cert.pem", "key.pem" ], "pre_install": [ "foreach ($name in @('cert.pem', 'key.pem')) {", " if (!(Test-Path \"$persist_dir\\$name\")) {", " New-Item -Force -Path \"$dir\" -Name $name | Out-Null", " }", "}" ], "checkver": { "github": "https://github.com/syncthing/discosrv" }, "autoupdate": { "architecture": { "64bit": { "url": "https://github.com/syncthing/discosrv/releases/download/v$version/stdiscosrv-windows-amd64-v$version.zip", "extract_dir": "stdiscosrv-windows-amd64-v$version" }, "32bit": { "url": "https://github.com/syncthing/discosrv/releases/download/v$version/stdiscosrv-windows-386-v$version.zip", "extract_dir": "stdiscosrv-windows-386-v$version" } } } }