Add atom.getVersion

This commit is contained in:
probablycorey 2013-11-13 13:42:15 -08:00
parent e330b8940a
commit 967b022fa6

View File

@ -241,6 +241,9 @@ class Atom
isFullScreen: ->
@getCurrentWindow().isFullScreen()
getVersion: ->
app.getVersion()
getHomeDirPath: ->
process.env[if process.platform is 'win32' then 'USERPROFILE' else 'HOME']