CH-J Toolsbainisteoireacht freastalaí SSH
Roghchlár
Foinse foilsithe

CH-J Tools

Brabhsáil comhadlanna agus comhaid chun feidhmchlár áirithe a scaoileadh.

Íosluchtaigh foinse ZIP
CH-J / Server Manager 872 Comhaid
core-20261030T220507Z-61e4558d889f Suimigh: · Tógtha:
window.ts Suimigh: Dáta gan taifeadadh 443 B · 9 líne
Cód Íosluchtaigh comhad
1/** Frameless-window controls (Windows/Linux). Each window can only control itself. */
2import { call } from "../transport";
4export type WindowAction = "minimize" | "toggleMaximize" | "close" | "startDrag";
6export const windowControls = Object.freeze({
7 perform: (action: WindowAction) => call<{ ok: true }>("window_control", "window:control", { action }),
8 isMaximized: () => call<boolean>("window_is_maximized", "window:isMaximized")
9});
SHA-2561a50607bcca8ee1555665c5ee0d822cde43986af11dec5b32720636a83aad3df

CH-J Proprietary Software License 1.14 · Tá Foinse ar fáil faoin CH-J Proprietary Software License 1.14. Ní chuireann a infhaighteacht a athrú ar na téarmaí ceadúnais nó cearta breise a dheonú.

Cartlann SHA-25677380d4805485ffa4027fbe7858b5836f197a4aa9d52358a43e2d12d018744df
Comhaid