Translation and Bugfix

This commit is contained in:
sguenter
2024-02-16 09:56:06 +01:00
parent a634fb2a95
commit 9677d0c3e8
6 changed files with 38 additions and 15 deletions

View File

@@ -132,8 +132,7 @@ export class ElectronCapacitorApp {
},
});
this.mainWindowState.manage(this.MainWindow);
this.MainWindow.webContents.postMessage("port", null, [this.channels.port1]);
Actions.setVideoWindowPort(this.channels.port2);
Actions.setMainWindow(this.MainWindow);
if (this.CapacitorFileConfig.backgroundColor) {
this.MainWindow.setBackgroundColor(this.CapacitorFileConfig.electron.backgroundColor);