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:
committed by
Joshua Granick
parent
50921faae6
commit
e2ae97d6cc
@@ -3,7 +3,6 @@
|
|||||||
--next
|
--next
|
||||||
-js ::OUTPUT_FILE::
|
-js ::OUTPUT_FILE::
|
||||||
-cp ::OUTPUT_DIR::/haxe
|
-cp ::OUTPUT_DIR::/haxe
|
||||||
-lib electron
|
|
||||||
-main ApplicationMain ::HAXE_FLAGS::
|
-main ApplicationMain ::HAXE_FLAGS::
|
||||||
|
|
||||||
-D html5
|
-D html5
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
--next
|
--next
|
||||||
-js ::OUTPUT_FILE::
|
-js ::OUTPUT_FILE::
|
||||||
-cp ::OUTPUT_DIR::/haxe
|
-cp ::OUTPUT_DIR::/haxe
|
||||||
-lib electron
|
|
||||||
-main ApplicationMain ::HAXE_FLAGS::
|
-main ApplicationMain ::HAXE_FLAGS::
|
||||||
|
|
||||||
-D html5
|
-D html5
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
--next
|
--next
|
||||||
-js ::OUTPUT_FILE::
|
-js ::OUTPUT_FILE::
|
||||||
-cp ::OUTPUT_DIR::/haxe
|
-cp ::OUTPUT_DIR::/haxe
|
||||||
-lib electron
|
|
||||||
-main ApplicationMain ::HAXE_FLAGS::
|
-main ApplicationMain ::HAXE_FLAGS::
|
||||||
|
|
||||||
-D html5
|
-D html5
|
||||||
|
|||||||
Reference in New Issue
Block a user