|
|
@@ -148,8 +148,9 @@ class OTAController extends Controller {
|
|
|
sendStatusToWindow(content = {}) {
|
|
|
const textJson = JSON.stringify(content);
|
|
|
const channel = 'app.updater';
|
|
|
- const win = CoreWindow.getMainWindow();
|
|
|
- win.webContents.send(channel, textJson);
|
|
|
+ this.app.electron['ota'].webContents.send(channel, textJson);
|
|
|
+/* const win = CoreWindow.getMainWindow();
|
|
|
+ win.webContents.send(channel, textJson);*/
|
|
|
}
|
|
|
|
|
|
/**
|