Skip to content

Comments

feat: implement game details for launching declared exe and args#15

Merged
Gustash merged 5 commits intomainfrom
feat/product-info
Dec 12, 2025
Merged

feat: implement game details for launching declared exe and args#15
Gustash merged 5 commits intomainfrom
feat/product-info

Conversation

@Gustash
Copy link
Owner

@Gustash Gustash commented Dec 12, 2025

Closes #12

Copilot AI review requested due to automatic review settings December 12, 2025 03:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements support for fetching and using game-specific launch details (executable path and arguments) from the IndieGala API. Instead of relying solely on automatic executable detection, the launcher can now use server-provided configuration for Windows games.

Key changes:

  • Adds API client functionality to fetch game details including exe path, arguments, and working directory
  • Updates launch command to prioritize server-declared executables over local search
  • Integrates game details fetching into install and info commands

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
auth/product.go New file implementing API calls to fetch and cache game launch details (exe path, args, cwd)
launch/launch.go Adds FindDeclaredExecutable function to retrieve and process server-declared game executables for Windows builds
cmd_launch.go Updates launch logic to attempt fetching declared executable from server before falling back to local search
cmd_install.go Adds game details fetching during installation to pre-cache launch information
cmd_info.go Displays game details (exe path, args, cwd) when showing game information

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Gustash and others added 3 commits December 12, 2025 03:15
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Gustash Gustash merged commit dfaa484 into main Dec 12, 2025
3 checks passed
@Gustash Gustash deleted the feat/product-info branch December 12, 2025 03:35
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.

Get product info for exe_name and args

1 participant