mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-29 12:04:27 +00:00
With `?<rc>-rc|()` and `?<build>[\\d]+|()` there will always be a match with at least an empty string 👌
25 lines
845 B
JSON
25 lines
845 B
JSON
{
|
|
"homepage": "https://haxe.org/",
|
|
"version": "3.4.0",
|
|
"license": "https://haxe.org/foundation/open-source.html",
|
|
"url": "https://haxe.org/website-content/downloads/3.4.0/downloads/haxe-3.4.0-win.zip",
|
|
"hash": "9e9963ff3d166593efd736d3045863098391d94406ddb40898cc79307f1a06d4",
|
|
"extract_dir": "haxe-3.4.0",
|
|
"bin": [
|
|
"haxe.exe",
|
|
"haxelib.exe"
|
|
],
|
|
"env_set": {
|
|
"HAXEPATH": "$dir"
|
|
},
|
|
"depends": "neko",
|
|
"checkver": {
|
|
"url": "https://haxe.org/download/list/",
|
|
"re": "The current stable version is <a [^>]+>((?<version>[\\d.]+)(?<rc>-rc|())?\\.?(?<build>[\\d]+|())?)"
|
|
},
|
|
"autoupdate": {
|
|
"url": "https://haxe.org/website-content/downloads/$version/downloads/haxe-$version-win.zip",
|
|
"extract_dir": "haxe-$version$matchRc$matchBuild"
|
|
}
|
|
}
|