karad / lein_template_descjop

A Leiningen template(Clojure/ClojureScript Project) for Web based desktop application with Electron (atom-shell).

Home Page:http://descjop.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

DrTom opened this issue · comments

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.

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?

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

fixed this bug v0.7.2