Skip to content

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

Three owner reports from the rc5 test: the build notice race, 超分, centred dropdown words

LNPANDY914aa276dd85
diff --git a/frontend-qt/nspb_qt/localization.py b/frontend-qt/nspb_qt/localization.py
index 95bcf5c1..087f51a5 100644
--- a/frontend-qt/nspb_qt/localization.py
+++ b/frontend-qt/nspb_qt/localization.py
@@ -421,7 +421,7 @@ TABLE: dict[str, tuple[str, str, str, str, str]] = {
'launch.set.DM_OPMODE': ('主机模式', 'Console mode', 'Konsolläge', 'Konsolenmodus', 'Mode de la console'),
'launch.opt.DM_OPMODE.1': ('底座模式', 'Docked', 'Dockad', 'Angedockt', 'TV'),
'launch.opt.DM_OPMODE.0': ('掌机模式', 'Handheld', 'Handhållen', 'Handheld', 'Portable'),
- 'launch.set.DM_PRESENT_UPSCALE': ('放大', 'Upscaling', 'Uppskalning', 'Hochskalierung', 'Mise à l’échelle'),
+ 'launch.set.DM_PRESENT_UPSCALE': ('超分', 'Upscaling', 'Uppskalning', 'Hochskalierung', 'Mise à l’échelle'),
'launch.set.DM_PRESENT_UPSCALE.note': ('占用更多 GPU 时间,可能增加发热。', 'Uses more GPU time and can increase heat.', 'Använder mer GPU-tid och kan öka värmen.', 'Braucht mehr GPU-Zeit und kann die Wärme erhöhen.', 'Utilise plus de temps GPU et peut faire chauffer davantage.'),
'launch.opt.DM_PRESENT_UPSCALE.off': ('标准', 'Standard', 'Standard', 'Standard', 'Standard'),
'launch.set.DM_LANG': ('游戏语言', 'Game language', 'Spelspråk', 'Spielsprache', 'Langue du jeu'),
diff --git a/frontend/Sources/NSPortBuilder/BuildNotifications.swift b/frontend/Sources/NSPortBuilder/BuildNotifications.swift
index e41e0aae..8c5e240b 100644
--- a/frontend/Sources/NSPortBuilder/BuildNotifications.swift
+++ b/frontend/Sources/NSPortBuilder/BuildNotifications.swift
@@ -83,6 +83,11 @@ final class BuildNotifier: NSObject, ObservableObject, UNUserNotificationCenterD
// ended the build has finished (it sets done and its note after running).
let stopped = m.stopping
DispatchQueue.main.async {
+ // The iPhone target's build ends its script and then packs the image and installs
+ // into the shell: `running` flips false while `done` is still false, and the real
+ // outcome lands when that chain finishes. No failed stage means the build is between
+ // its phases, not over — stay quiet and let the chain's own end decide.
+ if !stopped && !m.done && !m.stages.contains(where: { $0.state == .failed }) { return }
let outcome: BuildNotice.Outcome = stopped ? .stopped
: m.done ? .finished : .failed(reason: BuildNotice.failureReason(note: m.doneNote, stages: m.stages))
guard BuildNotice.shouldNotify(outcome, enabled: BuildNotice.enabled, appActive: NSApp.isActive, hasBundleID: true) else { return }
diff --git a/frontend/Sources/NSPortBuilder/LauncherDropdown.swift b/frontend/Sources/NSPortBuilder/LauncherDropdown.swift
index aac1f224..e7af1653 100644
--- a/frontend/Sources/NSPortBuilder/LauncherDropdown.swift
+++ b/frontend/Sources/NSPortBuilder/LauncherDropdown.swift
@@ -243,6 +243,7 @@ struct LauncherDropdown: View {
let shape = RoundedRectangle(cornerRadius: rounded ? 9 : 99)
let width = fill ? nil : rowWidth
return HStack(spacing: 8) {
+ if fill || width != nil { Spacer(minLength: 0) } // a fixed-width dropdown centres its words
Text(current).font(.manrope(rounded ? 13 : 12.5, .semibold)).lineLimit(1)
.minimumScaleFactor(width == nil ? 1 : 0.85)
.fixedSize(horizontal: !fill && width == nil, vertical: false)
diff --git a/frontend/Sources/NSPortBuilder/Localization.swift b/frontend/Sources/NSPortBuilder/Localization.swift
index 009ff6bd..879ce902 100644
--- a/frontend/Sources/NSPortBuilder/Localization.swift
+++ b/frontend/Sources/NSPortBuilder/Localization.swift
@@ -466,7 +466,7 @@ enum L10n {
"launch.set.DM_OPMODE": ("主机模式", "Console mode"),
"launch.opt.DM_OPMODE.1": ("底座模式", "Docked"),
"launch.opt.DM_OPMODE.0": ("掌机模式", "Handheld"),
- "launch.set.DM_PRESENT_UPSCALE": ("放大", "Upscaling"),
+ "launch.set.DM_PRESENT_UPSCALE": ("超分", "Upscaling"),
"launch.set.DM_PRESENT_UPSCALE.note": ("占用更多 GPU 时间,可能增加发热。", "Uses more GPU time and can increase heat."),
"launch.opt.DM_PRESENT_UPSCALE.off": ("标准", "Standard"),
"launch.set.DM_LANG": ("游戏语言", "Game language"),