Disable App-Nap for your application?

Dirt Nap, errr App Nap is causing issues for my long running apps on Mavericks,

Does anyone have a pointer to details on how an App can “opt-out” of App Nap servicing and how we might implement this in code or as part of the installation process?

[quote=43887:@jean-paul devulder]hi,

in terminal hit
defaults write your.application.identifier NSAppSleepDisabled -bool[/quote]
Can a sandboxed app do this on itself?

Don’t see why not - otherwise you can simply use NSUserDefaults or CFPreferences to set the value.