From 39857ff7179260d0187eea586e0ce699ebd7f4b8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 8 Feb 2022 11:30:39 -0800 Subject: [PATCH] macOS: remove unused Info.plist This was confusing - the file in packaging macos hasn't been used since we switched to building with cmake something like seven years ago. Also add missing keys to the actual Info.plist skeleton. Signed-off-by: Dirk Hohndel --- cmake/Modules/MacOSXBundleInfo.plist.in | 4 ++++ packaging/macosx/Info.plist.in | 23 ----------------------- 2 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 packaging/macosx/Info.plist.in diff --git a/cmake/Modules/MacOSXBundleInfo.plist.in b/cmake/Modules/MacOSXBundleInfo.plist.in index 684ad7908..e6e7daaf6 100644 --- a/cmake/Modules/MacOSXBundleInfo.plist.in +++ b/cmake/Modules/MacOSXBundleInfo.plist.in @@ -34,5 +34,9 @@ ${MACOSX_BUNDLE_COPYRIGHT} NSHighResolutionCapable + NSSupportsAutomaticGraphicsSwitching + + NSBluetoothAlwaysUsageDescription + Subsurface needs access to your Bluetooth peripherals in order to download dive information directly from BLE enabled dive computers. diff --git a/packaging/macosx/Info.plist.in b/packaging/macosx/Info.plist.in deleted file mode 100644 index 9d2e6d43f..000000000 --- a/packaging/macosx/Info.plist.in +++ /dev/null @@ -1,23 +0,0 @@ - - - - - NSPrincipalClass - NSApplication - CFBundleIconFile - Subsurface.icns - CFBundleName - Subsurface - CFBundlePackageType - APPL - CFBundleExecutable - subsurface - CFBundleIdentifier - org.hohndel.subsurface - CFBundleInfoDictionaryVersion - 6.0 - CFBundleVersion - @SHORT_VERSION@ - NSSupportsAutomaticGraphicsSwitching - -