mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-29 15:43:58 +00:00
Disable server startup on running electron
This commit is contained in:
parent
0d83972e71
commit
5522322ff1
5
main.js
5
main.js
@ -47,7 +47,6 @@ const createServerProc = () => {
|
||||
else {
|
||||
serverPath = path.join(__dirname, 'dist', filename, 'gns3server');
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
@ -109,8 +108,8 @@ function createWindow () {
|
||||
// Some APIs can only be used after this event occurs.
|
||||
app.on('ready', createWindow);
|
||||
|
||||
app.on('ready', createServerProc);
|
||||
app.on('will-quit', exitServerProc);
|
||||
// app.on('ready', createServerProc);
|
||||
// app.on('will-quit', exitServerProc);
|
||||
|
||||
// Quit when all windows are closed.
|
||||
app.on('window-all-closed', function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user