♻️ Upgrade to Pandoc v3.5 https://github.com/siyuan-note/siyuan/issues/12750
This commit is contained in:
parent
bd24cc4b3b
commit
c930c28b93
6 changed files with 13 additions and 3 deletions
Binary file not shown.
BIN
app/pandoc/pandoc-darwin-arm64.zip
Normal file
BIN
app/pandoc/pandoc-darwin-arm64.zip
Normal file
Binary file not shown.
Binary file not shown.
BIN
app/pandoc/pandoc-linux-arm64.zip
Normal file
BIN
app/pandoc/pandoc-linux-arm64.zip
Normal file
Binary file not shown.
Binary file not shown.
|
@ -150,11 +150,21 @@ func InitPandoc() {
|
|||
pandocZip := filepath.Join(WorkingDir, "pandoc.zip")
|
||||
if "dev" == Mode || !gulu.File.IsExist(pandocZip) {
|
||||
if gulu.OS.IsWindows() {
|
||||
pandocZip = filepath.Join(WorkingDir, "pandoc/pandoc-windows-amd64.zip")
|
||||
if "amd64" == runtime.GOARCH {
|
||||
pandocZip = filepath.Join(WorkingDir, "pandoc/pandoc-windows-amd64.zip")
|
||||
}
|
||||
} else if gulu.OS.IsDarwin() {
|
||||
pandocZip = filepath.Join(WorkingDir, "pandoc/pandoc-darwin-amd64.zip")
|
||||
if "amd64" == runtime.GOARCH {
|
||||
pandocZip = filepath.Join(WorkingDir, "pandoc/pandoc-darwin-amd64.zip")
|
||||
} else if "arm64" == runtime.GOARCH {
|
||||
pandocZip = filepath.Join(WorkingDir, "pandoc/pandoc-darwin-arm64.zip")
|
||||
}
|
||||
} else if gulu.OS.IsLinux() {
|
||||
pandocZip = filepath.Join(WorkingDir, "pandoc/pandoc-linux-amd64.zip")
|
||||
if "amd64" == runtime.GOARCH {
|
||||
pandocZip = filepath.Join(WorkingDir, "pandoc/pandoc-linux-amd64.zip")
|
||||
} else if "arm64" == runtime.GOARCH {
|
||||
pandocZip = filepath.Join(WorkingDir, "pandoc/pandoc-linux-arm64.zip")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue