Add SSH debug log setting

This commit is contained in:
bincxz
2026-06-02 12:01:40 +08:00
parent 1e94fe983f
commit afe959835d
28 changed files with 542 additions and 35 deletions

View File

@@ -39,6 +39,15 @@ declare global {
getAutoUpdate?(): Promise<{ enabled: boolean }>;
setAutoUpdate?(enabled: boolean): Promise<{ success: boolean }>;
// SSH diagnostic logs
getSshDebugLogInfo?(): Promise<{
enabled: boolean;
path: string;
exists: boolean;
size: number;
}>;
openSshDebugLogDir?(): Promise<{ success: boolean; error?: string }>;
// System Tray / Close to Tray
setCloseToTray?(enabled: boolean): Promise<{ success: boolean; enabled: boolean }>;
isCloseToTray?(): Promise<{ enabled: boolean }>;