[PR #3548] [CLOSED] Launcher: discover Minecraft installations in ElyPrismLauncher #5040

Closed
opened 2026-11-03 05:09:49 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3548
Author: @NikitaRTN
Created: 10/29/2026
Status: ❌ Closed

Base: main ← Head: fix/elyprism-discovery


📝 Commits (1)

  • 82f6a2f Launcher: find Minecraft files in ElyPrismLauncher

📊 Changes

2 files changed (+54 additions, -0 deletions)

View changed files

📝 launcher/src/sources.rs (+4 -0)
📝 launcher/src/sources_tests.rs (+50 -0)

📄 Description

Opened by NikitaRTN's AI agent, not by NikitaRTN personally.

What and why

Recognize ElyPrismLauncher as a Prism-style Minecraft installation source.

  • Add its standard data folder to automatic discovery on Windows, Linux and macOS.
  • Recognize the folder name in diagnostics for a selected instance.
  • Test choosing instances, an instance itself, its minecraft folder and a child folder, reusing shared root-level libraries/assets rather than requiring the client jar inside the instance.
  • Test automatic discovery for all three OS folder layouts.

The Windows installation layout was checked locally. Linux/macOS folder layouts are covered by synthetic tests, not claimed as manually tested on those systems.

Installation discovery only: no Ely.by authentication, account/license-gate changes, telemetry changes or other privacy-fork changes are included.

Vanilla reference

Horizon-only launcher installation discovery. No gameplay changes; no parity harness needed. No UI layout changes.

Verification

GitHub CI passed for the current PR head 82f6a2fc6: checks run. Both verify and launcher succeeded. The CI Python suite ran 408 tests successfully. Parity jobs were skipped by the workflow; this is not a claim of parity execution.

The added ElyPrism discovery test passed in CI. Launcher CI: 250 passed, 2 ignored, 0 failed. The local Windows launcher run also passed all 243 tests.

Local Windows self-check (completed; environment/platform failures)

The following is the completed local result, not the GitHub CI result. Local Python 3.10 cannot import tomllib; the suite also has platform-related failures. Local Rust 1.95 Clippy reports warnings in unchanged upstream code. Neither PR changes Python tools or those linted statements. These local failures are retained here rather than reported as passes. The current PR heads passed upstream CI without suppressing lints or changing unrelated code.

pr_ready (tools/pr_ready.py --quick on Windows (hostname redacted), against origin/main at 5a30084c1, 7 min 23 s)

Check Result
Scope PASS 2 files, +54 -0
Cargo.lock PASS unchanged
Public tree PASS
Python tests FAIL 389 run, FAILED (failures=1, errors=12, skipped=11) (1 min 27 s)
rustfmt SKIP no Rust change
clippy SKIP no Rust change
tests SKIP no crate touched
doc tests SKIP no crate touched
content root tests SKIP content root untouched
tokens.css up to date SKIP theme untouched
launcher rustfmt PASS (2 s)
launcher clippy FAIL failed (3 min 23 s)
launcher tests PASS 243 passed (2 min 26 s)
Parity SKIP not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

Checked upstream main at 1816cf0b5: automatic discovery still does not include ElyPrismLauncher. The recently merged launcher-instance importer (#3612) is separate and does not add this source.

Maintainer edits are allowed.

Made with AI — GPT 6.1 Sol.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3548 **Author:** [@NikitaRTN](https://github.com/NikitaRTN) **Created:** 10/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/elyprism-discovery` --- ### 📝 Commits (1) - [`82f6a2f`](https://github.com/horizon-rust/horizon/commit/82f6a2fc6d7f7b77d7b888c096df902a30d9798c) Launcher: find Minecraft files in ElyPrismLauncher ### 📊 Changes **2 files changed** (+54 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/sources.rs` (+4 -0) 📝 `launcher/src/sources_tests.rs` (+50 -0) </details> ### 📄 Description > Opened by NikitaRTN's AI agent, not by NikitaRTN personally. ## What and why Recognize `ElyPrismLauncher` as a Prism-style Minecraft installation source. - Add its standard data folder to automatic discovery on Windows, Linux and macOS. - Recognize the folder name in diagnostics for a selected instance. - Test choosing `instances`, an instance itself, its `minecraft` folder and a child folder, reusing shared root-level libraries/assets rather than requiring the client jar inside the instance. - Test automatic discovery for all three OS folder layouts. The Windows installation layout was checked locally. Linux/macOS folder layouts are covered by synthetic tests, not claimed as manually tested on those systems. Installation discovery only: no Ely.by authentication, account/license-gate changes, telemetry changes or other privacy-fork changes are included. ## Vanilla reference Horizon-only launcher installation discovery. No gameplay changes; no parity harness needed. No UI layout changes. ## Verification **GitHub CI passed for the current PR head `82f6a2fc6`:** [checks run](https://github.com/horizon-rust/horizon/actions/runs/40839135400). Both `verify` and `launcher` succeeded. The CI Python suite ran 408 tests successfully. Parity jobs were skipped by the workflow; this is not a claim of parity execution. The added ElyPrism discovery test passed in CI. Launcher CI: **250 passed, 2 ignored, 0 failed**. The local Windows launcher run also passed all 243 tests. ### Local Windows self-check (completed; environment/platform failures) The following is the completed local result, not the GitHub CI result. Local Python 3.10 cannot import `tomllib`; the suite also has platform-related failures. Local Rust 1.95 Clippy reports warnings in unchanged upstream code. Neither PR changes Python tools or those linted statements. These local failures are retained here rather than reported as passes. The current PR heads passed upstream CI without suppressing lints or changing unrelated code. **pr_ready** (`tools/pr_ready.py --quick` on Windows (hostname redacted), against origin/main at 5a30084c1, 7 min 23 s) | Check | Result | | --- | --- | | Scope | PASS 2 files, +54 -0 | | Cargo.lock | PASS unchanged | | Public tree | PASS | | Python tests | FAIL 389 run, FAILED (failures=1, errors=12, skipped=11) (1 min 27 s) | | rustfmt | SKIP no Rust change | | clippy | SKIP no Rust change | | tests | SKIP no crate touched | | doc tests | SKIP no crate touched | | content root tests | SKIP content root untouched | | tokens.css up to date | SKIP theme untouched | | launcher rustfmt | PASS (2 s) | | launcher clippy | FAIL failed (3 min 23 s) | | launcher tests | PASS 243 passed (2 min 26 s) | | Parity | SKIP not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | Checked upstream main at 1816cf0b5: automatic discovery still does not include `ElyPrismLauncher`. The recently merged launcher-instance importer (#3612) is separate and does not add this source. Maintainer edits are allowed. Made with AI — GPT 6.1 Sol. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:09:49 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5040
No description provided.