Skip to content

test(installer): preserve host Steam API in payload tests - #3

Merged
hzqst merged 1 commit into
mainfrom
fix/host-steam-api-payload
Oct 4, 2026
Merged

hzqst merged 1 commit into
mainfrom
fix/host-steam-api-payload

Conversation

@hzqst

@hzqst hzqst commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

The aggregate default install now leaves steam_api.dll to the game, but the actual-payload test still required the installer to create that file. This caused MetaHookSv/MetaHookSv#896 CI to fail even though all CLI regression cases passed.

Model a game-provided Steam API DLL in the integration fixture and verify it is preserved when absent from the payload. Older/custom payloads containing the DLL still verify replacement with their supplied bytes. Add a focused regression covering both an absent and a pre-existing host runtime. Production installer behavior is unchanged.

Validation: reproduced the original failure using a newly staged aggregate install with SteamAppsLocation disabled (the clean CI default); the corrected integration now passes for simulated Sven Co-op and Half-Life. All 33 regression cases pass in Debug and Release; git diff --check passes. The earlier reused local build had SteamAppsLocation explicitly ON, which masked the old assertion.

Merge before the updated aggregate PR #896. No new Installer release is needed because this changes tests only.

@hzqst
hzqst merged commit 3456caf into main Oct 4, 2026
1 check passed
@hzqst
hzqst deleted the fix/host-steam-api-payload branch October 5, 2026 01:48
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