Skip to content

Add TpkExtensions for Steam link creation and introduce unit tests - #53

Open
ecenshu wants to merge 1 commit into
masterfrom
fix/gh-issue-7
Open

Add TpkExtensions for Steam link creation and introduce unit tests#53
ecenshu wants to merge 1 commit into
masterfrom
fix/gh-issue-7

Conversation

@ecenshu

@ecenshu ecenshu commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Extracted SteamLink creation into helper function that is UnitTestable
Added UnitTest project and Tests for extracted functionality

SteamLinks now go through a few transformations from most exact to least.
Use steam_app_id for direct lookup
Use human_name if available and strip DLC/Steam suffixes as a search link
Use machine_name stripped of _steam/_choice as a search link
Otherwise return null and should bail out at the Link Creation caller

@ecenshu ecenshu mentioned this pull request Jul 31, 2026
@ecenshu
ecenshu requested a review from Dasmius007 July 31, 2026 05:10
@ecenshu ecenshu linked an issue Jul 31, 2026 that may be closed by this pull request
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.

Failing to import games

1 participant