Resolve bootstrap script to make it absolute

This commit is contained in:
Kevin Sawicki
2013-09-18 09:08:36 -07:00
parent 73fab20d7e
commit cc4477185f

View File

@@ -224,7 +224,7 @@ class AtomApplication
openedWindow = existingWindow
openedWindow.openPath(pathToOpen, initialLine)
else
bootstrapScript = 'window-bootstrap'
bootstrapScript = require.resolve('./window-bootstrap')
if devMode
resourcePath = global.devResourcePath
else