diff --git a/supporting/shims/kiennq/.gitignore b/supporting/shims/kiennq/.gitignore deleted file mode 100644 index 41cfea69b4..0000000000 --- a/supporting/shims/kiennq/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.zip -*.bak diff --git a/supporting/shims/kiennq/Makefile b/supporting/shims/kiennq/Makefile deleted file mode 100644 index 1610fc723c..0000000000 --- a/supporting/shims/kiennq/Makefile +++ /dev/null @@ -1,52 +0,0 @@ - -VER?=2.2.1 -ZIP=shimexe.zip -URL?=https://github.com/kiennq/scoop-better-shimexe/releases/download/$(VER)/$(ZIP) -LATEST_URL?=https://github.com/kiennq/scoop-better-shimexe/releases/latest -NEWVER=$(shell cat version.txt) - -all: verify ## make download unzip verify - -version.txt: - @curl --max-redirs 0 -s -D - -o /dev/null $(LATEST_URL) | grep -i ^location | sed -E -e "s|.*/([^/]+)$$|\1|" >version.txt - @printf "%s " "Latest version is:" - @cat version.txt - -check: version.txt ## Check the version number in version.txt and update if needed - -bump: check ## Bump version number in Makefile - @rm -f Makefile.bak - @sed -i.bak -e 's|=$(VER)|=$(NEWVER)|' Makefile - @cmp --quiet Makefile{,.bak} || echo "Makefile bumped from $(VER) to $(NEWVER)" - -$(ZIP): version.txt - curl -L -s -o $(ZIP) $(URL) - @touch $@ - -download: $(ZIP) ## Download shim from https://github.com/kiennq/scoop-better-shimexe - -shim.exe: $(ZIP) - unzip -z -j -o $(ZIP) - @touch $@ - -unzip: shim.exe ## Unzip download - -verify: shim.exe ## Verify SHA256 checksum for shim.exe - sed -e "s|bin/||" checksum.sha256 | sha256sum -c - -clean: ## Clean .zip files - rm -f *.zip - -help: ## Display help text - @printf "%-8s %s\n" Target Description - @printf "%-8s %s\n" '--------' '------------------------------------------' - @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "%-8s %s\n", $$1, $$2}' - -.PHONY: all -.PHONY: bump -.PHONY: check -.PHONY: clean -.PHONY: download -.PHONY: help -.PHONY: unzip -.PHONY: verify diff --git a/supporting/shims/kiennq/checksum.sha256 b/supporting/shims/kiennq/checksum.sha256 index 32944ff856..c07f4ea9a0 100644 --- a/supporting/shims/kiennq/checksum.sha256 +++ b/supporting/shims/kiennq/checksum.sha256 @@ -1 +1 @@ -aa685053f4a5c0e7145f2a27514c8a56ceae25b0824062326f04037937caa558 bin/shim.exe +cadb4f6faec0c8dbb8c1c08e268f1af2ae9fc562ad37180943b4c9ee9309b661 *shim.exe diff --git a/supporting/shims/kiennq/checksum.sha512 b/supporting/shims/kiennq/checksum.sha512 index c7014db2a0..6ca0fa7bfd 100644 --- a/supporting/shims/kiennq/checksum.sha512 +++ b/supporting/shims/kiennq/checksum.sha512 @@ -1 +1 @@ -67c605c8163869d8ef8153c64eb09b82645cbae8228928c0fef944d0259a7b2d3791ecf4b4b01e23566916a878ee7977bfc1a59846bccf3c63bd6a1cf4f521b5 bin/shim.exe +bdb4d15ef0d04e4292de83cee6004cb2af6852577d67a255f286440b74bb1c10b29bb2b40b32f7fd2e3cec35798be100b573eae4f7e30c9f1636852803af016a *shim.exe diff --git a/supporting/shims/kiennq/shim.exe b/supporting/shims/kiennq/shim.exe index 743c9f1059..384e265001 100644 Binary files a/supporting/shims/kiennq/shim.exe and b/supporting/shims/kiennq/shim.exe differ diff --git a/supporting/shims/kiennq/version.txt b/supporting/shims/kiennq/version.txt deleted file mode 100644 index c043eea776..0000000000 --- a/supporting/shims/kiennq/version.txt +++ /dev/null @@ -1 +0,0 @@ -2.2.1