Repository navigation
Launch options: the basic settings first, the rest under Advanced settings (#37) - #54
Merged
Merged
Conversation
…tings (LNPANDY#37) The sheet listed every row of the app's launcher.json in one column of sections (Game, Controls, Performance), so the settings a player changes most sat among the ones only a tuning session needs. The basic ones come first now, in their sections: frame rate, render scale, console mode, language and rumble. The rest is behind an Advanced settings row that says how many it holds and opens them in place. Which rows are basic comes from the list when it says so (a row's level, seedds/nxnative#399: settings.tsv's optional level column), else from the launcher's own list of those five. Apps packed before the column show the same split. LaunchOptionsTests: the default split, and a level in launcher.json winning over it.
This was referenced Oct 27, 2026
LNPANDY
added a commit
that referenced
this pull request
Oct 27, 2026
The update machinery was already here — checkAppUpdate finds the newest release, performAppUpdate downloads it, swaps the bundle and relaunches — but the only signal was a status line naming a tag. A user whose app worked had no way to judge whether the new version mattered, so "Update to v0.4.8" was a leap of faith, and most people took the leap only when something broke. Now a found update opens a sheet: the version they have, the one on offer, the release notes for their interface language, Open the release page, Later, and Update now. It opens from the launch check and from Check for updates, so an old install learns what changed without visiting GitHub. The notes are the release body, which this project writes in both languages (docs/RELEASE-NOTES-GUIDE.md). UpdateSheet.lines splits them by the `**中文**` / `**English**` markers rather than by looking for Han characters — the first version did the latter and handed an English reader the Chinese paragraph, because that line contains both. A body with no markers is shown whole instead of being split in half. Six tests cover the split, including the two cases that failed on the first attempt (a monolingual body, and inline **bold** inside a marked paragraph). Checked against the real v0.4.7 body: 19 lines each way, aligned. appVersion 0.4.7 → 0.4.8: today's merges (#28, #48, #54–#57, #59, #60 and the #52/#53 fixes) were shipping under a version number that also names the 0.4.7 release, so a bug report could not say which one it came from.
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.
Closes #37. This is the first of four PRs in the order you suggested in #38: #37, then #35 + #36, then #38, then #34. Each one builds on the one before.
Before: the launch options listed every row of the app's
launcher.jsonin one column of sections, so frame rate and render scale sat between the tuning switches.Now: the basic settings come first, in their sections:
The rest sits behind an Advanced settings row. It shows how many settings it holds and opens them in place.
Which rows are basic comes from the list when the list says so. Each row can carry a
level, fromsettings.tsv's new optionallevelcolumn, sent upstream as seedds/nxnative#399. Without it, the launcher uses its own list of those five, so apps packed before #399 show the same split. This is the schema change you named as the base for the others. It lives upstream so the iOS launcher can use it too.Checked:
swift buildandswift testpass (24 tests). The newLaunchOptionsTestscovers the default split and alevelfromlauncher.jsontaking precedence. Onlyfrontend/changes.