Skip to content

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

The onboarding header acts as the title bar on double-click, as the launcher's does

v0lumehic8c749fb3399
diff --git a/frontend/Sources/NSPortBuilder/OnboardingView.swift b/frontend/Sources/NSPortBuilder/OnboardingView.swift
index 0e2fe573..9e25530b 100644
--- a/frontend/Sources/NSPortBuilder/OnboardingView.swift
+++ b/frontend/Sources/NSPortBuilder/OnboardingView.swift
@@ -126,6 +126,7 @@ import UniformTypeIdentifiers
.frame(width: 130, alignment: .trailing)
}
.padding(.horizontal, 40).padding(.top, 40).padding(.bottom, 12)
+ .background(TitlebarDoubleClick()) // an empty part of the header acts as the title bar does
}
private var heading: some View {