🎨 桌面端内置 Pandoc 可执行文件 https://github.com/siyuan-note/siyuan/issues/5835
This commit is contained in:
parent
d134045a60
commit
05cbc28185
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue