diff options
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 | ||
