mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add atom.getVersion
This commit is contained in:
@@ -241,6 +241,9 @@ class Atom
|
||||
isFullScreen: ->
|
||||
@getCurrentWindow().isFullScreen()
|
||||
|
||||
getVersion: ->
|
||||
app.getVersion()
|
||||
|
||||
getHomeDirPath: ->
|
||||
process.env[if process.platform is 'win32' then 'USERPROFILE' else 'HOME']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user