partially fix web-remote

This commit is contained in:
vapormusic 2022-01-20 22:53:01 +07:00
parent 443711df79
commit ac93ef1aee
5 changed files with 97 additions and 84 deletions

View file

@ -85,12 +85,12 @@ export class Win {
this.options.height = windowState.height;
// Start the webserver for the browser window to load
const ws = new wsapi()
ws.InitWebSockets()
this.startWebServer();
this.win = new electron.BrowserWindow(this.options);
const ws = new wsapi(this.win)
ws.InitWebSockets()
// and load the renderer.
this.startSession();
this.startHandlers();