From f0fd00077db2f1925eaef21f459161af0a3734c2 Mon Sep 17 00:00:00 2001 From: Hsiao-nan Cheung Date: Fri, 21 Jun 2019 00:06:59 +0800 Subject: [PATCH] xmake: Add back 'extract_dir' and add au.hash (#165) --- bucket/xmake.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/bucket/xmake.json b/bucket/xmake.json index e37e0ca7c2..18f374d55f 100644 --- a/bucket/xmake.json +++ b/bucket/xmake.json @@ -13,6 +13,7 @@ "hash": "2c48fb07441593a474e157b43a3bf63a7130bbdd6b78219b396b511ba9ca43ca" } }, + "extract_dir": "xmake", "bin": "xmake.exe", "checkver": { "github": "https://github.com/xmake-io/xmake" @@ -20,10 +21,18 @@ "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/xmake-io/xmake/releases/download/v$version/xmake-v$version.win64.zip" + "url": "https://github.com/xmake-io/xmake/releases/download/v$version/xmake-v$version.win64.zip", + "hash": { + "url": "$baseurl/xmake-v$version.win64.sha256", + "regex": "$sha256.*?zip" + } }, "32bit": { - "url": "https://github.com/xmake-io/xmake/releases/download/v$version/xmake-v$version.win32.zip" + "url": "https://github.com/xmake-io/xmake/releases/download/v$version/xmake-v$version.win32.zip", + "hash": { + "url": "$baseurl/xmake-v$version.win32.sha256", + "regex": "$sha256.*?zip" + } } } }