mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Install cli to /opt/boxen if it exists
This commit is contained in:
@@ -40,7 +40,11 @@ window.setUpEnvironment = ->
|
||||
|
||||
# This method is only called when opening a real application window
|
||||
window.startup = ->
|
||||
installAtomCommand('/opt/github/bin/atom')
|
||||
if fs.isDirectory('/opt/boxen')
|
||||
installAtomCommand('/opt/boxen/bin/atom')
|
||||
else
|
||||
installAtomCommand('/opt/github/bin/atom')
|
||||
|
||||
handleWindowEvents()
|
||||
config.load()
|
||||
atom.loadTextPackage()
|
||||
|
||||
Reference in New Issue
Block a user