CH-J Tools透過 SSH 管理伺服器
選單
已發布的原始碼

CH-J Tools

瀏覽特定應用程式版本的目錄與檔案。

下載原始碼 ZIP
CH-J / Server Manager 1704 個檔案
0.1.2-beta 新增時間: · 建置時間:
license.ts 新增時間: 未記錄日期 806 B · 21 行
程式碼 下載檔案
1/** License window API (only the license window may call these commands). */
2import { call } from "../transport";
4export interface LicenseDocument {
5 text: string;
6 guidance: Record<string, string>;
7 license: string;
8 licenseVersion: string;
9 sha256: string;
10 appVersion: string;
11 buildId: string;
12 guidanceSha256: string;
13 language: string;
16export const license = Object.freeze({
17 read: () => call<LicenseDocument>("license_read", "license:read"),
18 showLicense: (payload: { guidanceSha256: string }) => call<{ ok: true }>("license_show", "license:show", payload),
19 accept: (payload: { accepted: true; sha256: string; guidanceSha256: string }) => call<{ ok: true }>("license_accept", "license:accept", payload),
20 decline: () => call<{ ok: true }>("license_decline", "license:decline")
21});
SHA-256c15198132aa51ef7bfab98dec646e588c61e1580cbb91764c02cafa34d0a9312

CH-J Proprietary Software License 1.14 · 原始碼依 CH-J Proprietary Software License 1.14 提供。公開原始碼不會改變授權條款,也不會授予額外的權利。

壓縮檔 SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
檔案