From 967b022fa6892603a1a95fa9d5b45b88a432cbc9 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Wed, 13 Nov 2013 13:42:15 -0800 Subject: [PATCH] Add atom.getVersion --- src/atom.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/atom.coffee b/src/atom.coffee index 2849a9acc..ec7e420ea 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -241,6 +241,9 @@ class Atom isFullScreen: -> @getCurrentWindow().isFullScreen() + getVersion: -> + app.getVersion() + getHomeDirPath: -> process.env[if process.platform is 'win32' then 'USERPROFILE' else 'HOME']