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
tools: compare resolved Path in is_repo so Windows slash/backslash matches
LNPANDY512e192b7d9d
diff --git a/tools/engine.py b/tools/engine.pyindex 57fa90f1..ab286887 100755--- a/tools/engine.py+++ b/tools/engine.py@@ -123,7 +123,9 @@ def write_stamp(eng, root, head, key=None):def is_repo(eng):- return (eng / '.git').is_dir() and git('rev-parse', '--show-toplevel', cwd=eng, check=False).stdout.strip() == str(eng.resolve())+ if not (eng / '.git').is_dir(): return False+ top = git('rev-parse', '--show-toplevel', cwd=eng, check=False).stdout.strip()+ return bool(top) and Path(top).resolve() == eng.resolve()def head(eng):