diff options
author | Nick White <git@njw.name> | 2022-02-24 12:25:41 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2022-02-24 12:25:41 +0000 |
commit | 9723b4bd7083a5e58a88cf2c3f0031f5c6e59096 (patch) | |
tree | 20a805d285f831822487c735ac6b02b1c7f7c6f0 /cmd | |
parent | 743f56f43aac7cb2a18de468aeca8eb8ecfdcedf (diff) |
rescribe: Add embedded getgbook
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rescribe/embed_windows.go | 3 | ||||
-rw-r--r-- | cmd/rescribe/getembeds.go | 1 |
2 files changed, 4 insertions, 0 deletions
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) { |