mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 01:09:23 +08:00
parent
86ab02124e
commit
426704ef80
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "marktext",
|
||||
"version": "0.11.42",
|
||||
"version": "0.12.25",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -66,7 +66,7 @@ const showUnsavedFilesMessage = (win, files) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
dialog.showMessageBox(win, {
|
||||
type: 'warning',
|
||||
buttons: ['Save', 'Cancel', 'Delete'],
|
||||
buttons: ['Save', 'Cancel', 'Don\'t save'],
|
||||
defaultId: 0,
|
||||
message: `Do you want to save the changes you made to ${files.length} ${files.length === 1 ? 'file' : 'files'}?\n\n${files.map(f => f.filename).join('\n')}`,
|
||||
detail: `Your changes will be lost if you don't save them.`,
|
||||
|
Loading…
Reference in New Issue
Block a user