From e1cbbad8b536e3fac4b236d81fa43b9ff3d6ccff Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 21 Jun 2021 18:04:33 +0100 Subject: rescribe: Set up so only Tesseract needed for the build platform is embedded --- cmd/rescribe/embed_windows.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cmd/rescribe/embed_windows.go (limited to 'cmd/rescribe/embed_windows.go') diff --git a/cmd/rescribe/embed_windows.go b/cmd/rescribe/embed_windows.go new file mode 100644 index 0000000..c447624 --- /dev/null +++ b/cmd/rescribe/embed_windows.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-w32-v5.0.0-alpha.20210506.zip +var tesszip []byte -- cgit v1.2.1-24-ge1ad