karad / lein_template_descjop

A Leiningen template(Clojure/ClojureScript Project) for Web based desktop application with Electron (atom-shell).
http://descjop.org
394 stars 16 forks source link

descjop-uberapp fails with `Cannot run program "cmd.exe"` on MacOS #29

Closed DrTom closed 7 years ago

DrTom commented 7 years ago

We got through all the steps untill it comes to packaging:

lein descjop-uberapp-osx
java.io.IOException: Cannot run program "cmd.exe" (in directory ....

This is invoked on MacOS 10.12.

DrTom commented 7 years ago

I just realized these are just aliases in project.clj

            "descjop-uberapp-osx" ["shell" "cmd.exe" "/c" "electron-packager" "./app/prod" "madek-app" "--platform=darwin" "--arch=x64" "--electron-version=1.6.0"]

so removing ["cmd.exe" "/c"] solved the problem. Should they not be absent by default?

karad commented 7 years ago

Thank you for your report! I'll check it!!

karad commented 7 years ago

fixed this bug v0.7.2