From 0f38104cfaf52a832b576e651e57c28483261639 Mon Sep 17 00:00:00 2001 From: David Mohl Date: Tue, 10 Nov 2015 13:24:56 +0900 Subject: [PATCH] fixed build for linux and windows, release 0.1.4 --- README.md | 10 +++++----- node/package.json | 2 +- src/cljs/markright/main.cljs | 9 +++++---- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 79fe648..cdf213d 100644 --- a/README.md +++ b/README.md @@ -49,10 +49,10 @@ shadow-build will live-reload the frontend so you don't need to refresh. If you Licensed under [GPLv3][7] [1]: https://github.com/dvcrn/markright/releases/latest/ -[2]: https://github.com/dvcrn/markright/releases/download/0.1.3/MarkRight_Mac.dmg -[3]: https://github.com/dvcrn/markright/releases/download/0.1.3/MarkRight_Windows32.exe -[4]: https://github.com/dvcrn/markright/releases/download/0.1.3/MarkRight_Windows64.exe -[5]: https://github.com/dvcrn/markright/releases/download/0.1.3/MarkRight_Linux_ia32.zip -[6]: https://github.com/dvcrn/markright/releases/download/0.1.3/MarkRight_Linux_x64.zip +[2]: https://github.com/dvcrn/markright/releases/download/0.1.4/MarkRight_Mac.dmg +[3]: https://github.com/dvcrn/markright/releases/download/0.1.4/MarkRight_Windows32.exe +[4]: https://github.com/dvcrn/markright/releases/download/0.1.4/MarkRight_Windows64.exe +[5]: https://github.com/dvcrn/markright/releases/download/0.1.4/MarkRight_Linux_ia32.zip +[6]: https://github.com/dvcrn/markright/releases/download/0.1.4/MarkRight_Linux_x64.zip [7]: http://www.gnu.org/licenses/gpl-3.0.txt [8]: http://caskroom.io/ diff --git a/node/package.json b/node/package.json index 5373daa..760358d 100644 --- a/node/package.json +++ b/node/package.json @@ -1,7 +1,7 @@ { "name": "markright", "productName": "MarkRight", - "version": "0.1.3", + "version": "0.1.4", "electronVersion": "0.33.6", "description": "", "main":"app.js", diff --git a/src/cljs/markright/main.cljs b/src/cljs/markright/main.cljs index 45aa7cf..81090ab 100644 --- a/src/cljs/markright/main.cljs +++ b/src/cljs/markright/main.cljs @@ -179,13 +179,14 @@ menu (.buildFromTemplate menu (clj->js - [(when (= (.-platform process) "darwin") - dmedit) - file + (concat + (if (= (.-platform process) "darwin") + [dmedit] []) + [file edit window develop - help])))) + help]))))) (def index (str "file://" (.resolve path (.getAppPath app) "ui" "index.html")))