Load user configuration files

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-08-28 16:51:29 -07:00
parent 63b52e761d
commit 2515a45480

View File

@@ -1,2 +1,5 @@
atom.open = (args...) ->
@sendMessageToBrowserProcess('open', args)
fs = require('fs')
atom.configDirPath = fs.absolute("~/.atom")
atom.configFilePath = fs.join(atom.configDirPath, "atom.coffee")
atom.open = (args...) -> @sendMessageToBrowserProcess('open', args)