{ "version": "1.8.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://github.com/syncthing/docs/blob/main/users/autostart.rst#windows", "architecture": { "64bit": { "url": "https://github.com/syncthing/syncthing/releases/download/v1.8.0/syncthing-windows-amd64-v1.8.0.zip", "hash": "cff900b5d2b0e70fd74e8180bcbc29a955b1ef55cbbd2737cd8e313231d0f484", "extract_dir": "syncthing-windows-amd64-v1.8.0" }, "32bit": { "url": "https://github.com/syncthing/syncthing/releases/download/v1.8.0/syncthing-windows-386-v1.8.0.zip", "hash": "2e98db1dee6136023e65616fbd4996adda4d18920363a2f27b40baacb4555057", "extract_dir": "syncthing-windows-386-v1.8.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" }, "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" } } }