mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
getUserAgent()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user