Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Android 端支持通过 `siyuan://` 协议拉起 https://github.com/siyuan-note/siyuan/issues/3716

Liang Ding38f016d2adea
diff --git a/app/src/mobile/index.ts b/app/src/mobile/index.ts
index 76df5c4af6..462796ba78 100644
--- a/app/src/mobile/index.ts
+++ b/app/src/mobile/index.ts
@@ -85,7 +85,7 @@ window.goBack = goBack;
window.showKeyboardToolbar = showKeyboardToolbar;
window.hideKeyboardToolbar = hideKeyboardToolbar;
window.openFileByURL = (openURL) => {
- if (openURL && !/^siyuan:\/\/blocks\/\d{14}-\w{7}/.test(openURL)) {
+ if (openURL && /^siyuan:\/\/blocks\/\d{14}-\w{7}/.test(openURL)) {
openMobileFileById(openURL.substr(16, 22),
getSearch("focus", openURL) === "1" ? [Constants.CB_GET_ALL, Constants.CB_GET_FOCUS] : [Constants.CB_GET_FOCUS, Constants.CB_GET_CONTEXT]);
return true