Skip to content

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

:art: Supports setting keep-alive notification text on Android https://github.com/siyuan-note/siyuan/issues/13815

Daniel230e6a1520be
diff --git a/kernel/model/assets.go b/kernel/model/assets.go
index 75406fef1d..834029e2ad 100644
--- a/kernel/model/assets.go
+++ b/kernel/model/assets.go
@@ -830,6 +830,12 @@ func UnusedAssets() (ret []string) {
toRemoves = append(toRemoves, asset)
continue
}
+
+ if strings.HasSuffix(asset, "android-notification-texts.txt") {
+ // 排除 Android 通知文本
+ toRemoves = append(toRemoves, asset)
+ continue
+ }
}
// 排除数据库中引用的资源文件