Cleanup embed paths for emsdk

This commit is contained in:
Nikolas 2025-08-31 16:57:11 +02:00
parent c5d9cf405d
commit ed42d5dbdc
No known key found for this signature in database
GPG Key ID: E95F679E3CDD9784
2 changed files with 2 additions and 12 deletions

View File

@ -58,13 +58,8 @@ pub fn build(b: *std.Build) !void {
.flags = emcc_flags,
.settings = emcc_settings,
.shell_file_path = emsdk.shell(raylib_dep.builder),
.embed_paths = &.{
.{
.src_path = b.pathJoin(&.{ "resources" }),
.virtual_path = "resources",
},
},
.install_dir = install_dir,
.embed_paths = &.{.{ .src_path = "resources/" }},
});
b.getInstallStep().dependOn(emcc_step);

View File

@ -55,13 +55,8 @@ pub fn build(b: *std.Build) !void {
.flags = emcc_flags,
.settings = emcc_settings,
.shell_file_path = emsdk.shell(raylib_dep.builder),
.embed_paths = &.{
.{
.src_path = b.pathJoin(&.{ "resources" }),
.virtual_path = "resources",
},
},
.install_dir = install_dir,
.embed_paths = &.{.{ .src_path = "resources/" }},
});
b.getInstallStep().dependOn(emcc_step);