mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
🐛 fix: fix window close issue and release Window/Linux beta (#7780)
* fix window close issue * try to fix win loading * try to fix win build * try to fix win build * fix win build issue * fix win build issue
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
"@types/set-cookie-parser": "^2.4.10",
|
||||
"consola": "^3.1.0",
|
||||
"cookie": "^1.0.2",
|
||||
"electron": "^35.2.0",
|
||||
"electron": "^36.2.0",
|
||||
"electron-builder": "^26.0.12",
|
||||
"electron-is": "^3.0.0",
|
||||
"electron-log": "^5.3.3",
|
||||
|
||||
@@ -161,6 +161,11 @@ export default class BrowserManager {
|
||||
if (browser.webContents) this.webContentsMap.delete(browser.webContents);
|
||||
});
|
||||
|
||||
browser.browserWindow.on('show', () => {
|
||||
if (browser.webContents)
|
||||
this.webContentsMap.set(browser.webContents, browser.identifier as AppBrowsersIdentifiers);
|
||||
});
|
||||
|
||||
return browser;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user