mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove unused methods
This commit is contained in:
@@ -56,20 +56,6 @@ installContextMenu = (callback) ->
|
||||
installMenu directoryKeyPath, ->
|
||||
installMenu(backgroundKeyPath, callback)
|
||||
|
||||
installFileMenu = (callback) ->
|
||||
args = [fileKeyPath, '/ve', '/d', 'Open with Atom', '/f']
|
||||
spawnReg args, (error) ->
|
||||
return callback(error) if error?
|
||||
|
||||
args = [fileKeyPath, '/v', 'Icon', '/d', process.execPath, '/f']
|
||||
spawnReg args, (error) ->
|
||||
return callback(error) if error?
|
||||
|
||||
args = ["#{fileKeyPath}\\command", '/ve', '/d', process.execPath, '/f']
|
||||
spawnReg(args, callback)
|
||||
|
||||
installFileMenu(callback)
|
||||
|
||||
# Handle squirrel events denoted by --squirrel-* command line arguments.
|
||||
exports.handleStartupEvent = ->
|
||||
switch process.argv[1]
|
||||
|
||||
Reference in New Issue
Block a user