mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-04 01:32:31 +01:00
Qt: remove macOS launch-at-startup option when compiled with > macOS 10.11
This commit is contained in:
@@ -683,7 +683,7 @@ bool SetStartOnSystemStartup(bool fAutoStart)
|
||||
}
|
||||
|
||||
|
||||
#elif defined(Q_OS_MAC)
|
||||
#elif defined(Q_OS_MAC) && defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED <= 101100
|
||||
// based on: https://github.com/Mozketo/LaunchAtLoginController/blob/master/LaunchAtLoginController.m
|
||||
|
||||
LSSharedFileListItemRef findStartupItemInList(LSSharedFileListRef list, CFURLRef findUrl);
|
||||
|
||||
Reference in New Issue
Block a user