We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87405f9 commit 9fa081aCopy full SHA for 9fa081a
index.js
@@ -12,6 +12,7 @@ function createWindow () {
12
width: 800,
13
minWidth: 800,
14
height: 600,
15
+ show: false,
16
title: 'Bookle - Get all paid books for free',
17
icon: path.join(__dirname + '/public/assets/icon.png'),
18
webPreferences: {
@@ -23,7 +24,11 @@ function createWindow () {
23
24
mainWindow.loadFile('public/index.html')
25
mainWindow.setMenu(null)
26
// Open the DevTools.
- //npm mainWindow.webContents.openDevTools()
27
+ //mainWindow.webContents.openDevTools()
28
+
29
+ mainWindow.on('ready-to-show', function(){
30
+ mainWindow.show();
31
+ })
32
33
// Emitted when the window is closed.
34
mainWindow.on('closed', function () {
0 commit comments