macos: update minimum deployment target to macOS 12

This commit is contained in:
Mitchell Hashimoto
2023-02-22 14:41:12 -08:00
parent 01e8eb89d4
commit dc598a3dd7
2 changed files with 2 additions and 1 deletions

View File

@ -311,6 +311,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/../Frameworks", "@executable_path/../Frameworks",
); );
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 0.1; MARKETING_VERSION = 0.1;
"OTHER_LDFLAGS[arch=*]" = "-lstdc++"; "OTHER_LDFLAGS[arch=*]" = "-lstdc++";
PRODUCT_BUNDLE_IDENTIFIER = com.mitchellh.ghostty; PRODUCT_BUNDLE_IDENTIFIER = com.mitchellh.ghostty;
@ -344,6 +345,7 @@
"$(inherited)", "$(inherited)",
"@executable_path/../Frameworks", "@executable_path/../Frameworks",
); );
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 0.1; MARKETING_VERSION = 0.1;
"OTHER_LDFLAGS[arch=*]" = "-lstdc++"; "OTHER_LDFLAGS[arch=*]" = "-lstdc++";
PRODUCT_BUNDLE_IDENTIFIER = com.mitchellh.ghostty; PRODUCT_BUNDLE_IDENTIFIER = com.mitchellh.ghostty;

View File

@ -5,7 +5,6 @@ struct TerminalView: View {
let app: ghostty_app_t let app: ghostty_app_t
@FocusState private var surfaceFocus: Bool @FocusState private var surfaceFocus: Bool
@Environment(\.isKeyWindow) private var isKeyWindow: Bool @Environment(\.isKeyWindow) private var isKeyWindow: Bool
@Environment(\.openWindow) private var openWindow
@State private var title: String = "Ghostty" @State private var title: String = "Ghostty"
// This is true if the terminal is considered "focused". The terminal is focused if // This is true if the terminal is considered "focused". The terminal is focused if