mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
bf08509986
commit
efe9a3f908
15 changed files with 45 additions and 51 deletions
|
|
@ -11,7 +11,7 @@ import {Constants} from "../../constants";
|
|||
import {highlightRender} from "../render/highlightRender";
|
||||
import {processRender} from "../util/processCode";
|
||||
import {isIPhone, isSafari, openByMobile, setStorageVal} from "../util/compatibility";
|
||||
import {showFileInFolder} from "../../util/pathName";
|
||||
import {useShell} from "../../util/pathName";
|
||||
import {isPaidUser} from "../../util/needSubscribe";
|
||||
import {getCloudURL} from "../../config/util/about";
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ export const afterExport = (exportPath: string, msgId: string) => {
|
|||
<div class="fn__space"></div>
|
||||
<button class="b3-button b3-button--white">${window.siyuan.languages.showInFolder}</button>`, 6000, "info", msgId);
|
||||
document.querySelector(`#message [data-id="${msgId}"] button`).addEventListener("click", () => {
|
||||
showFileInFolder(path.join(exportPath));
|
||||
useShell("showItemInFolder", path.join(exportPath));
|
||||
hideMessage(msgId);
|
||||
});
|
||||
/// #endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue