mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
gtk: work around lack of display in when validating builder files
This commit is contained in:
@ -21,6 +21,11 @@ pub fn main() !void {
|
||||
};
|
||||
defer alloc.free(filename);
|
||||
|
||||
if (c.gtk_init_check() == 0) {
|
||||
std.debug.print("skipping builder check because we can't connect to display!\n", .{});
|
||||
return;
|
||||
}
|
||||
|
||||
if (comptime build_options.adwaita) {
|
||||
c.adw_init();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user