mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Add missing rootAtomFolder var
This commit is contained in:
@@ -84,6 +84,7 @@ setupAtomHome = ->
|
||||
if SquirrelUpdate.existsSync()
|
||||
atomPath = path.join(process.env.LOCALAPPDATA, 'atom').toLowerCase()
|
||||
if __dirname.toLowerCase().indexOf(atomPath) isnt 0
|
||||
rootAtomFolder = path.resolve(process.execPath, '..', '..')
|
||||
process.env.ATOM_HOME = path.join(rootAtomFolder, '.atom')
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user