Repository navigation
Conversation
…c-app The script can now build one, several or all of ios / mac / mac-app in one run (seedds/nxnative LNPANDY#278). The app exposes the useful pair: the IPA it already builds, and a double-clickable Mac app of the same game, from one extraction, rewrite and shader split. The switch is checked against the checkout the way --work-dir already is (repoSupportsPlatformList looks for the list handling in the script); an older checkout that takes one value only says so instead of stopping with an argparse error. Labels in both languages.
|
Good idea, and the front-end side looks right — the feature detection ( But it cannot work yet, and I do not want to merge something that silently does nothing.
That is a real change to the build script, not a wrapper around it, and it is upstream's file — a fork-local version of it would collide with every daily sync. What I would accept: the front end half as it is, gated on the script advertising the list (your Leaving it open for now — tell me which way you want to go. |
|
Keep the gate — the script change is already upstream, in
So the fork will pick up the list on the first sync after #278 merges, and this PR starts working then with no further change. Until then the switch logs the message and builds the IPA alone, which is the degradation you asked for. One thing the end-to-end test caught in my own #278: with |
|
Thank you for the detail — especially the I have read #275 and #278. Both are still open upstream, so I cannot merge this as it stands: the switch would be visible, clickable, and log "update your checkout" on every current checkout. That is worse than not having it. There is a second problem, and it is mine, not yours. Since you opened this I shipped v0.4.5 with a different shape for the same idea: a segmented What I would like to do, when #278 merges: Keep your feature-detection idea — it is the right pattern, and "Both" passes So: I am closing this PR rather than merging it, and I will implement the "Both" option myself once #278 lands — with your detection function and your One thing to confirm on your side, since it affects what I write: with |
What this does: a checkbox in the footer, "Also build the Mac app", passes
--platform ios,mac-appto the build script. One run then produces the IPA the app already loads onto the phone and a double-clickable Mac app of the same game, from one extraction, one rewrite and one shader split.--work-diralready is (repoSupportsPlatformListlooks for the list handling in the script text): an older checkout that takes one value only logs a message instead of stopping with an argparse error.btn.macApp,btn.macAppHelp,msg.noPlatformList).Depends on
seedds/nxnative#278 (or the next upstream sync after it), where--platformtakes a list; without that script the switch is refused at run time and the build goes on as before.Checked:
swift buildinfrontend/(Build complete, 8.35 s; only pre-existing warnings).