mirror of
https://github.com/fanchenio/DawnLauncher.git
synced 2025-07-13 21:02:10 +08:00
修复'任务栏'右键关闭窗口时,程序并没有完全退出的问题。
This commit is contained in:
parent
ea851c652c
commit
2cd721263e
@ -183,6 +183,10 @@ function createMainWindow() {
|
||||
sendToWebContent("mainWindow", "onCollapseSubClassification", {});
|
||||
}
|
||||
});
|
||||
// 主窗口关闭事件
|
||||
mainWindow.on("closed", () => {
|
||||
app.quit();
|
||||
});
|
||||
// 创建鼠标hook
|
||||
let mousedownClassName = null;
|
||||
addon.createMouseHook((...args: any[]) => {
|
||||
|
Loading…
Reference in New Issue
Block a user