Some small changes
This commit is contained in:
parent
d0687a26ba
commit
99b354fd51
@ -50,7 +50,6 @@ function spawn_main_window(entry_point: string) {
|
||||
prevent_instant_close = false;
|
||||
});
|
||||
|
||||
|
||||
main_window.loadFile(loader.ui.preloading_page(entry_point));
|
||||
|
||||
main_window.once('ready-to-show', () => {
|
||||
|
@ -6,6 +6,8 @@ import * as crash_handler from "../crash_handler";
|
||||
import * as electron from "electron";
|
||||
import * as path from "path";
|
||||
import * as os from "os";
|
||||
import BrowserWindow = Electron.BrowserWindow;
|
||||
import {main_window} from "../core/main_window";
|
||||
|
||||
/* first of all setup crash handler */
|
||||
{
|
||||
@ -263,4 +265,7 @@ const load_modules = async () => {
|
||||
throw error;
|
||||
}
|
||||
console.log("Loaded native extensions");
|
||||
|
||||
remote.getCurrentWindow().on('focus', () => main_window.flashFrame(false));
|
||||
remote.getCurrentWindow().flashFrame(true);
|
||||
};
|
Loading…
Reference in New Issue
Block a user