mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Fix set pandoc bin path
This commit is contained in:
parent
5613c38acd
commit
ca01112462
1 changed files with 2 additions and 0 deletions
|
|
@ -254,6 +254,8 @@ func setExport(c *gin.Context) {
|
|||
if !util.IsValidPandocBin(export.PandocBin) {
|
||||
util.PushErrMsg(fmt.Sprintf(model.Conf.Language(117), export.PandocBin), 5000)
|
||||
export.PandocBin = util.PandocBinPath
|
||||
} else {
|
||||
util.PandocBinPath = export.PandocBin
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue