mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 07:06:00 +00:00
build
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user