mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: removing menu
This commit is contained in:
parent
42ea35441c
commit
7a9247278d
2 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue