📝 Supports append text by shortcuts to the dailynote doc on Android https://github.com/siyuan-note/siyuan/issues/14414

This commit is contained in:
Daniel 2025-03-24 23:31:05 +08:00
parent 5c0273d0c2
commit 54ec99a199
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 83 additions and 0 deletions

View file

@ -246,6 +246,7 @@ var (
ThemesPath string // 配置目录下的外观目录下的 themes/ 路径
IconsPath string // 配置目录下的外观目录下的 icons/ 路径
SnippetsPath string // 数据目录下的 snippets/ 路径
ShortcutsPath string // 用户家目录下的快捷方式目录路径 home/.config/siyuan/shortcuts/
UIProcessIDs = sync.Map{} // UI 进程 ID
)
@ -322,6 +323,7 @@ func initWorkspaceDir(workspaceArg string) {
AssetContentDBPath = filepath.Join(TempDir, "asset_content.db")
BlockTreeDBPath = filepath.Join(TempDir, "blocktree.db")
SnippetsPath = filepath.Join(DataDir, "snippets")
ShortcutsPath = filepath.Join(userHomeConfDir, "shortcuts")
}
func ReadWorkspacePaths() (ret []string, err error) {