Skip to content

Commit

Permalink
Fix fall-back to dev resource path in main
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbrunsfeld committed Oct 16, 2015
1 parent e6a494c commit 27526f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 27526f4

Please sign in to comment.