Skip to content

Commit 4de37da

Browse files
author
Yousef Sultan
committed
Integrate electron-builder
Signed-off-by: Yousef Sultan <[email protected]>
1 parent 06af07a commit 4de37da

File tree

5 files changed

+2144
-365
lines changed

5 files changed

+2144
-365
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
dist/
12
.env
2-
node_modules
3+
node_modules/

index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@ function createWindow() {
1010

1111
mainWindow.loadFile('./build/index.html');
1212

13-
// Open the DevTools.
14-
mainWindow.webContents.openDevTools();
13+
// mainWindow.webContents.openDevTools();
1514

1615
mainWindow.on('closed', function () {
1716
mainWindow = null;
1817
});
1918
}
2019

2120
app.on('ready', () => {
22-
if (process.env.NODE_ENV !== 'production')
23-
require('vue-devtools').install();
21+
// require('vue-devtools').install();
2422

2523
createWindow();
2624
});

0 commit comments

Comments
 (0)