Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/16981

Vanessabe2c07b83c01
diff --git a/app/src/index.ts b/app/src/index.ts
index 7418d4d93e..28a89fa412 100644
--- a/app/src/index.ts
+++ b/app/src/index.ts
@@ -213,7 +213,7 @@ export class App {
setTitle(window.siyuan.languages.siyuanNote);
initMessage();
/// #if BROWSER && !MOBILE
- if (!isChromeBrowser()) {
+ if ((window.siyuan.config.readonly || window.siyuan.isPublish) && !isChromeBrowser()) {
showMessage(window.siyuan.languages.useChrome, 0, "error");
}
/// #endif