Fix fall-back to dev resource path in main

This commit is contained in:
Max Brunsfeld
2015-10-15 18:01:20 -07:00
parent e6a494cfdb
commit 27526f492c

View File

@@ -133,7 +133,7 @@ parseCommandLine = ->
if args['resource-path']
devMode = true
resourcePath = args['resource-path']
resourcePath ?= devResourcePath if devMode
resourcePath ?= devResourcePath if devMode
unless fs.statSyncNoException(resourcePath)
resourcePath = path.dirname(path.dirname(__dirname))