mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-26 00:44:07 +01:00
This commit is contained in:
parent
f2f292c5fa
commit
56fe8371d1
13 changed files with 57 additions and 33 deletions
|
|
@ -7,6 +7,7 @@ import * as path from "path";
|
|||
/// #endif
|
||||
import {isBrowser} from "../util/functions";
|
||||
import {showMessage} from "../dialog/message";
|
||||
import {showFileInFolder} from "../util/pathName";
|
||||
|
||||
export const exportConfig = {
|
||||
element: undefined as Element,
|
||||
|
|
@ -204,7 +205,7 @@ export const exportConfig = {
|
|||
/// #if !BROWSER
|
||||
pandocBinPathElement.addEventListener("click", () => {
|
||||
if (window.siyuan.config.export.pandocBin) {
|
||||
shell.showItemInFolder(window.siyuan.config.export.pandocBin);
|
||||
showFileInFolder(window.siyuan.config.export.pandocBin);
|
||||
}
|
||||
});
|
||||
const pandocBinElement = exportConfig.element.querySelector("#pandocBin") as HTMLInputElement;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue