Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjay Soundarajan committed Jun 3, 2021
1 parent bd73c0f commit 0cb3fe5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function initialize() {

loadDemos();
function createWindow() {
mainWindow.webContents.openDevTools();
// mainWindow.webContents.openDevTools();

mainWindow.webContents.on("new-window", (event, url) => {
event.preventDefault();
Expand Down Expand Up @@ -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 () {
Expand All @@ -211,7 +211,6 @@ function initialize() {
// }
run_pre_flight_checks();
});

});

app.on("ready", () => {
Expand Down

0 comments on commit 0cb3fe5

Please sign in to comment.