From c84323266d56bb1463f7a9850fe31d5a1a3aec59 Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Tue, 14 Jul 2026 13:49:36 +0100 Subject: [PATCH] [tools] Support wine for running windows programs --- tools/platforms/WindowsPlatform.hx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/platforms/WindowsPlatform.hx b/tools/platforms/WindowsPlatform.hx index 7a47a9f9a4..841d8bb868 100644 --- a/tools/platforms/WindowsPlatform.hx +++ b/tools/platforms/WindowsPlatform.hx @@ -938,6 +938,11 @@ class WindowsPlatform extends PlatformTarget arguments = arguments.concat(["-livereload"]); System.runCommand(applicationDirectory, Path.withoutDirectory(executablePath), arguments); } + else + { + arguments = [Path.withoutDirectory(executablePath)].concat(arguments.concat(["-livereload"])); + System.runCommand(applicationDirectory, "wine", arguments); + } } public override function update():Void