summaryrefslogtreecommitdiff
path: root/scripts/run_win.sh
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-31 13:57:51 +0100
committerskal <pascal.massimino@gmail.com>2026-01-31 13:57:51 +0100
commite3daca37aa134a6885c8ae5c508c3d7f7bfc600a (patch)
tree69578c5e3376603219bc341e8975e289cede9bdd /scripts/run_win.sh
parent3af9f70bec1f50c980288e2213035693f4b737ce (diff)
Add Windows cross-compilation support (MinGW) and emulation (Wine)
Diffstat (limited to 'scripts/run_win.sh')
-rwxr-xr-xscripts/run_win.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/run_win.sh b/scripts/run_win.sh
new file mode 100755
index 0000000..853a985
--- /dev/null
+++ b/scripts/run_win.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+if [ ! -f build_win/demo64k.exe ]; then
+ echo "Error: build_win/demo64k.exe not found. Run scripts/build_win.sh first."
+ exit 1
+fi
+
+echo "Running with Wine..."
+# Wine might output a lot of debug info, but for now we let it flow.
+wine build_win/demo64k.exe "$@"