EPOD Window Bar is a macOS agent app. It shows a thin strip above the Dock with one tab per window of the frontmost application. One click raises the window. Build from source with XcodeGen and Xcode. Signing uses Config.xcconfig (ad-hoc by default; a local Local.xcconfig can set a team ID). The app needs Accessibility and Screen Recording permissions, and runs in a reduced mode without Screen Recording. See README.md and docs/ for details.
15 lines
484 B
Swift
15 lines
484 B
Swift
import AppKit
|
|
|
|
// EPOD Window Bar entry point.
|
|
// The app is an agent (LSUIElement). It has no Dock icon and no main menu.
|
|
// The program starts on the main thread. The app and the delegate are
|
|
// main-actor isolated. MainActor.assumeIsolated makes the main-actor context
|
|
// available at the entry point.
|
|
MainActor.assumeIsolated {
|
|
let app = NSApplication.shared
|
|
let delegate = AppDelegate()
|
|
app.delegate = delegate
|
|
app.setActivationPolicy(.accessory)
|
|
app.run()
|
|
}
|