Prevent App Nap
-
spacebuddy
- Enthusiast

- Posts: 364
- Joined: Thu Jul 02, 2009 5:42 am
Prevent App Nap
None of my Apps are getting the "Prevent App Nap" checkbox when you select Get Info on the app.
I am using x64 with the latest version of PureBasic 5.30
I am using x64 with the latest version of PureBasic 5.30
Re: Prevent App Nap
Probably this is more of a feature request! In all cases +1, this is really an important 'feature'
Re: Prevent App Nap
Just curious, does your app have a window?
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
spacebuddy
- Enthusiast

- Posts: 364
- Joined: Thu Jul 02, 2009 5:42 am
Re: Prevent App Nap
Yes, it has a Window 
-
spacebuddy
- Enthusiast

- Posts: 364
- Joined: Thu Jul 02, 2009 5:42 am
Re: Prevent App Nap
There should be 3 options in Get Info Panel
"Open in 32-bit mode" if your app is 64-bit
"Prevent App Nap"
"Locked"
I only get Locked.
"Open in 32-bit mode" if your app is 64-bit
"Prevent App Nap"
"Locked"
I only get Locked.
Re: Prevent App Nap
The first option is only if you create a universal binary app.
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
spacebuddy
- Enthusiast

- Posts: 364
- Joined: Thu Jul 02, 2009 5:42 am
Re: Prevent App Nap
After doing a bit of reading, the "Prevent App Nap" will not show up if the Application is Native.
I created a 64bit app in Xcode and the "Prevent App Nap" was not visible. This was a true native app. I guess PB now creates true native apps.
Anyone have more information on this?
I created a 64bit app in Xcode and the "Prevent App Nap" was not visible. This was a true native app. I guess PB now creates true native apps.
Anyone have more information on this?
Re: Prevent App Nap
What do you mean by "native app"? I checked some of my installed programs,
and they all have the app nap checkbox.
Even PB IDE itself has the checkbox. Could it be that this is only available
for signed apps? Otherwise I don't see a difference (to PB IDE for example).
Other apps written with PB:
- Sprite Monkey (signed app) has app nap checkbox
- Mollusk (not signed) does not have app nap checkbox
and they all have the app nap checkbox.
Even PB IDE itself has the checkbox. Could it be that this is only available
for signed apps? Otherwise I don't see a difference (to PB IDE for example).
Other apps written with PB:
- Sprite Monkey (signed app) has app nap checkbox
- Mollusk (not signed) does not have app nap checkbox
-
spacebuddy
- Enthusiast

- Posts: 364
- Joined: Thu Jul 02, 2009 5:42 am
Re: Prevent App Nap
Danilo,
Very strange, how come some PB apps have the "Prevent App Nap" and some do not?
Any Application I create in PB does not have it, even the examples I try with PB.
Can you try to create an 64bit application with Windows then check if the App Nap is visible.
I use Maverick OS for my testing.
Very strange, how come some PB apps have the "Prevent App Nap" and some do not?
Any Application I create in PB does not have it, even the examples I try with PB.
Can you try to create an 64bit application with Windows then check if the App Nap is visible.
I use Maverick OS for my testing.
Re: Prevent App Nap
I think Danilo is trying to find out if you are signing your apps or not? I just compiled Sprite Monkey without signing it and there is no app nap option. Must be for signed apps, like Danilo stated. That's interesting and kind of odd. Thanks Danilo. 
www.posemotion.com
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef
Even the vine knows it surroundings but the man with eyes does not.
-
spacebuddy
- Enthusiast

- Posts: 364
- Joined: Thu Jul 02, 2009 5:42 am
Re: Prevent App Nap
No, I am not signing my app.
Maybe have to be signed
Maybe have to be signed
