mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
This commit is contained in:
parent
01e86e2732
commit
bbca23b47d
1 changed files with 29 additions and 29 deletions
|
|
@ -179,8 +179,8 @@
|
|||
})
|
||||
|
||||
document.getElementById('close').addEventListener('click', () => {
|
||||
const {ipcRenderer} = require('electron')
|
||||
ipcRenderer.send('siyuan-first-quit')
|
||||
const {getCurrentWindow} = require('@electron/remote')
|
||||
getCurrentWindow().destroy()
|
||||
})
|
||||
document.getElementById('min').addEventListener('click', () => {
|
||||
const {getCurrentWindow} = require('@electron/remote')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue