summaryrefslogtreecommitdiff
path: root/Sources/BubombApp/main.swift
diff options
context:
space:
mode:
authorgigagamerchaddhruv-spec <gigagamerchaddhruv-spec@users.noreply.github.com>2026-10-14 20:18:20 +0530
committergigagamerchaddhruv-spec <gigagamerchaddhruv-spec@users.noreply.github.com>2026-10-14 20:18:20 +0530
commitaceca8b5dfc8edd378ee9ff891bccb0f94c69f31 (patch)
tree08401ce8d050afbbe77514f479601a8e9535f4ec /Sources/BubombApp/main.swift
feat: launch Bubomb - native macOS menu bar utility ('Configure the boom')HEADmain
Diffstat (limited to 'Sources/BubombApp/main.swift')
-rw-r--r--Sources/BubombApp/main.swift8
1 files changed, 8 insertions, 0 deletions
diff --git a/Sources/BubombApp/main.swift b/Sources/BubombApp/main.swift
new file mode 100644
index 0000000..11e3fbe
--- /dev/null
+++ b/Sources/BubombApp/main.swift
@@ -0,0 +1,8 @@
+import AppKit
+
+MainActor.assumeIsolated {
+ let app = NSApplication.shared
+ let delegate = AppDelegate()
+ app.delegate = delegate
+ _ = NSApplicationMain(CommandLine.argc, CommandLine.unsafeArgv)
+}