Skip to content

- Forward launch arguments losslessly - #1

Open
Jaredl-Dev wants to merge 1 commit into
GeneralsOnlineDevelopmentTeam:mainfrom
Jaredl-Dev:feat/lossless-argument-forwarding
Open

- Forward launch arguments losslessly#1
Jaredl-Dev wants to merge 1 commit into
GeneralsOnlineDevelopmentTeam:mainfrom
Jaredl-Dev:feat/lossless-argument-forwarding

Conversation

@Jaredl-Dev

Copy link
Copy Markdown

This updates game startup to pass launch arguments individually via ProcessStartInfo.ArgumentList, preserving argument boundaries and values containing spaces.

This also establishes the launcher-side foundation for TheSuperHackers/GeneralsGameCode#3091. Once native ordered -mod loading is available in the game, the launcher must preserve repeated -mod arguments and operands containing spaces as discrete arguments so valid archive and directory paths reach the game intact.

Validation

  • Built Debug and Release configurations.
  • Launched the game with various CLI arguments.

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