mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
parent
3e56822968
commit
57d020ff65
@ -50,8 +50,9 @@ start = ->
|
||||
app.removeListener 'open-file', addPathToOpen
|
||||
app.removeListener 'open-url', addUrlToOpen
|
||||
|
||||
cwd = args.executedFrom?.toString() or process.cwd()
|
||||
args.pathsToOpen = args.pathsToOpen.map (pathToOpen) ->
|
||||
path.resolve(args.executedFrom ? process.cwd(), pathToOpen.toString())
|
||||
path.resolve(cwd, pathToOpen.toString())
|
||||
|
||||
setupCoffeeScript()
|
||||
if args.devMode
|
||||
|
Loading…
Reference in New Issue
Block a user