Repository navigation
Conversation
RVX API 1.84 splits the manifest's library count into two 16-bit halves: the number of listed libraries, then how many of the last ones are optional. Read both, so packages with optional libraries parse, and require only the others to be installed, as the firmware does.
This was referenced Nov 25, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge before RepriseOS/repriseos#90 and #23. Both this PR and #23 add a test at the same spot in
src-tauri/src/extensions/tests.rs; keep both.RVX API 1.84 (RepriseOS/repriseos#90) splits the manifest's library count at offset 52 into two 16-bit counts: the listed libraries, then how many of the last ones are optional. The installer reads one 32-bit word, so a package with an optional library, such as Night Shift 0.1.3 from RepriseOS/extensions#2, fails with "Invalid RVX package" and is missing from the installed list.
The installer reads both counts and checks every listed id. Only required libraries have to be installed first or block a removal, as on the firmware. Older packages have 0 in the second half and parse as before.
A RepriseOS release with API 1.84 or later needs an installer release with this first, or released installers cannot install Night Shift 0.1.3.