在 sublime text 上添加 Package Control

 

https://packagecontrol.io/installation

  1.   打开 View > Show Consolemenu
  2.   粘贴如下文本,回车
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

  3.      注意: 连接过程需要FQ. 

     可以临时访问 http://www.uuzhuhai.com/ 

posted @ 2016-07-09 11:00  peng2015  阅读(200)  评论(0编辑  收藏  举报