Skip to content

feat(library): remove a Windows program from the Steam Deck view - #816

Merged
aaf2tbz merged 1 commit into
mainfrom
feat/deck-remove-program
Nov 20, 2026
Merged

aaf2tbz merged 1 commit into
mainfrom
feat/deck-remove-program

Conversation

@aaf2tbz

@aaf2tbz aaf2tbz commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

Closes #809. In the Steam Deck view, the hero and card art menu offered "Uninstall…" for GOG and Epic games only. A Windows program could only be removed from its settings in the Collection view.

Changes

  • ui.rs: the art menu adds an entry for the Windows Programs page once the entry isn't running:

    • "Remove from Library…" for a Windows program
    • "Uninstall…" for a Game Jolt game

    The confirmation says what each one does:

    • a program leaves the library, and its files and prefix stay on disk
    • a Game Jolt game's folder is deleted, which can't be undone
  • sharp_deck.rs: deck_uninstall handles windows (/sharp-library/uninstall, which is what the Collection view's Uninstall calls) and gamejolt (/gamejolt/uninstall, using the entry's install_dir).

  • sharp_live.rs: uninstall_app and uninstall_gamejolt are now pub(super) so the deck can call them.

PR Readiness (MANDATORY)

  • Real-game launch test completed for game/runtime/graphics/compatibility changes: N/A (UI only)
  • No hardcoded paths, secrets, or absolute /Users/... paths introduced
  • Config/rules TOML validated: N/A
  • Version metadata in sync: N/A
  • Bottle/runtime migration and launch behavior preserved
  • Docs / compatibility matrix updated for user-facing changes: N/A
  • Regression test added for each bug fix: N/A (feature)

Test notes

  • Not run on a Mac: I haven't clicked through this in the app.
  • Type checks: cargo check --tests passes on Linux with the macOS-only FFI stubbed in a scratch copy. cargo fmt --check is clean.

Generated by Claude Code

The Steam Deck view's art menu offered "Uninstall…" for GOG and Epic games
only, so a Windows program could be removed only from its settings in the
Collection view (#809). It now offers "Remove from Library…" for a Windows
program and "Uninstall…" for a Game Jolt game, once they are not running,
through the same Sharp Library actions as the Collection view: a program
leaves the library and keeps its files and prefix; a Game Jolt game's
folder is deleted.
@aaf2tbz
aaf2tbz merged commit d13a2eb into main Nov 20, 2026
6 checks passed
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.

Sharp Library: Delete Programs button

1 participant