fix: removing menu

This commit is contained in:
Chubby Granny Chaser 2024-08-18 02:31:20 +01:00
parent 42ea35441c
commit 7a9247278d
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View File

@ -19,7 +19,7 @@ export class Repack {
/**
* @deprecated Use uris instead
*/
@Column("text", { unique: true, nullable: true })
@Column("text", { unique: true })
magnet: string;
/**

View File

@ -64,8 +64,6 @@ export class WindowManager {
this.loadURL();
this.mainWindow.removeMenu();
WindowManager.mainWindow?.webContents.openDevTools();
this.mainWindow.on("ready-to-show", () => {
if (!app.isPackaged) WindowManager.mainWindow?.webContents.openDevTools();
WindowManager.mainWindow?.show();