Atom中手动安装activate-power-mode
插件下载地址:
https://github.com/JoelBesada/activate-power-mode/tree/master
D:\RE\nodejs\activate-power-mode-master>apm install
gyp info it worked if it ends with ok
gyp info using node-gyp@2.0.2
gyp info using node@0.10.40 | win32 | ia32
gyp http GET https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
gyp WARN install got an error, rolling back install
gyp
D:\RE\nodejs\activate-power-mode-master>npm install
lodash.random@3.1.2 node_modules\lodash.random
lodash.throttle@3.0.4 node_modules\lodash.throttle
└── lodash.debounce@3.1.1 (lodash._getnative@3.9.1)
D:\RE\nodejs\activate-power-mode-master>apm install
gyp info it worked if it ends with ok
gyp info using node-gyp@2.0.2
gyp info using node@0.10.40 | win32 | ia32
gyp http GET https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
gyp http 200 https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
gyp http GET https://atom.io/download/atom-shell/v0.34.5/SHASUMS256.txt
gyp http GET https://atom.io/download/atom-shell/v0.34.5/node.lib
gyp http GET https://atom.io/download/atom-shell/v0.34.5/x64/node.lib
gyp http 200 https://atom.io/download/atom-shell/v0.34.5/node.lib
gyp http 200 https://atom.io/download/atom-shell/v0.34.5/x64/node.lib
gyp http 404 https://atom.io/download/atom-shell/v0.34.5/SHASUMS256.txt
gyp WARN install got an error, rolling back install
gyp
D:\RE\nodejs\activate-power-mode-master>npm install
我又装了一遍,突然好了
D:\RE\nodejs\activate-power-mode-master>apm install
Installing modules done
D:\RE\nodejs\activate-power-mode-master>
把文件拷贝到:
~\.atom\packages 目录下
我改一下文件夹名称activate-power-mode-master --> activate-power-mode
进入该目录~/.atom/packages/activate-power-mode/
我又装了一遍
npm install
apm install
npm link
npm ls
apm ls
看到如下结果:
~\.atom\packages (1)
└── activate-power-mode@0.4.1
应该没问题了
打开atom软件
Ctrl+Shift+P
在软件的命令行中输入window:Reload
然后使用Ctrl+Alt+O(字母O不是数字0) 激活这个特效(关闭也用这个快捷键,如果使用该快捷键只能打开文件夹选择框,说明没有安装好。)
本文详细介绍如何在Atom编辑器中手动安装并配置activate-power-mode插件,包括下载源码、使用npm及apm安装依赖、调整文件夹名称及路径等步骤。
2421

被折叠的 条评论
为什么被折叠?



