Don't use the hxelectron library when building ApplicationMain. That sets the 'nodejs' compiler flag, which emits improper JavaScript when running in the Electron window.

This commit is contained in:
Lewis Sobotkiewicz
2019-09-05 12:48:35 -07:00
committed by Joshua Granick
parent 50921faae6
commit e2ae97d6cc
3 changed files with 3 additions and 6 deletions

View File

@@ -3,7 +3,6 @@
--next
-js ::OUTPUT_FILE::
-cp ::OUTPUT_DIR::/haxe
-lib electron
-main ApplicationMain ::HAXE_FLAGS::
-D html5
@@ -20,4 +19,4 @@
-D html
-D final
-D js-flatten
-dce full
-dce full