Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.
Swift apple-silicond3dmetaldxmtdxvkfexgame-porting-toolkitgamingmac-gamingmacosmetalmoltenvksteamswiftuivkd3d-protonwhisky-alternativewindows-gameswinewine-wrapper
Dark appearance for the whole app, not only the SwiftUI content
Gauthier Piarrette26f9cc42e9b0
diff --git a/Sources/HighballApp/HighballApp.swift b/Sources/HighballApp/HighballApp.swiftindex 4e1fb8b..a36af6e 100644--- a/Sources/HighballApp/HighballApp.swift+++ b/Sources/HighballApp/HighballApp.swift@@ -101,6 +101,10 @@ final class AppDelegate: NSObject, NSApplicationDelegate {}func applicationDidFinishLaunching(_ notification: Notification) {+ // The UI is dark by design (preferredColorScheme), but AppKit chrome (scroll bars,+ // alerts, menus, open panels) follows the window appearance, which stayed light on a+ // light-mode Mac: a pale scroll bar down a dark library. One appearance for everything.+ NSApp.appearance = NSAppearance(named: .darkAqua)// Works as a bare SwiftPM executable during development: give it a real UI presence.// A bundled app is activated by macOS on its own; forcing it here would also drag// Highball in front of a game a Mac-app stub just started with `open -g` (issue #53).