From b209c7befe12b28948fa3b0a60f1e56f8005f1b5 Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Mon, 15 Jun 2026 13:26:37 +0100 Subject: [PATCH] linux define --- compile-linux.hxml | 1 + src/Util.hx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/compile-linux.hxml b/compile-linux.hxml index 3d082e48..cbd250fb 100644 --- a/compile-linux.hxml +++ b/compile-linux.hxml @@ -6,5 +6,6 @@ -D highDPI -D flow_border -D analyzer-optimize +-D linux -hl native/marblegame.c --main Main diff --git a/src/Util.hx b/src/Util.hx index 1df08c73..6d27f88e 100644 --- a/src/Util.hx +++ b/src/Util.hx @@ -553,6 +553,8 @@ class Util { #if hl #if MACOS_BUNDLE return "MacOS"; + #elseif linux + return "Linux"; #else return "Windows"; #end