Skip to content

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

:art: 非桌面端跳过新版本安装包下载

Liang Dinge058890d8f23
diff --git a/app/src/config/about.ts b/app/src/config/about.ts
index d7b1978b4b..1f353e0cb4 100644
--- a/app/src/config/about.ts
+++ b/app/src/config/about.ts
@@ -24,7 +24,7 @@ export const about = {
<div class="fn__space"></div>
<input class="b3-switch fn__flex-center" id="autoLaunch" type="checkbox"${window.siyuan.config.system.autoLaunch ? " checked" : ""}>
</label>
-<label class="fn__flex b3-label${isBrowser() || window.siyuan.config.system.isMicrosoftStore ? " fn__none" : ""}">
+<label class="fn__flex b3-label${isBrowser() || window.siyuan.config.system.isMicrosoftStore || window.siyuan.config.system.container !== "std" ? " fn__none" : ""}">
<div class="fn__flex-1">
${window.siyuan.languages.autoDownloadUpdatePkg}
<div class="b3-label__text">${window.siyuan.languages.autoDownloadUpdatePkgTip}</div>
diff --git a/kernel/model/updater.go b/kernel/model/updater.go
index 7cfa586910..cae0843e3f 100644
--- a/kernel/model/updater.go
+++ b/kernel/model/updater.go
@@ -286,7 +286,7 @@ func skipNewVerInstallPkg() bool {
if !gulu.OS.IsWindows() && !gulu.OS.IsDarwin() && !gulu.OS.IsLinux() {
return true
}
- if util.ISMicrosoftStore {
+ if util.ISMicrosoftStore || util.ContainerStd != util.Container {
return true
}
if !Conf.System.DownloadInstallPkg {