diff options
| author | bndw <ben@bdw.to> | 2026-02-28 19:34:02 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-02-28 19:34:02 -0800 |
| commit | 283013c09d4855529e846951a1e090f0f16030a8 (patch) | |
| tree | e78c84c85b07806770faee99af7280d0a83eadc8 /src/main/index.ts | |
| parent | 9a636af9090b122db2e55737fca3e78550aab9df (diff) | |
feat: auto session naming
Diffstat (limited to 'src/main/index.ts')
| -rw-r--r-- | src/main/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/index.ts b/src/main/index.ts index f0b23f7..a7bed00 100644 --- a/src/main/index.ts +++ b/src/main/index.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | import { app, BrowserWindow } from "electron"; | 1 | import { app, BrowserWindow, Menu } from "electron"; |
| 2 | import path from "node:path"; | 2 | import path from "node:path"; |
| 3 | import { getDb, closeDb } from "./db"; | 3 | import { getDb, closeDb } from "./db"; |
| 4 | import { registerIpcHandlers } from "./ipc/handlers"; | 4 | import { registerIpcHandlers } from "./ipc/handlers"; |
| @@ -41,6 +41,8 @@ function createWindow() { | |||
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | app.whenReady().then(() => { | 43 | app.whenReady().then(() => { |
| 44 | Menu.setApplicationMenu(null); | ||
| 45 | |||
| 44 | // Initialize database | 46 | // Initialize database |
| 45 | getDb(); | 47 | getDb(); |
| 46 | 48 | ||
