Skip to content

Distribution: Try to find existing launcher executable#250

Merged
iLLiCiTiT merged 2 commits intodevelopfrom
enhancement/try-to-find-existing-launcher
Aug 11, 2025
Merged

Distribution: Try to find existing launcher executable#250
iLLiCiTiT merged 2 commits intodevelopfrom
enhancement/try-to-find-existing-launcher

Conversation

@iLLiCiTiT
Copy link
Copy Markdown
Member

Changelog Description

Use guessed executable path of expected version if exists.

Additional info

Before this PR we only used executables that are stored in metadata json file. With this we also look into "expected" path of requested version to avoid unnecessary re-installation of the same version.

Testing notes:

  1. Install some older version of AYON launcher (e.g. 1.3.2).
  2. Use it in your bundle.
  3. Remove the older version from %LOCALAPPDATA%\Ynput\AYON\executables.json.
  4. Install this version of launcher.
  5. Start this version.
  6. It should not try ti re-install 1.3.2, but just use it.

@iLLiCiTiT iLLiCiTiT added the type: enhancement Improvement of existing functionality or minor addition label Aug 11, 2025
@iLLiCiTiT iLLiCiTiT self-assigned this Aug 11, 2025
@iLLiCiTiT iLLiCiTiT requested a review from antirotor August 11, 2025 13:14
@iLLiCiTiT iLLiCiTiT merged commit 2d36ff9 into develop Aug 11, 2025
1 check passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/try-to-find-existing-launcher branch August 11, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant