[PR #4049] [MERGED] Launcher: a Java instance's Home shows its own game, not Horizon's versions #5379

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4049
Author: @ludovic111
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @ludovic111

Base: main ← Head: fix/launcher-java-home-version


📝 Commits (1)

  • fcea811 Launcher: a Java instance's Home shows its own game, not Horizon's versions

📊 Changes

1 file changed (+13 additions, -4 deletions)

View changed files

📝 launcher/src/main.rs (+13 -4)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

On a Java instance, Home showed Horizon's version picker beside Play: "No version", or a Horizon nightly
that has nothing to do with the game this instance plays. The hero also offered Horizon's next nightly
("Nightly … available") and started downloading it.

What changes

  • Picker: a Java instance's Home no longer draws Horizon's version picker.
  • Hero line: it no longer shows Horizon's update line.
  • Chip: the hero chip names the instance's own game: MINECRAFT 1.21.1 · FABRIC 0.16.9 · READY
    (MINECRAFT 1.21.4 · READY without a loader).
  • Horizon instances: unchanged; they keep the picker and their updates.

can_start, the Play press (play_press) and the rows below the hero are untouched. One file, +13 −4.

Checked

Real launcher, scratch homes (isolated HORIZON_HOME, launcher home, XDG, Trash, clipboard, desktop),
a Fabric 1.21.1 Java instance and the default Horizon instance, Mac mini:

  • Java instance, after: ~/builds/horizon/launcher-redesign-2/fix-java-home-after.png. No picker,
    no update line, chip with the version and loader.
  • Before (main): ~/builds/horizon/launcher-redesign-2/r3-home-night-1280x800.png shows the nightly
    picker next to Play.
  • Horizon instance, after: ~/builds/horizon/launcher-redesign-2/fix-horizon-home-after.png. Picker
    and update line as before.

Launcher: cargo fmt --check ✅, cargo clippy --all-targets --locked -- -D warnings ✅,
cargo test --lib ✅ 278 passed.

🤖 Generated with Claude Code


🔄 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/4049 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/launcher-java-home-version` --- ### 📝 Commits (1) - [`fcea811`](https://github.com/horizon-rust/horizon/commit/fcea81151c2f76d8611d6b9c570ed7695ca3e711) Launcher: a Java instance's Home shows its own game, not Horizon's versions ### 📊 Changes **1 file changed** (+13 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/main.rs` (+13 -4) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. On a Java instance, Home showed Horizon's version picker beside Play: "No version", or a Horizon nightly that has nothing to do with the game this instance plays. The hero also offered Horizon's next nightly ("Nightly … available") and started downloading it. ## What changes - **Picker:** a Java instance's Home no longer draws Horizon's version picker. - **Hero line:** it no longer shows Horizon's update line. - **Chip:** the hero chip names the instance's own game: `MINECRAFT 1.21.1 · FABRIC 0.16.9 · READY` (`MINECRAFT 1.21.4 · READY` without a loader). - **Horizon instances:** unchanged; they keep the picker and their updates. `can_start`, the Play press (`play_press`) and the rows below the hero are untouched. One file, +13 −4. ## Checked Real launcher, scratch homes (isolated `HORIZON_HOME`, launcher home, XDG, Trash, clipboard, desktop), a Fabric 1.21.1 Java instance and the default Horizon instance, Mac mini: - Java instance, after: `~/builds/horizon/launcher-redesign-2/fix-java-home-after.png`. No picker, no update line, chip with the version and loader. - Before (main): `~/builds/horizon/launcher-redesign-2/r3-home-night-1280x800.png` shows the nightly picker next to Play. - Horizon instance, after: `~/builds/horizon/launcher-redesign-2/fix-horizon-home-after.png`. Picker and update line as before. Launcher: `cargo fmt --check` ✅, `cargo clippy --all-targets --locked -- -D warnings` ✅, `cargo test --lib` ✅ 278 passed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:12:10 +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#5379
No description provided.