Automating Disabling App Nap for Specific Apps

New Contributor III

I'm trying to disable App Nap for one specific app on all of my clients. I tried using defaults and plistbuddy to accomplish this but couldn't figure out how to format things correctly or how to generate the hex value that is entered in the data portion of the array. I'm beginning to think scripting this may not be a viable option.

I know about the plist that can be created to completely disable app napping but we would like to leave it turned on for all but this 1 app.

Any ideas?