diff --git a/bucket/syncthing.json b/bucket/syncthing.json index cb28c69cf4..cf4e89a55c 100644 --- a/bucket/syncthing.json +++ b/bucket/syncthing.json @@ -1,19 +1,19 @@ { - "version": "1.9.0", + "version": "1.10.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.9.0/syncthing-windows-amd64-v1.9.0.zip", - "hash": "de484439ea1a75848e3ee5427f243417827ac87933a2616ae85d354b80483b3f", - "extract_dir": "syncthing-windows-amd64-v1.9.0" + "url": "https://github.com/syncthing/syncthing/releases/download/v1.10.0/syncthing-windows-amd64-v1.10.0.zip", + "hash": "2509f8b9c65f1c37fbfcaff76a3b31c27d72917974066954fa4fcad5e9a8e1f3", + "extract_dir": "syncthing-windows-amd64-v1.10.0" }, "32bit": { - "url": "https://github.com/syncthing/syncthing/releases/download/v1.9.0/syncthing-windows-386-v1.9.0.zip", - "hash": "b803b02d21987666a3230111c0ac0888c9a80eaa70a651229f9f8024f191a497", - "extract_dir": "syncthing-windows-386-v1.9.0" + "url": "https://github.com/syncthing/syncthing/releases/download/v1.10.0/syncthing-windows-386-v1.10.0.zip", + "hash": "495ef8df628b89fd0a0a0a291bdbeaa416622c4f0edf5ac2bd038b3f0a2ccbb1", + "extract_dir": "syncthing-windows-386-v1.10.0" } }, "bin": [ @@ -25,10 +25,10 @@ ], "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", + "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", "}" ], "checkver": {