From 5d207dab28992b10e302d31fd45f6683efaf2f81 Mon Sep 17 00:00:00 2001 From: M*C*O Date: Fri, 17 Jan 2020 15:23:13 +0100 Subject: [PATCH 1/2] Add lwc v0.4.5 --- bucket/lwc.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 bucket/lwc.json diff --git a/bucket/lwc.json b/bucket/lwc.json new file mode 100644 index 0000000000..f215d02aa2 --- /dev/null +++ b/bucket/lwc.json @@ -0,0 +1,34 @@ +{ + "description": "A live-updating version of the UNIX wc command.", + "homepage": "https://github.com/timdp/lwc", + "version": "0.4.5", + "license": "MIT", + "architecture": { + "64bit": { + "url": "https://github.com/timdp/lwc/releases/download/v0.4.5/lwc-0.4.5-windows-amd64.tar.gz", + "hash": "0adaa5395692d25b90f3e25c942dcdc4f20005c5a77fb047a5e27112a5220f8a" + }, + "32bit": { + "url": "https://github.com/timdp/lwc/releases/download/v0.4.5/lwc-0.4.5-windows-386.tar.gz", + "hash": "29a5067a2a51b2d674f02dbd4049ad47c6c5600ca09fa552d28944506a82da3a" + } + }, + "bin": "lwc.exe", + "checkver": "github", + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/timdp/lwc/releases/download/v$version/lwc-$version-windows-amd64.tar.gz", + "hash": { + "url": "https://github.com/timdp/lwc/releases/download/v$version/lwc-checksums.txt" + } + }, + "32bit": { + "url": "https://github.com/timdp/lwc/releases/download/v$version/lwc-$version-windows-386.tar.gz", + "hash": { + "url": "https://github.com/timdp/lwc/releases/download/v$version/lwc-checksums.txt" + } + } + } + } +} From 200d4970854cd1958e995fbebd5470131a9738dc Mon Sep 17 00:00:00 2001 From: M*C*O Date: Fri, 17 Jan 2020 15:36:41 +0100 Subject: [PATCH 2/2] Consolidate hash, use $baseurl --- bucket/lwc.json | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/bucket/lwc.json b/bucket/lwc.json index f215d02aa2..5dfb2c2868 100644 --- a/bucket/lwc.json +++ b/bucket/lwc.json @@ -18,17 +18,14 @@ "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/timdp/lwc/releases/download/v$version/lwc-$version-windows-amd64.tar.gz", - "hash": { - "url": "https://github.com/timdp/lwc/releases/download/v$version/lwc-checksums.txt" - } + "url": "https://github.com/timdp/lwc/releases/download/v$version/lwc-$version-windows-amd64.tar.gz" }, "32bit": { - "url": "https://github.com/timdp/lwc/releases/download/v$version/lwc-$version-windows-386.tar.gz", - "hash": { - "url": "https://github.com/timdp/lwc/releases/download/v$version/lwc-checksums.txt" - } + "url": "https://github.com/timdp/lwc/releases/download/v$version/lwc-$version-windows-386.tar.gz" } + }, + "hash": { + "url": "$baseurl/lwc-checksums.txt" } } }