getUserAgent()

This commit is contained in:
Ben Ogle
2013-12-03 15:21:53 -08:00
parent e6e72d99f3
commit d36c4f0ec9

View File

@@ -352,6 +352,10 @@ class Atom
getVersion: ->
app.getVersion()
# Public: Gets the user agent of the atom instance.
getUserAgent: ->
"GitHubAtom/#{app.getVersion()}"
# Public: Get the directory path to Atom's configuration area.
#
# Returns the absolute path to ~/.atom