feat(desktop): add system tray with clipboard-to-chat support

This commit is contained in:
CREDO23 2026-03-20 20:22:37 +02:00
parent ecdd7354e9
commit 275fa86ecd
3 changed files with 91 additions and 0 deletions

View file

@ -0,0 +1,14 @@
import { ipcMain } from 'electron';
import { IPC_CHANNELS } from '../ipc/channels';
let lastClipboardContent = '';
export function setClipboardContent(text: string): void {
lastClipboardContent = text;
}
export function registerClipboardHandlers(): void {
ipcMain.handle(IPC_CHANNELS.GET_CLIPBOARD_CONTENT, () => {
return lastClipboardContent;
});
}