x74353 / Amphetamine

Additional Amphetamine Resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:AppleScript 100.0%