diff --git a/project_setup.ps1 b/project_setup.ps1 index 14da57a..99ee88f 100644 --- a/project_setup.ps1 +++ b/project_setup.ps1 @@ -60,7 +60,7 @@ pub fn build(b: *std.Build) !void { .shell_file_path = emsdk.shell(raylib_dep.builder), .embed_paths = &.{ .{ - .src_path = b.pathJoin(&.{ module_subpath, "resources" }), + .src_path = b.pathJoin(&.{ "resources" }), .virtual_path = "resources", }, }, @@ -94,8 +94,8 @@ pub fn build(b: *std.Build) !void { New-Item -Name "build.zig" -ItemType "file" -Value $BUILD_DOT_ZIG -Force -zig fetch --save git+https://github.com/Not-Nik/raylib-zig#devel -zig fetch --save git+https://github.com/emscripten-core/emsdk#4.0.9 +zig fetch --save git+https://github.com/raylib-zig/raylib-zig#devel +zig fetch --save=emsdk git+https://github.com/emscripten-core/emsdk#4.0.9 New-Item -Name "resources" -ItemType "directory" New-Item -Name "resources/placeholder.txt" -ItemType "file" -Value "" -Force diff --git a/project_setup.sh b/project_setup.sh index cb63053..8378abd 100755 --- a/project_setup.sh +++ b/project_setup.sh @@ -57,7 +57,7 @@ pub fn build(b: *std.Build) !void { .shell_file_path = emsdk.shell(raylib_dep.builder), .embed_paths = &.{ .{ - .src_path = b.pathJoin(&.{ module_subpath, "resources" }), + .src_path = b.pathJoin(&.{ "resources" }), .virtual_path = "resources", }, }, @@ -88,8 +88,8 @@ pub fn build(b: *std.Build) !void { } }' >> build.zig -zig fetch --save git+https://github.com/Not-Nik/raylib-zig#devel -zig fetch --save git+https://github.com/emscripten-core/emsdk#4.0.9 +zig fetch --save git+https://github.com/raylib-zig/raylib-zig#devel +zig fetch --save=emsdk git+https://github.com/emscripten-core/emsdk#4.0.9 mkdir resources touch resources/placeholder.txt