CH-J Toolsquản lý máy chủ qua SSH
Menu
Mã nguồn đã công bố

CH-J Tools

Duyệt thư mục và tệp của một bản phát hành ứng dụng cụ thể.

Tải mã nguồn dạng ZIP
CH-J / Server Manager 1704 tệp
0.1.2-beta Ngày thêm: · Ngày dựng:
activity.ts Ngày thêm: Chưa ghi nhận ngày 511 B · 15 dòng
Mã Tải tệp xuống
1/** Reports user activity to the Core vault auto-lock (replaces Electron before-input-event). */
2import { send } from "../transport";
4export function installActivityReporter(): void {
5 let last = 0;
6 const report = () => {
7 const now = Date.now();
8 if (now - last < 2000) return;
9 last = now;
10 send("window_activity", {});
11 };
12 for (const type of ["keydown", "mousedown", "mousemove", "wheel", "touchstart"]) {
13 window.addEventListener(type, report, { capture: true, passive: true });
14 }
SHA-256099c0ffe893c25f06b988812de6f7282577d864a1c0b09f82615c37198aa7cb1

CH-J Proprietary Software License 1.14 · Mã nguồn được cung cấp theo CH-J Proprietary Software License 1.14. Việc công khai mã nguồn không thay đổi các điều khoản giấy phép và không cấp thêm quyền nào.

SHA-256 của tệp nénac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Tệp