[fix] building error
This commit is contained in:
@@ -33,8 +33,8 @@ const Nav = () => {
|
||||
const close = async () => {
|
||||
await saveAllNow()
|
||||
// await exit()
|
||||
if (app.state.hiddenOnClose) window.getCurrentWindow().hide()
|
||||
else exit()
|
||||
if (app.state.hiddenOnClose) await window.getCurrentWindow().hide()
|
||||
else await exit()
|
||||
}
|
||||
|
||||
const minimize = async () => {
|
||||
|
||||
Reference in New Issue
Block a user