Mac install Activate-power-mode AtomTags: atommac2015-12-02 14:53 308 People read Comments (0) favorite reports Classification:git (2)
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Let's not talk nonsense.
Recently by this atom's brush screen, so I also tried to try, my operating system is Mac OS X El Caption, version 10.11.1, stating some of the problems encountered in this process.
- Install Atom. The first step of course is to install atom, attached to the Mac version of the Atom official website, click Install Package installation.
- Download this plugin, attached to the current 0.3.2 version, get a zip file Activate-power-mode-0.3.2.zip
- Place the zip file under the Atom's installation path
In terminal input CP Activate-power-mode-0.3.2.zip ~/.atom/packages
Unzip the file unzip Activate-power-mode-0.3.2.zip, you can see the activate-power-mode-0.3.2 folder in the current directory
- into the plugin directory CD activate-power-mode-0.3.2, there will be several files, the need for atom and APM instructions, not configured to open the Atom program first, click on the menu bar in the Atom drop-down list, select Install Shell Commands, you will be prompted as follows, click Ok,atom and the APM command installation is complete.
Execute the Install plugin directive under the activate-power-mode-0.3.2 directory
APM Install, installation successful.
In the Atom program, the shortcut key to open Activate-power-mode is Control+alt + O, or Activate-power-mode in the Packages drop-down list in the menu bar, click Toggle.
- The result is not as simple as I thought, and error, sometime bar, the right side will be the red warning bullet box, prompted cannot find module ' Lodash.throttle ', click on the frame of the amount of view issue, this issue has been raised, Attach discussion address cannot find module ' lodash.throttle discussion
- After reading the discussion, you know you need to rely on a lodash.throttle file to execute the instructions in the activate-power-mode-0.3.2 directory NPM install Lodash.throttle, found that NPM directive does not exist, so to configure the NPM environment, NPM is the node Package manager abbreviation, search NPM can not find the desired results, node Package Manager is able to search for valid content.
- Will find the spear point to the node. js file, attached node. js Download, the file does not hit, follow the prompts to install, he will install node. js and NPM on the machine, after the installation can execute NPM instructions
- Repeat 8th of the operation, the implementation of the instructions NPM install Lodash.throttle, the prompt, indicating that the installation is successful, the following Open Atom program, turn on the state of vibration, enjoy the shaking of the screen, I think if you can add sound, the effect is more praise
- Previous fix ScrollView nested listview problem
Mac Install Activate-power-mode Atom