diff --git a/bucket/win-acme.json b/bucket/win-acme.json index 2c0eeee4a6..1e194e1c02 100644 --- a/bucket/win-acme.json +++ b/bucket/win-acme.json @@ -1,16 +1,22 @@ { - "description": "ACME client for Windows - for use with Let's Encrypt", - "version": "2.0.7.315", - "license": "Apache-2.0", "homepage": "https://github.com/PKISharp/win-acme", - "hash": "b7206ed832566fc789d0f662d86ddc06f1d2b247b2068f09a78782c6220d881b", - "url": "https://github.com/PKISharp/win-acme/releases/download/v2.0.7.315/win-acme.v2.0.7.315.zip", - "bin": "letsencrypt.exe", - "persist": "letsencrypt.exe.config", + "version": "2.0.8.356", + "license": "Apache-2.0", + "description": "A Simple ACME Client for Windows", + "url": "https://github.com/PKISharp/win-acme/releases/download/v2.0.8/win-acme.v2.0.8.356.zip", + "hash": "cc150c7cd0cea57bb02bff24cb9cb70a90bae1ac350af63387824b7a6b6a7e53", + "bin": "wacs.exe", + "pre_install": [ + "if (!(Test-Path \"$persist_dir\\settings.config\")) {", + " Copy-Item \"$dir\\settings_default.config\" \"$dir\\settings.config\"", + "}" + ], + "persist": "settings.config", "checkver": { - "github": "https://github.com/PKISharp/win-acme" + "github": "https://github.com/PKISharp/win-acme", + "regex": "download/(?v?[\\d.]+)/win-acme\\.v([\\d.]+)\\.zip" }, "autoupdate": { - "url": "https://github.com/PKISharp/win-acme/releases/download/v$version/win-acme.v$version.zip" + "url": "https://github.com/PKISharp/win-acme/releases/download/v$matchRelease/win-acme.v$version.zip" } }