This commit is contained in:
WolverinDEV 2019-07-06 21:53:25 +02:00
parent 97a10b4f64
commit a23b31c474
2 changed files with 2 additions and 2 deletions

View File

@ -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) => {

View File

@ -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?