livedesk 0.1.581 → 0.1.582
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/electron/main.mjs +2 -0
- package/package.json +1 -1
package/electron/main.mjs
CHANGED
|
@@ -906,8 +906,10 @@ function updateTray(status = 'Starting') {
|
|
|
906
906
|
|
|
907
907
|
function showWindow() {
|
|
908
908
|
if (!mainWindow) return;
|
|
909
|
+
if (mainWindow.isMinimized()) mainWindow.restore();
|
|
909
910
|
mainWindow.show();
|
|
910
911
|
mainWindow.focus();
|
|
912
|
+
if (!mainWindow.webContents.isDestroyed()) mainWindow.webContents.invalidate();
|
|
911
913
|
requestDesktopResumeAuthRecovery('window-show');
|
|
912
914
|
}
|
|
913
915
|
|