mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: Linux上报
This commit is contained in:
parent
7e1f7ac7f5
commit
7c22eb3376
@ -423,7 +423,7 @@ function onLoad() {
|
|||||||
|
|
||||||
// 创建窗口时触发
|
// 创建窗口时触发
|
||||||
function onBrowserWindowCreated(window: BrowserWindow) {
|
function onBrowserWindowCreated(window: BrowserWindow) {
|
||||||
if (getSelfUid()) {
|
if (window.id !== 2) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
mainWindow = window
|
mainWindow = window
|
||||||
|
Loading…
x
Reference in New Issue
Block a user