🎨 桌面端自动下载更新安装包 https://github.com/siyuan-note/siyuan/issues/5837

This commit is contained in:
Liang Ding 2022-09-08 10:29:27 +08:00
parent 684e430fe1
commit e4ddd99863
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
7 changed files with 18 additions and 11 deletions

View file

@ -125,7 +125,7 @@ export const about = {
<svg><use xlink:href="#iconRefresh"></use></svg>${window.siyuan.languages.checkUpdate}
</button>
</div>
<div class="fn__flex b3-label${isBrowser() ? " fn__none" : ""}">
<div class="fn__flex b3-label${isBrowser() || window.siyuan.config.system.isMicrosoftStore ? " fn__none" : ""}">
<div class="fn__flex-1">
${window.siyuan.languages.autoDownloadUpdatePkg}
<div class="b3-label__text">${window.siyuan.languages.autoDownloadUpdatePkgTip}</div>

View file

@ -299,6 +299,7 @@ declare interface IConfig {
confDir: string
dataDir: string
container: "std" | "android" | "docker" | "ios"
isMicrosoftStore: boolean
os: "windows" | "linux" | "darwin"
homeDir: string
xanadu: boolean