From ed42d5dbdc6bec29230830897027539249a7e1cf Mon Sep 17 00:00:00 2001 From: Nikolas Date: Sun, 31 Aug 2025 16:57:11 +0200 Subject: [PATCH] Cleanup embed paths for emsdk --- project_setup.ps1 | 7 +------ project_setup.sh | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/project_setup.ps1 b/project_setup.ps1 index 99ee88f..2df5f80 100644 --- a/project_setup.ps1 +++ b/project_setup.ps1 @@ -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); diff --git a/project_setup.sh b/project_setup.sh index 8378abd..a4b3007 100755 --- a/project_setup.sh +++ b/project_setup.sh @@ -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);