Skip to content

fix(settings): hide auto-update controls on Linux#2412

Open
fengjikui wants to merge 1 commit into
stacklok:mainfrom
fengjikui:codex/hide-linux-auto-update
Open

fix(settings): hide auto-update controls on Linux#2412
fengjikui wants to merge 1 commit into
stacklok:mainfrom
fengjikui:codex/hide-linux-auto-update

Conversation

@fengjikui

Copy link
Copy Markdown
Contributor

Summary

  • hide the auto-update toggle/controls on Linux, where Electron auto-update is not supported
  • keep the existing Linux manual download path that opens GitHub Releases when an update banner is shown
  • add a Version tab regression test for the Linux controls state

Why

Fixes #2266. The Version tab already redirects Linux users to GitHub Releases for manual downloads, but the automatic update controls were still visible and could be toggled even though Linux builds do not support that auto-update flow.

Validation

  • pnpm exec vitest run renderer/src/common/components/settings/tabs/__tests__/version-tab.test.tsx
  • pnpm run prettier
  • pnpm run lint
  • pnpm run type-check
  • git diff --check

Signed-off-by: 冯基魁 <1412414664@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Update feature misbehaves on Linux

1 participant