mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🚨
This commit is contained in:
parent
4e5a195290
commit
36c69ef9fc
11 changed files with 19 additions and 30 deletions
|
|
@ -337,9 +337,9 @@ export const bazaar = {
|
|||
const type = target.getAttribute("data-type");
|
||||
if (type === "open") {
|
||||
/// #if !BROWSER
|
||||
const dirName = target.parentElement.parentElement.getAttribute("data-bazaar")
|
||||
const dirName = target.parentElement.parentElement.getAttribute("data-bazaar");
|
||||
if (dirName === "icons" || dirName === "themes") {
|
||||
shell.openPath(path.join(window.siyuan.config.system.confDir, "appearance", dirName, target.parentElement.getAttribute("data-name")))
|
||||
shell.openPath(path.join(window.siyuan.config.system.confDir, "appearance", dirName, target.parentElement.getAttribute("data-name")));
|
||||
} else {
|
||||
shell.openPath(path.join(window.siyuan.config.system.dataDir, dirName, target.parentElement.getAttribute("data-name")));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue