CH-J Toolsgestion de serveur sur SSH
Menu
Source publiée

CH-J Tools

Parcourez les répertoires et les fichiers pour une version spécifique de l'application.

Télécharger la source ZIP
CH-J / Server Manager 1704 fichiers
0.1.2-beta Ajouté: · Construit:
boot.ts Ajouté: Date non enregistrée 489 B · 12 lignes
Code Télécharger le fichier
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 · La source est fournie sous CH-J Proprietary Software License 1.14. Sa disponibilité ne modifie pas les termes de la licence ni n'accorde de droits supplémentaires.

Archive SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Fichiers