Ariver
2026-06-04 463f935f7f1194e0881a160d89c49219ef9eec01
1
2
3
4
5
6
7
8
9
10
11
12
import Foundation
import AlignerCore
 
final class DebugWindowActivationService: WindowActivationServiceProtocol {
    func activate(window: AlignerWindow) throws -> WindowActivationResult {
        if window.title.contains("App Activated Only") {
            return .appActivatedOnly
        }
 
        return window.isMinimized ? .restored : .activated
    }
}