diff --git a/modules/core/main_window.ts b/modules/core/main_window.ts index d5f0f3c..0cfdf96 100644 --- a/modules/core/main_window.ts +++ b/modules/core/main_window.ts @@ -234,7 +234,6 @@ function init_listener() { export function execute() { console.log("Main app executed!"); - parse_arguments(); is_debug = process_args.has_flag(...Arguments.DEBUG); allow_dev_tools = process_args.has_flag(...Arguments.DEV_TOOLS); @@ -243,6 +242,7 @@ export function execute() { console.log("Arguments: %o", process_args); } + Menu.setApplicationMenu(null); init_listener(); console.log("Spawn loading screen"); loader.ui.execute_loader().then(async (entry_point: string) => { diff --git a/modules/core/url-preview/index.ts b/modules/core/url-preview/index.ts index 963b1b5..0d19fa3 100644 --- a/modules/core/url-preview/index.ts +++ b/modules/core/url-preview/index.ts @@ -20,7 +20,7 @@ export async function open_preview(url: string) { window.setMenu(null); window.loadURL(url).then(() => { - window.webContents.openDevTools(); + //window.webContents.openDevTools(); }); //FIXME try catch?