Run electron (dev) from build directory

This commit is contained in:
Jaco Greeff
2017-09-11 10:37:09 +02:00
parent ceb1dd8d83
commit 2bcdb07b62
4 changed files with 26 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ function createWindow () {
});
mainWindow.loadURL(url.format({
pathname: path.join(__dirname, '../.build', 'index.html'),
pathname: path.join(__dirname, 'index.html'),
protocol: 'file:',
slashes: true
}));