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
文件