From 4d7adb3c9d19f90040646aa030fce6a77c5693b1 Mon Sep 17 00:00:00 2001 From: Richard Kuhnt Date: Fri, 17 Mar 2017 18:03:36 +0100 Subject: [PATCH] Fix haxe, add autoupdate to neko --- haxe.json | 13 +++++-------- neko.json | 4 ++++ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/haxe.json b/haxe.json index 9c2af9e16e..3a774a8c52 100644 --- a/haxe.json +++ b/haxe.json @@ -1,10 +1,9 @@ { "homepage": "https://haxe.org/", - "version": "3.4.0", + "version": "3.4.1", "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", + "url": "https://github.com/HaxeFoundation/haxe/releases/download/3.4.1/haxe-3.4.1-win.zip", + "hash": "617d8262f55aedd3e7de2b1c5126ad7aa6b2de7e548051d2eb9c7dd9490d018e", "bin": [ "haxe.exe", "haxelib.exe" @@ -14,11 +13,9 @@ }, "depends": "neko", "checkver": { - "url": "https://haxe.org/download/list/", - "re": "The current stable version is ]+>((?[\\d.]+)(?-rc|())?\\.?(?[\\d]+|())?)" + "github": "https://github.com/HaxeFoundation/haxe" }, "autoupdate": { - "url": "https://haxe.org/website-content/downloads/$version/downloads/haxe-$version-win.zip", - "extract_dir": "haxe-$version$matchRc$matchBuild" + "url": "https://github.com/HaxeFoundation/haxe/releases/download/$version/haxe-$version-win.zip" } } diff --git a/neko.json b/neko.json index 4732416dac..9684b1ec97 100644 --- a/neko.json +++ b/neko.json @@ -9,5 +9,9 @@ "checkver": { "url": "http://nekovm.org/download", "re": "Neko ([\\d.]+)" + }, + "autoupdate": { + "url": "http://nekovm.org/media/neko-$version-win.zip", + "extract_dir": "neko-$version-win" } }