Skip to content

feat: Wine settings redesign, game page prefix row, Epic updates from assets.json - #28

Merged
TheBiemGamer merged 3 commits into
mainfrom
feat/wine-settings
Nov 11, 2026
Merged

TheBiemGamer merged 3 commits into
mainfrom
feat/wine-settings

Conversation

@TheBiemGamer

@TheBiemGamer TheBiemGamer commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Lands three commits from the laptop branch perf/local-rescan on current main. The local rescan commit (bf6d561) landed separately in #27.

Changes

  • fix: Epic updates from Legendary's assets.json. list-installed --json never carries update_available or remote_version, so Epic games never showed an update. Each installed version is now compared with the build_version that assets.json has for its app and platform.
  • feat: Wine prefix row on the Installation tab. On Linux, once a Windows game has run, Installation shows its prefix with Open, winecfg and winetricks. It never appears for a native Linux GOG build, and it has no Remove.
  • feat: Settings → Wine redesign.
    • Proton for Windows games is a single menu.
    • The builds list shows readable names, an "in use" tag, a Steam tag and each build's size.
    • One "Install another build" panel with a GE-Proton / Proton-CachyOS switch.
    • Prefix actions sit behind a ⋯ menu, and the Prefixes heading shows their count and total size.

Conflicts resolved against main

  • epic.rs: rebased onto perf(scan): parallel store syncs, local rescans that don't wait, per-store rescans #27, which carries bf6d561's installed() (reads installed.json). The fix applies there unchanged: installed() reads assets.json and calls with_remote_versions, as in the original commit.
  • Detail.svelte: the prefix row is moved into main's bits-ui Tabs layout. The disabled winetricks button explains why through a Tip with a tip-anchor, like the other rows. The old hand-written tab keyboard handler is dropped, since bits-ui handles it.
  • ActionMenu.svelte: rewritten on bits-ui DropdownMenu, because main removed popover.ts.
    • The caller's ⋯ button is the trigger, and focus starts on the first item that can run.
    • A picked action runs after the menu has closed. Remove… moves focus to the row's Cancel.
  • Settings.svelte: the Wine section is rebuilt inside main's tabbed Settings, using the ChoiceMenu trigger snippet. The source switch is a bits-ui RadioGroup, like the other segmented controls.
  • DESIGN.md: the Wine bullets are merged into main's Settings description (tabs, Game data, About). The ⋯ menu is documented under the bits-ui menus instead of popover.ts.
  • cache/db.rs is not touched. Its only change on the source branch belongs to bf6d561.

Checks

Run on each of the three commits:

  • npm run check, npm test, npx prettier --check .
  • cargo fmt --check, cargo clippy --all-targets -- -D warnings
  • cargo test (356 passed)

bindings.ts is regenerated.

The Wine section was clicked through in a browser harness with mocked commands:

  • ⋯ menu: opens, skips the disabled winetricks item, winecfg runs.
  • Remove… asks in the row with focus on Cancel. Cancel returns focus to ⋯.
  • The source switch works with arrow keys.
  • The Proton menu writes the setting.

Not run in the real app.

🤖 Generated with Claude Code

Legendary's list-installed --json never carried update_available or
remote_version, so Epic games never showed an update. Compare each
installed version with the build_version that assets.json has for that
app on its platform. Every list --json refreshes that file for the
installed platforms.
On Linux, once a Windows game has run, its Installation tab gets a Wine
prefix row with Open, winecfg and winetricks, disabled with the same
reason as in Settings when winetricks isn't available. Never for a
native Linux GOG build, and without Remove, which stays in Settings and
the uninstall confirm.
Proton for Windows games is one menu on top: Newest, naming the build
that is now, then each build found. The Proton builds list shows readable
names, an in use tag, a Steam tag and each build's size, with Remove for
Guild's own builds only. Install another build opens one panel with a
GE-Proton / Proton-CachyOS switch. The umu-launcher row shows only while
umu is missing. Prefixes show name and size with Open folder, winecfg,
winetricks and Remove behind a ⋯ menu, and the heading gives their count
and total size.
@TheBiemGamer
TheBiemGamer deleted the feat/wine-settings branch November 11, 2026 12:41
@TheBiemGamer
TheBiemGamer restored the feat/wine-settings branch November 11, 2026 12:42
@TheBiemGamer TheBiemGamer reopened this Nov 11, 2026
@TheBiemGamer
TheBiemGamer merged commit 4abe511 into main Nov 11, 2026
6 checks passed
@TheBiemGamer
TheBiemGamer deleted the feat/wine-settings branch November 11, 2026 12:45
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.

1 participant