Exclude Xbox / Game Pass games by default (#494)#496
Merged
Conversation
Xbox / Game Pass titles install under ...\XboxGames\...\Content\ and keep sliding across monitors even in fullscreen, because the default exclusion list only covered Epic / Steam / Riot. Add `\XboxGames\` and make sure existing users get it too, not just fresh installs. - New ExcludedProcessDefaults (Core): single source of truth for the default exclusions, shared by the seed file, the migration and the UI. Adds `\XboxGames\`; carries a Version + the pre-v1 (LegacyV0) set. - CreateExcludedFile seeds from ExcludedProcessDefaults instead of a hardcoded string. - One-time top-up migration in PersistencyExtensions.LoadOptions: gated by a registry version marker (ExcludedDefaultsVersion) so it runs once; only tops up a list that still holds all previous defaults (a customized list, or a default removed later, is left alone); rewrites Excluded.txt since the daemon reads the file, not the in-memory list. - "Add defaults" button (options): adds any missing default exclusions to the list (persisted on Save, like the other edits). Daemon unchanged — it has no built-in defaults, it reads Excluded.txt. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Fixes #494.
Xbox / Game Pass titles install under
…\XboxGames\…\Content\and keep sliding across monitors even in fullscreen, because the default exclusion list only covered Epic / Steam / Riot.Changes
ExcludedProcessDefaults(new, Core) — single source of truth for the default exclusions (Epic, Steam, Riot,\XboxGames\), with aVersionand the pre-v1LegacyV0set. Shared by the seed file, the migration and the UI.CreateExcludedFilewrites fromExcludedProcessDefaultsinstead of a hardcoded string, so fresh installs get Xbox.PersistencyExtensions.LoadOptions) — reaches existing users, not just fresh installs. Gated by a registry marker (ExcludedDefaultsVersion) so it runs once; only tops up a list that still holds all previous defaults (a customized list, or a default removed later, is left alone); rewritesExcluded.txtsince the daemon reads the file, not the in-memory list.Migration behaviour
Daemon unchanged — it has no built-in defaults, it reads
Excluded.txt.🤖 Generated with Claude Code