BrewBar/BrewBar
maxsoch 59683ee8a9 fix: bring windows to front and into Cmd-Tab while open
Accessory apps never appear in the Cmd-Tab switcher and macOS does not
activate them when they open windows — the log window opened behind
other apps (settings only worked via a manual activate call).

presentWindow(of:) now switches the activation policy to .regular
while a BrewBar window is open, giving a Dock icon and a Cmd-Tab entry;
a willClose observer drops back to .accessory once the last window is
gone. Used by both showLogs and showSettings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 05:58:23 +02:00
..
Assets.xcassets Adding Xcode project; base code available and working 2026-06-30 17:40:51 +02:00
BrewBarApp.swift fix: bring windows to front and into Cmd-Tab while open 2026-07-07 05:58:23 +02:00
BrewParser.swift fetch outdated as JSON; auto-upgrade only for matching package kinds 2026-07-06 22:27:37 +02:00
Info.plist Adding Xcode project; base code available and working 2026-06-30 17:40:51 +02:00
LogWindowController.swift add dev tooling from /init: swiftlint, skills, gitignore; apply swiftformat 2026-07-06 21:07:17 +02:00
Settings.swift add UserDefaults-backed Settings storage 2026-07-06 22:03:19 +02:00
SettingsWindowController.swift explain the greedy setting in the settings window 2026-07-06 22:18:23 +02:00