fix some stuffs
This commit is contained in:
parent
3aca5dc92b
commit
2deaa22e71
3 changed files with 25 additions and 13 deletions
|
@ -898,6 +898,10 @@ export class BrowserWindow {
|
|||
event.returnValue = process.platform;
|
||||
});
|
||||
|
||||
ipcMain.on("get-port", (event) => {
|
||||
event.returnValue = this.clientPort;
|
||||
});
|
||||
|
||||
ipcMain.on("is-dev", (event) => {
|
||||
event.returnValue = this.devMode;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue