同步上游v0.1.74并禁用更新模块显示和后台检查
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
huangzhenpc
2026-02-08 00:37:57 +08:00
parent 314403e5c1
commit d66394c0b8
4 changed files with 14 additions and 14 deletions

View File

@@ -375,8 +375,8 @@ const updateError = ref('')
const updateSuccess = ref(false)
const restartCountdown = ref(0)
// Only show update check for release builds (binary/docker deployment)
const isReleaseBuild = computed(() => buildType.value === 'release')
// Disable update module - always treat as source build
const isReleaseBuild = computed(() => false)
function toggleDropdown() {
dropdownOpen.value = !dropdownOpen.value

View File

@@ -255,10 +255,10 @@ export const useAppStore = defineStore('app', () => {
try {
const data = await checkUpdatesAPI(force)
currentVersion.value = data.current_version
latestVersion.value = data.latest_version
hasUpdate.value = data.has_update
buildType.value = data.build_type || 'source'
releaseInfo.value = data.release_info || null
latestVersion.value = data.current_version
hasUpdate.value = false
buildType.value = 'source'
releaseInfo.value = null
versionLoaded.value = true
return data
} catch (error) {