diff options
author | Nick White <git@njw.name> | 2021-08-02 17:28:03 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2021-08-02 17:28:03 +0100 |
commit | 1f2a05e466c195dde83effd82c96d4329259d249 (patch) | |
tree | 1121c82dee57876418f00d85d7e94cc8bfb9ce4c /cmd | |
parent | 4b7a4bd1b87d1dbba283e577aa03ce7e390d85d8 (diff) |
rescribe: Add experimental m1 build
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rescribe/embed_darwin_amd64.go (renamed from cmd/rescribe/embed_darwin.go) | 0 | ||||
-rw-r--r-- | cmd/rescribe/embed_darwin_arm64.go | 10 | ||||
-rw-r--r-- | cmd/rescribe/getembeds.go | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/cmd/rescribe/embed_darwin.go b/cmd/rescribe/embed_darwin_amd64.go index 719c9cc..719c9cc 100644 --- a/cmd/rescribe/embed_darwin.go +++ b/cmd/rescribe/embed_darwin_amd64.go diff --git a/cmd/rescribe/embed_darwin_arm64.go b/cmd/rescribe/embed_darwin_arm64.go new file mode 100644 index 0000000..a1ca9b8 --- /dev/null +++ b/cmd/rescribe/embed_darwin_arm64.go @@ -0,0 +1,10 @@ +// Copyright 2021 Nick White. +// Use of this source code is governed by the GPLv3 +// license that can be found in the LICENSE file. + +package main + +import _ "embed" + +//go:embed tesseract-osx-m1-v4.1.1.20210802.zip +var tesszip []byte diff --git a/cmd/rescribe/getembeds.go b/cmd/rescribe/getembeds.go index 1747d82..de000a8 100644 --- a/cmd/rescribe/getembeds.go +++ b/cmd/rescribe/getembeds.go @@ -44,6 +44,7 @@ func main() { "https://rescribe.xyz/rescribe/embeds/tessdata.20210622.zip", "https://rescribe.xyz/rescribe/embeds/tesseract-linux-v5.0.0-alpha.20210510.zip", "https://rescribe.xyz/rescribe/embeds/tesseract-osx-v4.1.1.20191227.zip", + "https://rescribe.xyz/rescribe/embeds/tesseract-osx-m1-v4.1.1.20210802.zip", "https://rescribe.xyz/rescribe/embeds/tesseract-w32-v5.0.0-alpha.20210506.zip", } for _, v := range urls { |