Skip to content

Commit

Permalink
fix: pack.js
Browse files Browse the repository at this point in the history
  • Loading branch information
odorajbotoj committed Jun 25, 2024
1 parent 604b380 commit 7d0bddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fs.mkdirSync(`build/${NAME}/`, { recursive: true }, (err) => { if (err) throw er
// copy files
fs.cpSync(`behavior_pack/manifest.json`, `build/${NAME}/manifest.json`);
fs.cpSync(`behavior_pack/pack_icon.png`, `build/${NAME}/pack_icon.png`);
fs.cpSync(`src_out/`, `build/${NAME}/scripts/`, { recursive: true });
fs.cpSync(`src_out/`, `build/${NAME}/`, { recursive: true });

// archive
const output = fs.createWriteStream(`build/${NAME}-bp.mcpack`);
Expand Down

0 comments on commit 7d0bddf

Please sign in to comment.