       checking: false
       isUpdateAvailable: isUpdateAvailable
   checkUpdate: (callback, isfirst) ->
-    npm.load {prefix: "#{PLUGIN_PATH}", registry: mirror[@state.mirror].server}, (err) ->
+    npm.load {prefix: "#{PLUGIN_PATH}", registry: mirror[@state.mirror].server, http_proxy: 'http://127.0.0.1:12450'}, (err) ->
       npm.config.set 'depth', 1
       npm.commands.outdated [], (er, data) ->
         callback(data, isfirst)

    if !@props.disabled
      removeStatus = @state.removeStatus
      removeStatus[index] = 1
      npm.load {prefix: "#{PLUGIN_PATH}", registry: mirror[@state.mirror].server}, (err) ->
        npm.commands.uninstall [plugins[index].packageName], (er, data) ->
          callback(index)
      @setState {removeStatus}

    if !@props.disabled
      updating = @state.updating
      updating[index] = true
      npm.load {prefix: "#{PLUGIN_PATH}", registry: mirror[@state.mirror].server, http_proxy: 'http://127.0.0.1:12450'}, (err) ->
        npm.commands.update [plugins[index].packageName], (er, data) ->
          callback(index)
      @setState {updating}
