🎨 非桌面端跳过新版本安装包下载
This commit is contained in:
parent
8cd3ac9a13
commit
e058890d8f
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue