[bitcoin/bitcoin] macOS: Disable AppNap (#12783)

If they changed api then code won’t even start
`if ([processInfo respondsToSelector:@selector(beginActivityWithOptions:reason:)]) {`

View post on imgur.com

> it would be nice to disable app nap only during sync

Agree, but i can’t find any signal in src/qt about “sync/initial sync” state changed.
Only: [BlockTipChanged](https://github.com/bitcoin/bitcoin/blob/master/src/qt/clientmodel.cpp#L221) and [NotifyNetworkActiveChanged](https://github.com/bitcoin/bitcoin/blob/master/src/qt/clientmodel.cpp#L203) doesn’t seem right.

This post was last modified on July 6, 2018, 2:46 pm