From 4a3e6e38c728d09dc50196578456bab7c7c2302c Mon Sep 17 00:00:00 2001 From: yu <1919727607@qq.com> Date: Tue, 3 Nov 2026 14:05:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20overlay=E7=AA=97=E5=8F=A3closable:false?= =?UTF-8?q?=E5=AF=BC=E8=87=B4close()=E8=A2=AB=E5=BF=BD=E7=95=A5,=20?= =?UTF-8?q?=E6=94=B9=E7=94=A8destroy()=E5=BC=BA=E5=88=B6=E9=94=80=E6=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/overlay.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/overlay.ts b/src/main/overlay.ts index 0a14bf0..a688778 100644 --- a/src/main/overlay.ts +++ b/src/main/overlay.ts @@ -127,7 +127,7 @@ export function updateOverlayProgress(ratio: number): void { export function hideRunOverlay(mainWindow: BrowserWindow | null): void { if (overlayWindow && !overlayWindow.isDestroyed()) { - overlayWindow.close(); + overlayWindow.destroy(); overlayWindow = null; } if (mainWindow && !mainWindow.isDestroyed()) {