mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
change html to mhtml
This commit is contained in:
parent
dc2190b048
commit
b965f39f9f
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ function exit (relaunch) {
|
|||
function savePage (name) {
|
||||
name = String(name || 'untitled').replace(/[^a-z0-9]/gi, '-').toLowerCase();
|
||||
|
||||
win.webContents.savePage(path.join(exportPath, name + '.mhtml'), 'MHTML').then(() => {
|
||||
win.webContents.savePage(path.join(exportPath, name + '.html'), 'HTMLComplete').then(() => {
|
||||
shell.openPath(exportPath);
|
||||
send('command', 'saveAsHTMLSuccess');
|
||||
}).catch(err => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue