CH-J Server Managerupravljanje strežnikov prek SSH
Meni
Objavljen vir

CH-J Server Manager

Brskajte po imenikih in datotekah za določeno izdajo programa.

Prenos vir ZIP
CH-J / Server Manager 339 datoteke
core-20261014T184258Z-3fbed0b93fdf Dodano: Datum, ki ni zabeležen · Zgrajena:
Datoteke
stampBuild.js Dodano: Datum, ki ni zabeležen 779 B · 17 vrstice
Prenesi datoteko
1"use strict";
3const crypto = require("node:crypto");
4const fs = require("node:fs");
5const path = require("node:path");
7const builtAt = new Date().toISOString();
8const compactTime = builtAt.replace(/[-:]/g, "").replace(/\.\d{3}Z$/, "Z");
9const generatedId = `core-${compactTime}-${crypto.randomBytes(6).toString("hex")}`;
10const buildId = String(process.env.CHJ_BUILD_ID || generatedId).trim();
11if (!/^[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.");
15const target = path.join(__dirname, "..", "src", "shared", "buildInfo.json");
16fs.writeFileSync(target, `${JSON.stringify({ buildId, builtAt }, null, 2)}\n`, { mode: 0o600 });
17process.stdout.write(`Stamped build ${buildId} (${builtAt})\n`);
SHA-2566862c726e55b34c37d0470fecd831bdb81b6a59663b5efad9acc88284499783a

CH-J Proprietary Software License 1.14 · Vir je na voljo pod CH-J Proprietary Software License 1.14. Njena razpoložljivost ne spreminja pogojev licence ali dodeljuje dodatnih pravic.

Arhiv SHA-2563df08cf5e899262a6ce92d7ec2caf5c42b683f1f2b57055662b845ff7dde67a8