From 0cb3fe5b1f4047e8d2c0c84ed9a84ae9972e4ca9 Mon Sep 17 00:00:00 2001 From: Sanjay Soundarajan Date: Thu, 3 Jun 2021 12:25:01 -0700 Subject: [PATCH] Release prep --- src/main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index b5a8bfd4..65c950bf 100755 --- a/src/main.js +++ b/src/main.js @@ -105,7 +105,7 @@ function initialize() { loadDemos(); function createWindow() { - mainWindow.webContents.openDevTools(); + // mainWindow.webContents.openDevTools(); mainWindow.webContents.on("new-window", (event, url) => { event.preventDefault(); @@ -185,7 +185,7 @@ function initialize() { transparent: true, }); splash.loadURL(path.join("file://", __dirname, "/splash-screen.html")); - + // if main window is ready to show, then destroy the splash window and show up the main window mainWindow.once("ready-to-show", () => { setTimeout(function () { @@ -211,7 +211,6 @@ function initialize() { // } run_pre_flight_checks(); }); - }); app.on("ready", () => {