Adding keyboard shortcut for direct access + Fixes for Linux clipboard reading (#1479)

* feat: add ctrl+d keyboard shortcut to open direct access

* fix: make sure direct access promt only get shown once

* fix: linux clipboard acess on non x11 systems

xclip not present on all linux machines: using the electron mechanism instead
This commit is contained in:
kubectl
2025-11-11 05:16:23 +01:00
committed by GitHub
parent dda3d2dda9
commit 56b13ae4cb
5 changed files with 57 additions and 23 deletions

View File

@@ -36,6 +36,7 @@ declare global {
};
electron: {
getArch: () => Promise<string>;
getClipboardText: () => Promise<string>;
getNoUpdater: () => Promise<boolean>;
setTrayIconNotification: (notify: boolean) => Promise<void>;
openFileDialog: () => Promise<string>;