This commit is contained in:
Jan Prochazka
2020-03-14 11:45:43 +01:00
parent 1d63908328
commit 5d36035022
3 changed files with 193 additions and 18 deletions

View File

@@ -16,10 +16,10 @@ function createWindow() {
// Create the browser window.
mainWindow = new BrowserWindow({width: 800, height: 600});
const apiProcess = fork(path.join(__dirname, '../api/index.js'));
const apiProcess = fork(path.join(__dirname, '../packages/api/dist/bundle.js'));
const startUrl = process.env.ELECTRON_START_URL || url.format({
pathname: path.join(__dirname, '/../build/index.html'),
pathname: path.join(__dirname, '../packages/web/build/index.html'),
protocol: 'file:',
slashes: true
});