1.2.1 • Published 7 years ago
@garygrossgarten/wach v1.2.1
wach
prevent your mac from going to sleep when closing the lid. 👀.
This is a simple cli tool to prevent your MacBook from going to sleep when closing the lid. Use it instead of running tools that require a Kernel Extension.
Tested on macOS Mojave 10.14.2

Installation
npm install -g @garygrossgarten/wachUsage example
Enable sleep prevention ☕
wach enableIf you want to disable sleep prevention again 🛏
wach disableTo get a report of all the current Power Management settings 🔋
wach reportDevelopment setup
- Clone the repository and cd into the directory
- run
npm install - run
npm run build - run the application by using
node .ornpm run start
License
Distributed under the MIT license. See LICENSE for more information.