wokring electron app build + simplified web build

This commit is contained in:
Jan Prochazka
2021-03-21 19:20:42 +01:00
parent 34f2fb2a0a
commit b7b9dde5ae
11 changed files with 80 additions and 34 deletions

View File

@@ -169,7 +169,7 @@ function createWindow() {
const startUrl =
process.env.ELECTRON_START_URL ||
url.format({
pathname: path.join(__dirname, '../packages/web/build/index.html'),
pathname: path.join(__dirname, '../packages/web/public/index.html'),
protocol: 'file:',
slashes: true,
});