Közzétett forrás
Letöltés forrás ZIP
CH-J Server Manager
Könyvtárak és fájlok böngészése egy adott alkalmazás kiadásához.
CH-J / Server Manager
196 fájlok
core-20261013T133631Z-faa4ab45100e
Hozzáadva: Nem rögzített dátum · Beépített:
1
"use strict";3
const crypto = require("node:crypto");4
const fs = require("node:fs");5
const path = require("node:path");7
const builtAt = new Date().toISOString();8
const compactTime = builtAt.replace(/[-:]/g, "").replace(/\.\d{3}Z$/, "Z");9
const generatedId = `core-${compactTime}-${crypto.randomBytes(6).toString("hex")}`;10
const buildId = String(process.env.CHJ_BUILD_ID || generatedId).trim();11
if (!/^[A-Za-z0-9][A-Za-z0-9._-]{7,127}$/.test(buildId)) {12
throw new Error("CHJ_BUILD_ID must contain 8-128 safe identifier characters.");13
}15
const target = path.join(__dirname, "..", "src", "shared", "buildInfo.json");16
fs.writeFileSync(target, `${JSON.stringify({ buildId, builtAt }, null, 2)}\n`, { mode: 0o600 });17
process.stdout.write(`Stamped build ${buildId} (${builtAt})\n`);SHA-256
6862c726e55b34c37d0470fecd831bdb81b6a59663b5efad9acc88284499783aCH-J Proprietary Software License 1.14 · A forrás a CH-J Proprietary Software License 1.14 alatt található. Rendelkezése nem változtatja meg a licenc feltételeit, és nem ad további jogokat.
Archive SHA-256
de757268dbc4f0226549f8b4f41f9b7e585c856ee97fa0d43b17a0e95c281449