hahah I actually didn't know that. If it was a violation, would've been cool to get a cease and desist for Modafinil of all things :P
Even the two Steve's and their Apple company had this issue (as did record companies etc. etc.). Try searching for python now and 'nary a snake to be mentioned.
To be fair I'm equally pissed off that a bunch of different pharmaceutical companies re-brand identical molecules with different names for each company and sometimes for different countries even within a single company.
Sometimes all this naming cleverness or arbitrariness just makes the world more confusing for everyone.
Hopefully this niche macOS utility doesn't start ranking above search results for the actual drug Modafinil :)
Exactly what motivated me hahah
Yeah this is basically just a convenient wrapper around that command, with some extra machinery to turn off the display when the lid closes.
Allow display sleep: on
Allow system sleep when display is closed: off
It did prevent sleep when you close the lid, but it didn't turn off the display off. I really wanted the display to turn off like normal (while still preventing sleep), which is what Modafinil does.
Now I made a couple posts on Reddit and I've gotten reports that this may be a bug because apparently it _is_ supposed to turn off the display when you close the lid with those settings. I've also had someone say Amphetamine indeed doesn't support this out of the box because it violates App Store policies, and so you need Amphetamine Enhancer. Not sure what the actual truth is.