[fix] building error

This commit is contained in:
Purp1e
2025-03-26 03:50:47 +08:00
parent ed040aadf5
commit 27439593b4

View File

@@ -33,8 +33,8 @@ const Nav = () => {
const close = async () => { const close = async () => {
await saveAllNow() await saveAllNow()
// await exit() // await exit()
if (app.state.hiddenOnClose) window.getCurrentWindow().hide() if (app.state.hiddenOnClose) await window.getCurrentWindow().hide()
else exit() else await exit()
} }
const minimize = async () => { const minimize = async () => {