Change klippy window behavour, Fix user management behavour, clean up search server page
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user