Change klippy window behavour, Fix user management behavour, clean up search server page

This commit is contained in:
2026-03-08 00:00:17 +01:00
parent 90f067e662
commit d20509566d
56 changed files with 1783 additions and 489 deletions

View File

@@ -4,7 +4,7 @@ import {
destroyDatabase,
getDataSource
} from '../db/database';
import { createWindow } from '../window/create-window';
import { createWindow, getDockIconPath } from '../window/create-window';
import {
setupCqrsHandlers,
setupSystemHandlers,
@@ -13,6 +13,11 @@ import {
export function registerAppLifecycle(): void {
app.whenReady().then(async () => {
const dockIconPath = getDockIconPath();
if (process.platform === 'darwin' && dockIconPath)
app.dock?.setIcon(dockIconPath);
await initializeDatabase();
setupCqrsHandlers();
setupWindowControlHandlers();