Support OS X Mountain Lion "power assertions"

dserodio's picture
Description: 
The lastest OS X release (10.8), called Mountain Lion, has lots of changes in power management, and the result is that my Mac sleeps when I'm downloading stuff in SoulseekQT, interrupting my transfers. See this blog post for a short overview of Mountain Lion's power management and power assertions: http://useyourloaf.com/blog/2012/08/09/keeping-mountain-lion-awake.html
0
Your rating: None
1
Average: 1 (1 vote)

Comments

dserodio's picture

A cheap way to implement this is to wrap the call to start Soulseek with the "caffeinate" command-line utility. I've been starting Soulseek like this:

caffeinate /Applications/SoulseekQt.app/Contents/MacOS/SoulseekQt