[PR #5473] [MERGED] Launcher: a native rebuild starts without the old build's mod data #6309

Closed
opened 2026-11-03 06:18:03 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5473
Author: @levzzz5154
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @levzzz5154

Base: main ← Head: fix/native-data-rebuild


📝 Commits (1)

  • 6b268f8 Launcher: a native rebuild starts without the old build's native-data

📊 Changes

1 file changed (+32 additions, -9 deletions)

View changed files

📝 launcher/src/native_mods.rs (+32 -9)

📄 Description

🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally.

A native build starts from a copy of the version it is built on, and that can be an earlier native build. install copied everything but the game and its record, so the old build's native-data/ came along: a mod turned off kept its post-build data in the new build, and a step that writes a file only sometimes found last build's.

Fix: native-data is skipped like the game binary and native-mods.json; the new build's post-build steps write it again. The skip list is now carried_over, with a test.

Launcher native_mods tests, clippy -D warnings and fmt pass.

🤖 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/5473 **Author:** [@levzzz5154](https://github.com/levzzz5154) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/native-data-rebuild` --- ### 📝 Commits (1) - [`6b268f8`](https://github.com/horizon-rust/horizon/commit/6b268f8469b4988e9bad14fec53a678acc849ad9) Launcher: a native rebuild starts without the old build's native-data ### 📊 Changes **1 file changed** (+32 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/native_mods.rs` (+32 -9) </details> ### 📄 Description > 🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally. A native build starts from a copy of the version it is built on, and that can be an earlier native build. `install` copied everything but the game and its record, so the old build's `native-data/` came along: a mod turned off kept its post-build data in the new build, and a step that writes a file only sometimes found last build's. **Fix:** `native-data` is skipped like the game binary and `native-mods.json`; the new build's post-build steps write it again. The skip list is now `carried_over`, with a test. Launcher `native_mods` tests, clippy `-D warnings` and fmt pass. 🤖 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 06:18:03 +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#6309
No description provided.