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
+1 -1
View File
@@ -7,7 +7,7 @@ import crypto from 'crypto';
import { fileURLToPath } from 'url';
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
const INDEXED_DIRS = ['mods', 'config', 'defaultconfigs', 'kubejs'];
const INDEXED_DIRS = ['mods', 'config', 'defaultconfigs', 'kubejs', 'schematics'];
const sha256 = buf => crypto.createHash('sha256').update(buf).digest('hex');
// Hash what git will check out (LF), not what a Windows working copy may hold (CRLF).
const lf = buf => (buf.includes(0) ? buf : Buffer.from(buf.toString('utf8').replace(/\r\n/g, '\n'), 'utf8'));