feat: support macOS 10.11+ (closes #27)
This commit is contained in:
1 parent
2640258e4c
commit
d0face21ad
2 files changed
+3
-1
No files matched your search
@@ -270,6 +270,7 @@
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
INFOPLIST_FILE = "alt-tab-macos/Info.plist";
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.lwouis.alt-tab-macos";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 4.2;
|
||||
@@ -284,6 +285,7 @@
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
INFOPLIST_FILE = "alt-tab-macos/Info.plist";
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.lwouis.alt-tab-macos";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 4.2;
|
||||
|
||||
@@ -79,7 +79,7 @@ class Preferences: Decodable {
|
||||
// NSEvent.ModifierFlags (e.g. control=262144, command=1048576, shift=131072, option=524288)
|
||||
static let metaModifierFlag = NSEvent.ModifierFlags(rawValue: decoded?.metaModifierFlagInt ?? 262144)
|
||||
// color for the currently selected cell
|
||||
static let highlightColor = NSColor(named: decoded?.highlightColorString ?? "white") ?? .white
|
||||
static let highlightColor = NSColor.white
|
||||
// derived properties
|
||||
static let font: NSFont = .systemFont(ofSize: Preferences.fontHeight)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user