Ariver
2026-08-14 21e9dd7c95e3f58a19a7c7342ff3d6584eb9097e
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
        }