mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 11:31:41 +08:00
♻️ Upgrade to Pandoc v3.5 https://github.com/siyuan-note/siyuan/issues/12750
This commit is contained in:
parent
bd24cc4b3b
commit
c930c28b93
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")
|
pandocZip := filepath.Join(WorkingDir, "pandoc.zip")
|
||||||
if "dev" == Mode || !gulu.File.IsExist(pandocZip) {
|
if "dev" == Mode || !gulu.File.IsExist(pandocZip) {
|
||||||
if gulu.OS.IsWindows() {
|
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() {
|
} 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() {
|
} 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…
Reference in New Issue
Block a user