diff --git a/compile-linux.hxml b/compile-linux.hxml index bcea82ed..cbd250fb 100644 --- a/compile-linux.hxml +++ b/compile-linux.hxml @@ -1,7 +1,11 @@ -cp src -lib heaps -lib hlsdl +-lib colyseus-websocket +-lib datachannel -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 1491d25a..aca4a6ca 100644 --- a/src/Util.hx +++ b/src/Util.hx @@ -525,6 +525,8 @@ class Util { #if hl #if MACOS_BUNDLE return "MacOS"; + #elseif linux + return "Linux"; #else return "Windows"; #end