// SPDX-FileCopyrightText: 2026 Kaede Akino // SPDX-License-Identifier: GPL-3.0-only import AppKit @MainActor enum TerminalNotificationPlatform { static func ringBell() { guard ProcessInfo.processInfo.environment["XCTestConfigurationFilePath"] == nil else { return } NSSound.beep() } static func openSettings() { if let url = URL(string: "x-apple.systempreferences:com.apple.Notifications-Settings.extension") { NSWorkspace.shared.open(url) } } }