app: only create first window in exe mode

This commit is contained in:
Mitchell Hashimoto
2023-02-15 21:53:14 -08:00
parent 26182611c6
commit ba8f142770
3 changed files with 17 additions and 8 deletions

View File

@@ -30,6 +30,7 @@ pub const Artifact = enum {
return switch (builtin.output_mode) {
.Exe => .exe,
.Obj => .lib,
else => unreachable,
};
}
};