1
0
Fork 0
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:
Andrew Simachev 2022-01-28 12:49:13 +03:00
parent dc2190b048
commit b965f39f9f

View file

@ -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 => {