mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-25 23:54:23 +03:00
Add atom.getVersion
This commit is contained in:
parent
e330b8940a
commit
967b022fa6
@ -241,6 +241,9 @@ class Atom
|
||||
isFullScreen: ->
|
||||
@getCurrentWindow().isFullScreen()
|
||||
|
||||
getVersion: ->
|
||||
app.getVersion()
|
||||
|
||||
getHomeDirPath: ->
|
||||
process.env[if process.platform is 'win32' then 'USERPROFILE' else 'HOME']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user