From 9723b4bd7083a5e58a88cf2c3f0031f5c6e59096 Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 24 Feb 2022 12:25:41 +0000 Subject: rescribe: Add embedded getgbook --- cmd/rescribe/embed_windows.go | 3 +++ cmd/rescribe/getembeds.go | 1 + 2 files changed, 4 insertions(+) diff --git a/cmd/rescribe/embed_windows.go b/cmd/rescribe/embed_windows.go index c447624..3e49161 100644 --- a/cmd/rescribe/embed_windows.go +++ b/cmd/rescribe/embed_windows.go @@ -8,3 +8,6 @@ import _ "embed" //go:embed tesseract-w32-v5.0.0-alpha.20210506.zip var tesszip []byte + +//go:embed getgbook-w32-c2824685.zip +var gbookzip []byte diff --git a/cmd/rescribe/getembeds.go b/cmd/rescribe/getembeds.go index dcf8e82..9cbfdb0 100644 --- a/cmd/rescribe/getembeds.go +++ b/cmd/rescribe/getembeds.go @@ -89,6 +89,7 @@ func main() { {"https://rescribe.xyz/rescribe/embeds/tesseract-w32-v5.0.0-alpha.20210506.zip", "96734f3db4bb7c3b9a241ab6d89ab3e8436cea43b1cbbcfb13999497982f63e3"}, {"https://rescribe.xyz/rescribe/embeds/getgbook-darwin-cac42fb.zip", "b41fd429be53cdce13ecc7991fe6f8913428657ad70a7790cfcc776e56060887"}, {"https://rescribe.xyz/rescribe/embeds/getgbook-linux-cac42fb.zip", "c3b40a1c13da613d383f990bda5dd72425a7f26b89102d272a3388eb3d05ddb6"}, + {"https://rescribe.xyz/rescribe/embeds/getgbook-w32-c2824685.zip", "1c258a77a47d6515718fbbd7e54d5c2b516291682a878d122add55901c9f2914"}, } for _, v := range urls { if present(v.url, v.sum) { -- cgit v1.2.1-24-ge1ad