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 * @deprecated Use uris instead
*/ */
@Column("text", { unique: true, nullable: true }) @Column("text", { unique: true })
magnet: string; magnet: string;
/** /**

View file

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