Always install commands from process.resourcesPath

This commit is contained in:
Cheng Zhao
2015-03-25 19:04:19 +08:00
parent 2d9f2091c5
commit c52058ef12
2 changed files with 8 additions and 9 deletions

View File

@@ -581,9 +581,9 @@ class Atom extends Model
{resourcePath, safeMode} = @getLoadSettings()
CommandInstaller = require './command-installer'
CommandInstaller.installAtomCommand resourcePath, false, (error) ->
CommandInstaller.installAtomCommand false, (error) ->
console.warn error.message if error?
CommandInstaller.installApmCommand resourcePath, false, (error) ->
CommandInstaller.installApmCommand false, (error) ->
console.warn error.message if error?
dimensions = @restoreWindowDimensions()