feat: 支持忽略更新

This commit is contained in:
cc
2026-02-01 20:50:01 +08:00
parent 0054509ef2
commit 1f0f824b01
9 changed files with 96 additions and 2 deletions

View File

@@ -33,6 +33,9 @@ interface ConfigSchema {
authEnabled: boolean
authPassword: string // SHA-256 hash
authUseHello: boolean
// 更新相关
ignoredUpdateVersion: string
}
export class ConfigService {
@@ -67,7 +70,9 @@ export class ConfigService {
authEnabled: false,
authPassword: '',
authUseHello: false
authUseHello: false,
ignoredUpdateVersion: ''
}
})
}