🎨 桌面端内置 Pandoc 可执行文件 https://github.com/siyuan-note/siyuan/issues/5835

This commit is contained in:
Liang Ding 2022-09-07 11:34:45 +08:00
parent d134045a60
commit 05cbc28185
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -471,7 +471,7 @@ func initPandoc() {
}
pandocVer := getPandocVer(PandocBinPath)
if "" != pandocVer {
logging.LogInfof("pandoc [ver=%s, bin=%s]", pandocVer, PandocBinPath)
logging.LogInfof("built-in pandoc [ver=%s, bin=%s]", pandocVer, PandocBinPath)
return
}
@ -494,7 +494,7 @@ func initPandoc() {
exec.Command("chmod", "+x", PandocBinPath).CombinedOutput()
}
pandocVer = getPandocVer(PandocBinPath)
logging.LogInfof("initialized pandoc [ver=%s, bin=%s]", pandocVer, PandocBinPath)
logging.LogInfof("initialized built-in pandoc [ver=%s, bin=%s]", pandocVer, PandocBinPath)
}
func getPandocVer(binPath string) (ret string) {