Skip to content

Fix Steam library Grant Access and refresh dependencies - #25

Merged
astrovm merged 15 commits into
mainfrom
fix/grant-steam-library-access
Sep 12, 2026
Merged

Fix Steam library Grant Access and refresh dependencies#25
astrovm merged 15 commits into
mainfrom
fix/grant-steam-library-access

Conversation

@astrovm

@astrovm astrovm commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • accept Flatpak document-portal folders when granting access to a Steam library such as /data/SteamLibrary
  • store the accessible portal path and stop listing that library as "Needs access" after a successful grant
  • refresh Cargo.lock and Flatpak offline cargo sources
  • bump dirs to 7 and pin 7-Zip 26.03, HDiffPatch 5.1.3, GTK 4.22.5, libadwaita 1.9.3, and flatpak-builder action v6.8
  • keep the GNOME 50 Flatpak runtime (51 is not released yet)

Why

Grant Access compared the host path from libraryfolders.vdf with the folder returned by the sandboxed file chooser. The portal path is not /data/SteamLibrary, so a correct selection was rejected with "Selected folder does not match the required Steam library".

Impact

Users can grant access to a Steam library outside the default Flatpak filesystem paths (/mnt, /media, home Steam dirs) and continue setup. Packaging pins stay current and reproducible.

Validation

  • cargo fmt
  • cargo clippy --locked --all-targets -- -D warnings
  • cargo test --locked (359 lib tests, plus CLI/e2e/cargo-sources)
  • python3 build-aux/check-cargo-sources.py (230 offline Cargo sources)

The file chooser returns a document-portal path instead of the host
library from Steam, so exact path matching rejected a valid grant.
Treat a selected folder with steamapps as the library and map it back
to the inaccessible VDF entry.
Refresh Cargo.lock and Flatpak cargo-sources, bump dirs to 7, and
update 7-Zip, HDiffPatch, GTK, libadwaita, and the Flatpak builder
action. Keep the GNOME 50 runtime; 51 is not released yet.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-11T21:17:55.834690Z 7dbf0dc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@astrovm
astrovm merged commit 5482a58 into main Sep 12, 2026
12 checks passed
@astrovm
astrovm deleted the fix/grant-steam-library-access branch September 12, 2026 01:12
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