[PR #2609] [MERGED] Launcher: Update all for installed packs #4472

Closed
opened 2026-11-03 04:17:23 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: feat/launcher-update-all


📝 Commits (1)

  • cac63de Launcher: Update all for installed packs

📊 Changes

3 files changed (+101 additions, -6 deletions)

View changed files

📝 docs/mod-browser.md (+3 -1)
📝 launcher/README.md (+2 -2)
📝 launcher/src/mods_page.rs (+96 -3)

📄 Description

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

Clean room: designed from the feature list in briefs/launcher-features-1.md; no other launcher's code, docs or assets were read.

Item 8 of the launcher features. Stacked on #2604.

What

  • Mods page → Installed: Update all (N) appears when newer versions were found (N counts every kind, whichever tab is open). It updates each of those packs in turn on a thread through the same installed::install as one Update (each download checked against its checksum, the old file replaced), shows "Updating · 1 of 2: …", and ends with one line naming what was updated. A pack that fails is named after "Not updated:" and doesn't stop the others.
  • The CLI already had it: horizon-launcher mods update with no pack name updates everything (MCP mods_update).
  • docs/mod-browser.md and the launcher README mention it.

Screenshots (scratch homes; two real Modrinth resource packs installed, then their recorded versions edited to look older)

before
updating
done

mod-browser.json afterwards: [('Borderless Glass', '1.0.2-mc26.3'), ('Stained Glass Ultra', '4.1')] (were …-old).

Proof

  • cargo fmt --check, cargo clippy --all-targets --locked --features gpui/runtime_shaders -- -D warnings: clean; cargo test --locked --lib 155 passed, --bin horizon-launcher 35 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/2609 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/launcher-update-all` --- ### 📝 Commits (1) - [`cac63de`](https://github.com/horizon-rust/horizon/commit/cac63dedca1ff062acee58b1c688e5809ad259c8) Launcher: Update all for installed packs ### 📊 Changes **3 files changed** (+101 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `docs/mod-browser.md` (+3 -1) 📝 `launcher/README.md` (+2 -2) 📝 `launcher/src/mods_page.rs` (+96 -3) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Clean room: designed from the feature list in briefs/launcher-features-1.md; no other launcher's code, docs or assets were read. Item 8 of the launcher features. Stacked on #2604. ## What - Mods page → Installed: **Update all (N)** appears when newer versions were found (N counts every kind, whichever tab is open). It updates each of those packs in turn on a thread through the same `installed::install` as one Update (each download checked against its checksum, the old file replaced), shows "Updating · 1 of 2: …", and ends with one line naming what was updated. A pack that fails is named after "Not updated:" and doesn't stop the others. - The CLI already had it: `horizon-launcher mods update` with no pack name updates everything (MCP `mods_update`). - docs/mod-browser.md and the launcher README mention it. ## Screenshots (scratch homes; two real Modrinth resource packs installed, then their recorded versions edited to look older) ![before](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/launcher-features/item-08-update-all/ua_2.png) ![updating](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/launcher-features/item-08-update-all/ua_3.png) ![done](https://raw.githubusercontent.com/ludovic111/horizon/screenshots/launcher-features/item-08-update-all/ua_4.png) `mod-browser.json` afterwards: `[('Borderless Glass', '1.0.2-mc26.3'), ('Stained Glass Ultra', '4.1')]` (were `…-old`). ## Proof - `cargo fmt --check`, `cargo clippy --all-targets --locked --features gpui/runtime_shaders -- -D warnings`: clean; `cargo test --locked --lib` 155 passed, `--bin horizon-launcher` 35 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 04:17:23 +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#4472
No description provided.