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

If they changed api then code won’t even start
`if ([processInfo respondsToSelector:@selector(beginActivityWithOptions:reason:)]) {`
https://i.imgur.com/g3uKu0g.png

> 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.

Добавить комментарий