summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-02-28 17:05:28 +0000
committerNick White <git@njw.name>2022-02-28 17:05:28 +0000
commit65be1a688b9213e9e020ef00fe5726f18404a99b (patch)
tree5b0be34888bf8cbe4bac24bb54bc052f38d4b99b /cmd
parent2bf8016a4572d5f83812c03785db3d4248dac449 (diff)
rescribe: Add embed_darwin.go to include getbook into OSX builds
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rescribe/embed_darwin.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/rescribe/embed_darwin.go b/cmd/rescribe/embed_darwin.go
new file mode 100644
index 0000000..da781c3
--- /dev/null
+++ b/cmd/rescribe/embed_darwin.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 getgbook-darwin-cac42fb.zip
+var gbookzip []byte