mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
@@ -154,9 +154,9 @@ resolveModulePath = (relativePath, parentModule) ->
|
||||
|
||||
registerBuiltins = (devMode) ->
|
||||
if devMode
|
||||
cache.builtins.atom = path.join(cache.resourcePath, 'exports', 'atom.coffee')
|
||||
else
|
||||
cache.builtins.atom = path.join(cache.resourcePath, 'exports', 'atom.js')
|
||||
atomCoffeePath = path.join(cache.resourcePath, 'exports', 'atom.coffee')
|
||||
cache.builtins.atom = atomCoffeePath if fs.isFileSync(atomCoffeePath)
|
||||
cache.builtins.atom ?= path.join(cache.resourcePath, 'exports', 'atom.js')
|
||||
|
||||
atomShellRoot = path.join(process.resourcesPath, 'atom')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user