🎨 桌面端自动下载更新安装包 https://github.com/siyuan-note/siyuan/issues/5837

This commit is contained in:
Liang Ding 2022-09-08 11:33:44 +08:00
parent e52a10980b
commit 19176e5bc0
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -383,7 +383,7 @@ func ExportHTML(id, savePath string, pdf bool) (name, dom string) {
// }
//}
name = path.Base(tree.Path)
name = path.Base(tree.HPath)
name = util.FilterFileName(name) // 导出 PDF、HTML 和 Word 时未移除不支持的文件名符号 https://github.com/siyuan-note/siyuan/issues/5614
if "" != savePath {