Fix installed-game detection and post-install install path handling#11
Merged
weter11 merged 3 commits intorust-remakefrom Feb 13, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
steam_library_pathwas a hard-coded nonstandard directory, causing installed games to always appear as not installed.scan_installed_app_paths_pathbuf()never reached the Steam-detection fallback when the configured path was invalid, so the code fell back to an unexpanded literal path.install_pathinstead of the real installation location, preventing the Play button from appearing.Description
LauncherConfig::default()by callingdetect_steam_path()and only fall back to~/Games/SteamFlowif detection fails (file:SteamFlow/src/config.rs).scan_installed_app_paths_pathbuf()to use the configured path when valid, otherwise fall back todetect_steam_path()and thendefault_steam_root()(file:SteamFlow/src/library.rs).poll_download_progress(), rescan installed app paths withscan_installed_app_paths()and set the library entry'sinstall_pathto the real path (and updateis_installedaccordingly), instead of assigning a$TMPDIRdownload path (file:SteamFlow/src/ui.rs).Testing
cargo fmt --allinSteamFlow/to format changes (succeeded).cargo checkinSteamFlow/which completed successfully; build warnings unrelated to these changes remain but are non-blocking.Codex Task