mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 10:26:33 +02:00
feat(desktop): add system tray with clipboard-to-chat support
This commit is contained in:
parent
ecdd7354e9
commit
275fa86ecd
3 changed files with 91 additions and 0 deletions
|
|
@ -5,7 +5,9 @@ import { createMainWindow } from './modules/window';
|
|||
import { setupDeepLinks, handlePendingDeepLink } from './modules/deep-links';
|
||||
import { setupAutoUpdater } from './modules/auto-updater';
|
||||
import { setupMenu } from './modules/menu';
|
||||
import { setupTray } from './modules/tray';
|
||||
import { registerIpcHandlers } from './ipc/handlers';
|
||||
import { registerClipboardHandlers } from './modules/clipboard';
|
||||
|
||||
registerGlobalErrorHandlers();
|
||||
|
||||
|
|
@ -14,6 +16,7 @@ if (!setupDeepLinks()) {
|
|||
}
|
||||
|
||||
registerIpcHandlers();
|
||||
registerClipboardHandlers();
|
||||
|
||||
// App lifecycle
|
||||
app.whenReady().then(async () => {
|
||||
|
|
@ -26,6 +29,7 @@ app.whenReady().then(async () => {
|
|||
return;
|
||||
}
|
||||
createMainWindow();
|
||||
setupTray();
|
||||
setupAutoUpdater();
|
||||
|
||||
handlePendingDeepLink();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue