0.16.12: standard project schematics (Create draws holograms from schematics/)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Fulldroper
2026-10-15 08:13:54 +03:00
co-authored by Claude Opus 5.5
parent eece418627
commit 5a345c2a52
9 changed files with 21 additions and 7 deletions
+2
View File
@@ -73,6 +73,8 @@ fs.rmSync(stage, { recursive: true, force: true });
fs.mkdirSync(path.join(stage, 'overrides'), { recursive: true });
fs.writeFileSync(path.join(stage, 'modrinth.index.json'), JSON.stringify(index, null, 2));
fs.cpSync(path.join(root, 'config'), path.join(stage, 'overrides', 'config'), { recursive: true });
// schematics/: the state's standard projects — Create draws a project's hologram from here (projects in the shop)
if (fs.existsSync(path.join(root, 'schematics'))) fs.cpSync(path.join(root, 'schematics'), path.join(stage, 'overrides', 'schematics'), { recursive: true });
// kubejs/assets: always-on client resources (CC terminal font with Cyrillic)
if (fs.existsSync(path.join(root, 'kubejs'))) fs.cpSync(path.join(root, 'kubejs'), path.join(stage, 'overrides', 'kubejs'), { recursive: true });
// jars that live in the pack itself (our createrp_client mod) are not on Modrinth: they go in as overrides