mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 00:36:07 +03:00
apprt/glfw: warn that the macos version has bugs
This commit is contained in:
@ -39,6 +39,13 @@ pub const App = struct {
|
||||
pub const Options = struct {};
|
||||
|
||||
pub fn init(core_app: *CoreApp, _: Options) !App {
|
||||
if (comptime builtin.target.isDarwin()) {
|
||||
log.warn("WARNING WARNING WARNING: GLFW ON MAC HAS BUGS.", .{});
|
||||
log.warn("You should use the AppKit-based app instead. The official download", .{});
|
||||
log.warn("is properly built and available from GitHub. If you're building from", .{});
|
||||
log.warn("source, see the README for details on how to build the AppKit app.", .{});
|
||||
}
|
||||
|
||||
if (!glfw.init(.{})) {
|
||||
if (glfw.getError()) |err| {
|
||||
log.err("error initializing GLFW err={} msg={s}", .{
|
||||
|
Reference in New Issue
Block a user