GithubHelp home page GithubHelp logo

aspenmayer / amphetamine-power-protect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from x74353/amphetamine-power-protect

0.0 1.0 0.0 9.04 MB

Repository for Amphetamine's Power Protect feature.

License: MIT License

SCSS 100.00%

amphetamine-power-protect's Introduction

Hello 👋🏼

View this message in your preferred language:
العربية | 简体中文 | Nederlands | Français | English | Deutsch | 日本語 | 한국어 | Português Brasileiro | Tiếng Việt

On Apple Silcon Mac laptops, Closed-Display Mode may not work as expected after connecting or disconnecting your Mac from an external power source such as a power adapter or display with power delivery. To avoid any issues, you can install a script and configuration file. Together, these files are called Power Protect.

I'm truly sorry for this, but Apple provides no other way to install these files. Apple won't allow Amphetamine to directly install the script and configuration file needed to avoid issues with Closed-Display Mode.

Note: This feature no longer requires a password or Touch ID after installing Power Protect.


How To Install Power Protect

Step One

Click here to download the Power Protect Installer disk image.
After the disk image downloads, double-click it to access the Installer:

![Disk image](/Amphetamine-Power-Protect/docs/assets/Install_DiskImage_small.png)



Then, double-click the Installer to start installation:

Installer begin

Step Two

Authenticate with Touch ID or your administrative account password:

![Touch ID prompt](/Amphetamine-Power-Protect/docs/assets/Install_TouchID_small.png)

Step Three

Install complete! 🎉

Amphetamine should now recognize that Power Protect is installed. If a Closed-Display Mode session is already in progress, end it and start a new session.

![Installer finished](/Amphetamine-Power-Protect/docs/assets/Install_End_small.png)

The Power Protect Installer places files in the following locations:

/Users/YourUserAccount/Library/Application Scripts/com.if.Amphetamine/powerProtect.scpt
/private/etc/sudoers.d/amphetamine_powerProtect

amphetamine-power-protect's People

Contributors

x74353 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.