From 3495825a85edde53e1508ddb0d78f98c74184164 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Thu, 19 Jul 2018 19:02:00 -0700 Subject: [PATCH] Electron fix (resolve #1198) --- templates/electron/hxml/debug.hxml | 2 +- templates/electron/hxml/final.hxml | 2 +- templates/electron/hxml/release.hxml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/electron/hxml/debug.hxml b/templates/electron/hxml/debug.hxml index d0af00695..5dcb243e8 100644 --- a/templates/electron/hxml/debug.hxml +++ b/templates/electron/hxml/debug.hxml @@ -9,7 +9,7 @@ --next -js ::OUTPUT_DIR::/bin/ElectronSetup.js --main Electron ::HAXE_FLAGS:: +-main Electron -D html5 -D html diff --git a/templates/electron/hxml/final.hxml b/templates/electron/hxml/final.hxml index 5cd645dcf..f3ec9299d 100644 --- a/templates/electron/hxml/final.hxml +++ b/templates/electron/hxml/final.hxml @@ -9,7 +9,7 @@ --next -js ::OUTPUT_DIR::/bin/ElectronSetup.js --main Electron ::HAXE_FLAGS:: +-main Electron -D html5 -D html diff --git a/templates/electron/hxml/release.hxml b/templates/electron/hxml/release.hxml index 1744ced3a..39e8190b6 100644 --- a/templates/electron/hxml/release.hxml +++ b/templates/electron/hxml/release.hxml @@ -9,7 +9,7 @@ --next -js ::OUTPUT_DIR::/bin/ElectronSetup.js --main Electron ::HAXE_FLAGS:: +-main Electron -D html5 -D html \ No newline at end of file