Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
Allow running desktop version portably
Browse files Browse the repository at this point in the history
  • Loading branch information
oakes committed Jan 31, 2014
1 parent 21a7537 commit 211471a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion desktop/src/nightweb_desktop/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@

(defn -main
[& args]
(router/start-router! (get-data-dir))
(router/start-router! (if (contains? (set args) "--portable")
"nightweb"
(get-data-dir)))
(server/start-server!)
(when-not (contains? (set args) "-nw")
(window/start-window!)))

0 comments on commit 211471a

Please sign in to comment.