Skip to content

Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.

Windows: name the PortableGit step in the log, and ignore the wheels folder

LNPANDY265496a53de2
diff --git a/.gitignore b/.gitignore
index a1326177..cd3ef459 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,3 +35,5 @@ frontend/NX2Apple.app/
# the virtual environment the README creates for the Python packages
.venv/
+frontend-qt/wheels/
+frontend-qt/NS-Port-Builder-qt-windows-x64.zip
diff --git a/frontend-qt/nspb_qt/localization.py b/frontend-qt/nspb_qt/localization.py
index b41eb245..440b0c5a 100644
--- a/frontend-qt/nspb_qt/localization.py
+++ b/frontend-qt/nspb_qt/localization.py
@@ -638,6 +638,8 @@ TABLE: dict[str, tuple[str, str, str]] = {
'dep.fix.brewMissing': ('没装 Homebrew:从 brew.sh 安装(安装程序会要你的密码),再点「重新检测」。', 'Homebrew is not installed: install it from brew.sh (the installer asks for your password), then press Check again.', 'Homebrew är inte installerat. Installera från brew.sh. Installationsprogrammet ber om ditt lösenord. Välj sedan ”Kontrollera igen”.'),
'dep.fix.xcodeLicense': ('Xcode 的许可协议还没接受:运行 sudo xcodebuild -license accept。', "Xcode's license is not accepted yet: run sudo xcodebuild -license accept.", 'Xcodes licensavtal är inte godkänt. Kör sudo xcodebuild -license accept.'),
'dep.fix.network': ('下载失败了:检查网络(代理或 VPN 可能拦住了 Homebrew 的域名),再试一次。', "The download failed: check the network (a proxy or VPN can block Homebrew's hosts) and try again.", 'Hämtningen misslyckades. Kontrollera nätverket; proxy eller VPN kan blockera Homebrews domäner. Försök sedan igen.'),
+ 'dep.git.downloading': ('正在下载 PortableGit(SDK 下载需要它,约 45 MB)…', 'Downloading PortableGit (the SDK download needs it, about 45 MB)…', 'Downloading PortableGit (the SDK download needs it, about 45 MB)…'),
+ 'dep.git.done': ('PortableGit 已安装:%@', 'PortableGit installed: %@', 'PortableGit installed: %@'),
'dep.fix.nonascii': ('SDK 所在路径含非英文字符(比如用户名里的中文):ld64.lld 在 Windows 上可能因此打不开 SDK 文件。把整个 SDK 文件夹拷到一个纯英文路径(如 C:\\\\NSPB\\\\sdk),然后在依赖面板用「选择文件夹…」指向它。', "The SDK path contains non-ASCII characters (a Chinese username, for example): ld64.lld on Windows may fail to open it. Copy the whole SDK folder to an ASCII-only path (e.g. C:\\\\NSPB\\\\sdk) and point the dependencies panel's Choose folder… at it.", "The SDK path contains non-ASCII characters (a Chinese username, for example): ld64.lld on Windows may fail to open it. Copy the whole SDK folder to an ASCII-only path (e.g. C:\\\\NSPB\\\\sdk) and point the dependencies panel's Choose folder… at it."),
'dep.row.log': ('依赖 %@:[%@] %@', 'dependency %@: [%@] %@', 'dependency %@: [%@] %@'),
'dep.fix.diskspace': ('磁盘空间不足:清理后(SDK 和工具链解压需要数 GB)再点「安装」。', 'The disk is full: free some space (the SDK and toolchains unpack to several GB) and press Install again.', 'The disk is full: free some space (the SDK and toolchains unpack to several GB) and press Install again.'),
diff --git a/frontend/Sources/NSPortBuilder/Localization.swift b/frontend/Sources/NSPortBuilder/Localization.swift
index 925e8ebe..0f847b4a 100644
--- a/frontend/Sources/NSPortBuilder/Localization.swift
+++ b/frontend/Sources/NSPortBuilder/Localization.swift
@@ -739,6 +739,8 @@ enum L10n {
"Xcode's license is not accepted yet: run sudo xcodebuild -license accept."),
"dep.fix.network": ("下载失败了:检查网络(代理或 VPN 可能拦住了 Homebrew 的域名),再试一次。",
"The download failed: check the network (a proxy or VPN can block Homebrew's hosts) and try again."),
+ "dep.git.downloading": ("正在下载 PortableGit(SDK 下载需要它,约 45 MB)…", "Downloading PortableGit (the SDK download needs it, about 45 MB)…"),
+ "dep.git.done": ("PortableGit 已安装:%@", "PortableGit installed: %@"),
"dep.fix.nonascii": ("SDK 所在路径含非英文字符(比如用户名里的中文):ld64.lld 在 Windows 上可能因此打不开 SDK 文件。把整个 SDK 文件夹拷到一个纯英文路径(如 C:\\NSPB\\sdk),然后在依赖面板用「选择文件夹…」指向它。",
"The SDK path contains non-ASCII characters (a Chinese username, for example): ld64.lld on Windows may fail to open it. Copy the whole SDK folder to an ASCII-only path (e.g. C:\\NSPB\\sdk) and point the dependencies panel's Choose folder… at it."),
"dep.row.log": ("依赖 %@:[%@] %@", "dependency %@: [%@] %@"),