summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-02-23 16:37:51 +0000
committerNick White <git@njw.name>2022-02-23 16:37:51 +0000
commit69d072c61b4d27ff6747e5a87c37ee33b6476143 (patch)
tree640c467837c86a14694615d74591a03630de5761 /cmd
parenta4d9ca8671292f9028db51748f4f028746d9bdef (diff)
Add getgbook embedding for darwin
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rescribe/getembeds.go1
-rw-r--r--cmd/rescribe/makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/cmd/rescribe/getembeds.go b/cmd/rescribe/getembeds.go
index a516234..dcf8e82 100644
--- a/cmd/rescribe/getembeds.go
+++ b/cmd/rescribe/getembeds.go
@@ -87,6 +87,7 @@ func main() {
{"https://rescribe.xyz/rescribe/embeds/tesseract-osx-v4.1.1.20191227.zip", "5f567b95f1dea9d0581ad42ada4d1f1160a38ea22ae338f9efe190015265636b"},
{"https://rescribe.xyz/rescribe/embeds/tesseract-osx-m1-v4.1.1.20210802.zip", "c9a454633f7e5175e2d50dd939d30a6e5bdfb3b8c78590a08b5aa21edbf32ca4"},
{"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"},
}
for _, v := range urls {
diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile
index ffe2c16..c52ec1e 100644
--- a/cmd/rescribe/makefile
+++ b/cmd/rescribe/makefile
@@ -43,7 +43,7 @@ dist/darwin_universal/rescribe: dist/darwin_amd64/rescribe dist/darwin_arm64/res
PATH="$(PATH):$(OSXCROSSBIN)" lipo -create dist/darwin_amd64/rescribe dist/darwin_arm64/rescribe -output $@
dist/darwin_universal/Rescribe.app: dist/darwin_universal/rescribe
- go install fyne.io/fyne/v2/cmd/fyne@latest
+ go install fyne.io/fyne/v2/cmd/fyne@v2.1.2
fyne package --name Rescribe --exe dist/darwin_universal/rescribe --os darwin --icon icon.png
mv Rescribe.app $@