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:
app.ts Pridėta: Data neregistruota 688 B · 13 eilutės
Kodas Atsiųsti failą
1/** Application info, legal documents and window helpers (main window only). */
2import { call } from "../transport";
3import type { CoreInfo } from "../types";
5export type LegalDocument =
6 | "documentation" | "safetyCzech" | "safetyEnglish" | "safetyGerman"
7 | "application" | "notice" | "thirdParty" | "thirdPartyBundle" | "tauri" | "electron" | "chromium";
9export const app = Object.freeze({
10 getInfo: () => call<CoreInfo>("core_get_info", "core:getInfo"),
11 openLegalDocument: (document: LegalDocument) => call<{ ok: true }>("core_legal_open", "legal:open", { document }),
12 openExternal: (url: string) => call<{ ok: true }>("core_open_external", "core:openExternal", { url })
13});
SHA-2569005b815b33547470ff8707bf06c2892d2ce84e0d141237c1a7d9d11e97c9755

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