diff --git a/scriptcs.json b/scriptcs.json index 449cc812e8..b2f7dac888 100644 --- a/scriptcs.json +++ b/scriptcs.json @@ -2,14 +2,15 @@ "homepage": "http://scriptcs.net/", "version": "0.17.1", "license": "Apache-2.0", - "url": "https://chocolatey.org/api/v2/package/ScriptCs/0.17.1?fn=/dl.zip", + "url": "https://packages.chocolatey.org/ScriptCs.0.17.1.nupkg", "hash": "4b6de155f6c5811311df060b626098a771e8534d2d6e3ce51ea99da5e2ec0783", "extract_dir": "tools", "bin": "scriptcs.exe", "checkver": { - "github": "https://github.com/scriptcs/scriptcs" + "url": "https://chocolatey.org/packages/ScriptCs", + "regex": "ScriptCs ([\\d.]+)" }, "autoupdate": { - "url": "https://chocolatey.org/api/v2/package/ScriptCs/$version?fn=/dl.zip" + "url": "https://packages.chocolatey.org/ScriptCs.$version.nupkg" } }