haxe 3.4.0-rc.2 (autoupdate: handle extract_dir doesn't match version)

This commit is contained in:
Luke Sampson 2017-01-22 19:13:19 +11:00
parent 02d73e6864
commit 2d31be2708

View File

@ -15,10 +15,10 @@
"depends": "neko",
"checkver": {
"url": "https://haxe.org/download/list/",
"re": "The current stable version is <a [^>]+>([\\d.\\-rc]+)"
"re": "The current stable version is <a [^>]+>(([\\d\\.]+)(-rc)?\\.?([\\d]+)?)"
},
"autoupdate": {
"url": "https://haxe.org/website-content/downloads/$version/downloads/haxe-$version-win.zip",
"extract_dir": "haxe-$version"
"extract_dir": "haxe-$match2$match3$match4"
}
}