summaryrefslogtreecommitdiff
path: root/cmd/rescribe/embed_other2.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rescribe/embed_other2.go')
-rw-r--r--cmd/rescribe/embed_other2.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd/rescribe/embed_other2.go b/cmd/rescribe/embed_other2.go
new file mode 100644
index 0000000..5749008
--- /dev/null
+++ b/cmd/rescribe/embed_other2.go
@@ -0,0 +1,11 @@
+// Copyright 2021 Nick White.
+// Use of this source code is governed by the GPLv3
+// license that can be found in the LICENSE file.
+
+//go:build (!darwin && !linux && !windows) || (!embed && !flatpak)
+
+package main
+
+// if not one of the above platforms, we won't embed tessdata, so
+// just create an empty byte slice
+var tessdatazip []byte