2020-04-06 08:26:13 +02:00
|
|
|
const { app, shell } = require("electron");
|
2020-04-04 15:32:27 +02:00
|
|
|
|
2020-04-06 08:26:13 +02:00
|
|
|
app.whenReady().then(() => {
|
2020-04-13 12:07:10 +02:00
|
|
|
let port = process.env.PORT || 3000;
|
2020-04-06 08:26:13 +02:00
|
|
|
shell.openExternal(`http://localhost:${port}`);
|
2020-04-04 15:32:27 +02:00
|
|
|
});
|