From 9ab9b380dec153a748ba50b89be97737eb936b6f Mon Sep 17 00:00:00 2001 From: wonder Date: Thu, 30 Oct 2025 08:41:34 +0800 Subject: [PATCH] =?UTF-8?q?=20=E2=9C=A8Feat:=20=E7=9B=91=E5=90=AC=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.js b/main.js index e7846e2..bbb73bd 100644 --- a/main.js +++ b/main.js @@ -12,3 +12,7 @@ const createWindow = () => { app.whenReady().then(() => { createWindow(); }); + +app.on("window-all-closed", () => { + if (process.platform !== "darwin") app.quit(); +});