Updates
This commit is contained in:
parent
97a10b4f64
commit
a23b31c474
@ -234,7 +234,6 @@ function init_listener() {
|
|||||||
export function execute() {
|
export function execute() {
|
||||||
console.log("Main app executed!");
|
console.log("Main app executed!");
|
||||||
|
|
||||||
|
|
||||||
parse_arguments();
|
parse_arguments();
|
||||||
is_debug = process_args.has_flag(...Arguments.DEBUG);
|
is_debug = process_args.has_flag(...Arguments.DEBUG);
|
||||||
allow_dev_tools = process_args.has_flag(...Arguments.DEV_TOOLS);
|
allow_dev_tools = process_args.has_flag(...Arguments.DEV_TOOLS);
|
||||||
@ -243,6 +242,7 @@ export function execute() {
|
|||||||
console.log("Arguments: %o", process_args);
|
console.log("Arguments: %o", process_args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Menu.setApplicationMenu(null);
|
||||||
init_listener();
|
init_listener();
|
||||||
console.log("Spawn loading screen");
|
console.log("Spawn loading screen");
|
||||||
loader.ui.execute_loader().then(async (entry_point: string) => {
|
loader.ui.execute_loader().then(async (entry_point: string) => {
|
||||||
|
@ -20,7 +20,7 @@ export async function open_preview(url: string) {
|
|||||||
window.setMenu(null);
|
window.setMenu(null);
|
||||||
|
|
||||||
window.loadURL(url).then(() => {
|
window.loadURL(url).then(() => {
|
||||||
window.webContents.openDevTools();
|
//window.webContents.openDevTools();
|
||||||
});
|
});
|
||||||
|
|
||||||
//FIXME try catch?
|
//FIXME try catch?
|
||||||
|
Loading…
Reference in New Issue
Block a user