Skip to content

Launch options: the basic settings first, the rest under Advanced settings (#37) - #54

Merged
LNPANDY merged 1 commit into
LNPANDY:mainfrom
v0lumehi:pr-37-advanced
Oct 27, 2026
Merged

LNPANDY merged 1 commit into
LNPANDY:mainfrom
v0lumehi:pr-37-advanced

Conversation

@v0lumehi

Copy link
Copy Markdown
Collaborator

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.json in one column of sections, so frame rate and render scale sat between the tuning switches.

Now: the basic settings come first, in their sections:

  • frame rate
  • render scale
  • console mode
  • language
  • rumble

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, from settings.tsv's new optional level column, 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 build and swift test pass (24 tests). The new LaunchOptionsTests covers the default split and a level from launcher.json taking precedence. Only frontend/ changes.

…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.
@LNPANDY
LNPANDY merged commit 88a18aa into LNPANDY:main 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.
@v0lumehi
v0lumehi deleted the pr-37-advanced branch November 1, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Launch options: basic settings first, the rest behind Advanced

2 participants