Skip to content

aspenmayer/Amphetamine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello 👋🏼

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 that addresses the issue.

I'm truely sorry for this, but Apple provides no other way. Apple thinks they know better than you do, and won't allow you to permit Amphetamine to directly install the script and configuration file needed to avoid issues with Closed-Display Mode. To get things to "just work" nowadays, you have to do it yourself it seems. 🔨💪🏼


How To Install Power Protect

  1. Download the Power Protect script and install it in the following location:
    /Users/YourUserAccount/Library/Application Scripts/com.if.Amphetamine/

  2. Download the Power Protect configuration file and install it in the following location:
    /private/etc/sudoers.d/

  3. Open Terminal.app from /Applications/Utilities/, then copy & paste the following command into a Terminal window:

    defaults write com.if.Amphetamine 'Enable Power Protect Install' -bool TRUE

    then press the Return key to execute the command

About

Additional Amphetamine Resources

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • AppleScript 100.0%