Skip to content

Commit

Permalink
fixed build for linux and windows, release 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dvcrn committed Nov 10, 2015
1 parent 4900154 commit 0f38104
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
2 changes: 1 addition & 1 deletion node/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "markright",
"productName": "MarkRight",
"version": "0.1.3",
"version": "0.1.4",
"electronVersion": "0.33.6",
"description": "",
"main":"app.js",
Expand Down
9 changes: 5 additions & 4 deletions src/cljs/markright/main.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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")))

Expand Down

0 comments on commit 0f38104

Please sign in to comment.