diff --git a/src/atom.coffee b/src/atom.coffee index be1b3af49..6fb271322 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -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