Skip to content

Commit

Permalink
WebAssemblyPlatform: missed -json flag here in #1882
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Jan 10, 2025
1 parent 03ea041 commit 8bfc0be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/platforms/WebAssemblyPlatform.hx
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,11 @@ class WebAssemblyPlatform extends PlatformTarget
project.haxeflags.push("-xml " + targetDirectory + "/types.xml");
}

if (project.targetFlags.exists("json"))
{
project.haxeflags.push("-json " + targetDirectory + "/types.json");
}

var context = project.templateContext;

context.WIN_FLASHBACKGROUND = StringTools.hex(project.window.background, 6);
Expand Down

0 comments on commit 8bfc0be

Please sign in to comment.