Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.
Swift apple-siliconcustom-formathomebrewiosipaipadipadosiphonemetalnative-portnintendo-switchnxnativeromfsswitch-games
CONTRIBUTING: how outside pull requests are handled
v0lumehi9cb1b6c8badf
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 9b83bc89..a125bbde 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -41,6 +41,22 @@ missing piece.- **`frontend/` and `frontend-qt/` are the fork's own:** change them freely. Run `cd frontend && swift test`. For a UI change also capture the views for visual QA (`NX_LAUNCHER_CAPTURE_DIR`, see [frontend/README.md](frontend/README.md#verification)).- **The engine is not in this repository.** `dm/`, `scripts/`, `docs/` and `ref/` are seedds/nxnative at the commit in `.upstream-ref` with the patches in `patches/` applied, built into `engine/` by `python3 tools/engine.py sync` (a git repository that git ignores here, #214). A PR that adds files under those paths fails the `pr-scope` check, because the next sync would not carry them. A fix to the engine or to a game profile lands here first, as a patch, and goes to seedds/nxnative as a pull request in parallel, as [patches/README.md](patches/README.md#here-first-upstream-in-parallel) states. If you cannot open the upstream pull request, a maintainer sends it. To make the patch, commit the change in `engine/`, run `python3 tools/engine.py export`, fill in the header of the new patch (`Upstream-Status`, `Reason`, `Issue`), run `python3 tools/engine.py check`, and commit `patches/` with it. That page walks through the steps and states the patch policy (what a patch may and may not change). Everything else in the repository root and under `.github/` (this file, `CLAUDE.md`, `AGENTS.md`, the README) is the fork's.+### Fixes, features and ideas++A fix is welcome without asking first.++A feature can be opened as a pull request on its own. It needs an issue that describes the idea. Write it within 48 hours of the first reply from a maintainer. One maintainer has to agree to the idea before the PR merges. If the issue is never written, the PR is closed with a note that it can be reopened. A PR is not closed on arrival for a missing issue.++To talk about an idea before you write code, use [Discussions](https://github.com/LNPANDY/NX2Apple/discussions).++### What happens to your PR++A pull request from outside never merges automatically. One maintainer tries the app that CI built for the PR, which is the `NX2Apple-macOS-arm64` artifact of the Build Mac app run. The same maintainer reviews the code. Whoever looks first decides.++If the maintainers do not want a change, they say so early, explain why, and close the PR. They may keep parts of it and credit you as co-author.++A PR that waits on its author for 30 days is closed with a note that it can be reopened.+## For AI agents and other toolsIssue forms and the PR template apply in the browser only. `gh issue create`, the API and MCP tools skip the forms, so follow them yourself:diff --git a/CONTRIBUTING.zh-CN.md b/CONTRIBUTING.zh-CN.mdindex b489f0b1..35d01bb8 100644--- a/CONTRIBUTING.zh-CN.md+++ b/CONTRIBUTING.zh-CN.md@@ -14,3 +14,23 @@所有人都受益。带完整 `Documents/log.txt` 的 issue 会优先看——那份日志通常能直接指出缺的是什么。++## 提 pull request++提 pull request 的基本规则(一个 PR 一项改动、PR 模板、截图、引擎与补丁)见[英文版](CONTRIBUTING.md#a-pull-request)。下面是外部贡献者的 PR 如何处理。++### 修复、功能和想法++修复无需事先询问,直接提交即可。++功能可以直接以 pull request 的形式提交。它需要一个描述该想法的 issue,请在维护者第一次回复后的 48 小时内写好。合并前需要一位维护者认可这个想法。如果始终没有人写这个 issue,PR 会被关闭,并附一条说明,之后可以重新打开。PR 不会因为缺少 issue 而在提交时就被关闭。++想在写代码之前先聊聊想法,请用 [Discussions](https://github.com/LNPANDY/NX2Apple/discussions)。++### 你的 PR 会怎样++来自外部的 pull request 不会自动合并。一位维护者会试用 CI 为这个 PR 构建的应用,也就是 Build Mac app 这次运行的 `NX2Apple-macOS-arm64` 构建产物。同一位维护者也会审查代码。谁先看到,谁来决定。++如果维护者不想要某项改动,会尽早说明,解释原因,并关闭该 PR。他们可以保留其中一部分,并把你列为共同作者。++PR 如果等待作者回复满 30 天,会被关闭,并附一条说明,之后可以重新打开。