mirror of
https://github.com/horizon-rust/horizon-site.git
synced 2026-12-03 19:12:41 +07:00
[PR #7] [MERGED] Mods: list native mods, and the form takes .hnmod #9
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
horizon-rust/horizon-site#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/horizon-rust/horizon-site/pull/7
Author: @ludovic111
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @ludovic111
Base:
main← Head:fix/native-mods-on-the-site📝 Commits (1)
2db085fMods: list native mods, and the form takes .hnmod📊 Changes
4 files changed (+39 additions, -7 deletions)
View changed files
📝
build.mjs(+1 -1)📝
src/mods-submit.js(+2 -2)📝
src/mods.js(+17 -4)📝
src/mods.test.mjs(+19 -0)📄 Description
The registry's index lists 12 projects, 7 of them native mods (
kind = "native-mod"): Horizon's Zoom, FPS Counter, Keystrokes and Minimap, plus SmartF3, Veinminer and CarryBlock. The site keeps only the kinds it knows (KINDSinsrc/mods.js), so its next build would show 5 projects, and Horizon's official mods would be gone from /mods..hmodmods only. Versions show "made on Horizon 6f8c7a0" in place of the rawnative-1/<sha>/<sha>API string. "By hand" builds the mod withhorizon-launcher native-build FOLDER --trust-native-code, the command docs/native-mods.md documents..hnmod, and a file named<id>-<version>.hnmodsets the kind to Native mod. The registry's service already takesnative-mod(SmartF3 came through it, horizon-mods#28).Checks
HORIZON_CHECKOUT=<horizon main 1db57af> node build.mjs: built, 12 registry projects (5 on main's site). Checkeddist/mods/zoom.html: the Native code section, "made on Horizon 6f8c7a0", the native-build line.node --test src/ scripts/: 49 pass, 0 fail (one new test: index, filter, list badge, page, form).🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.