mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Add atom.getVersion(callback)
This commit is contained in:
@@ -186,3 +186,6 @@ _.extend atom,
|
||||
require userInitScriptPath if fs.isFile(userInitScriptPath)
|
||||
catch error
|
||||
console.error "Failed to load `#{userInitScriptPath}`", error.stack, error
|
||||
|
||||
getVersion: (callback) ->
|
||||
@sendMessageToBrowserProcess('getVersion', null, callback)
|
||||
|
||||
Reference in New Issue
Block a user