Ariver
2026-07-13 14a1efc86d0295be3a0d3fe1ebe7b8080266da2d
C1.source/Sources/Aligner/DebugWindowActivationService.swift
@@ -3,6 +3,19 @@
final class DebugWindowActivationService: WindowActivationServiceProtocol {
    func activate(window: AlignerWindow) throws -> WindowActivationResult {
        switch ProcessInfo.processInfo.environment["ALIGNER_DEBUG_WINDOW_ACTIVATION_RESULT"] {
        case "windowNotFound":
            return .windowNotFound
        case "activationFailed":
            return .activationFailed
        case "unsupported":
            return .unsupported
        case "appActivatedOnly":
            return .appActivatedOnly
        default:
            break
        }
        if window.title.contains("App Activated Only") {
            return .appActivatedOnly
        }