mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Use "shell.openExternal(url)" to open links in external browsers.
This commit is contained in:
@@ -125,7 +125,7 @@ window.handleEvents = ->
|
||||
return if location[0] is '#'
|
||||
|
||||
if location.indexOf('https://') is 0 or location.indexOf('http://') is 0
|
||||
require('child_process').spawn('open', [location])
|
||||
require('shell').openExternal(location)
|
||||
false
|
||||
|
||||
window.handleDragDrop = ->
|
||||
|
||||
Reference in New Issue
Block a user