CH-J Server Managerquản lý máy chủ qua SSH
Menu
Mã nguồn đã công bố

CH-J Server Manager

Duyệt thư mục và tệp của một bản phát hành ứng dụng cụ thể.

Tải mã nguồn dạng ZIP
CH-J / Server Manager 193 tệp
core-20261011T184039Z-4148710795d0 Ngày thêm: Chưa ghi nhận ngày · Ngày dựng:
stampBuild.js Ngày thêm: Chưa ghi nhận ngày 779 B · 17 dòng
Mã Tải tệp xuống
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 · Mã nguồn được cung cấp theo CH-J Proprietary Software License 1.14. Việc công khai mã nguồn không thay đổi các điều khoản giấy phép và không cấp thêm quyền nào.

SHA-256 của tệp nén5a8ea02d06a5643cf2330fe9f54b8767a06c1c59d36527705e536fa9dbca7614
Tệp