Ariver
2026-06-07 0f1f2221235caab7f7d3ede783c24373c7ed3dd1
Apptag/ApptagApp.swift
@@ -210,6 +210,14 @@
        setupLaunchAtLogin()
        suppressReopenUntil = Date().addingTimeInterval(1.0)
        configureApplicationMenuWhenAvailable(retries: 200)
        warmAppIndexInBackground()
    }
    /// Pre-scan application folders so the first App Grid open can hydrate from cache quickly.
    private func warmAppIndexInBackground() {
        DispatchQueue.global(qos: .utility).async {
            _ = AppIndexer.scan(useCache: true)
        }
    }
    func applicationDidBecomeActive(_ notification: Notification) {