CH-J Toolsserverio valdymas per SSH
Meniu
Paskelbtas šaltinis

CH-J Tools

Naršyti aplankus ir failus konkrečiai programai išleisti.

Atsisiųsti šaltinį ZIP
CH-J / Server Manager 1704 failai
0.1.2-beta Pridėta: · Pastatytas:
boot.ts Pridėta: Data neregistruota 489 B · 12 eilutės
Kodas Atsiųsti failą
1/** Values the Rust Core prepends to every initialization script (never secrets). */
2export interface BootInfo { platform: string; window: string; moduleId?: string }
4declare global {
5 // eslint-disable-next-line no-var
6 var __CHJ_BOOT__: BootInfo | undefined;
7}
9export function bootInfo(): BootInfo {
10 const value = globalThis.__CHJ_BOOT__;
11 return Object.freeze({ platform: String(value?.platform || "unknown"), window: String(value?.window || ""), moduleId: value?.moduleId });
SHA-256c62e752dabf4eef242587f2264da6cbf6392ab6a305efde9ef25220b7f4cd9f4

CH-J Proprietary Software License 1.14 · Šaltinis pateiktas pagal CH-J Proprietary Software License 1.14. Jo prieinamumas nekeičia licencijos sąlygų ir nesuteikia papildomų teisių.

Archyvas SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Failai