From da8c616dfe4dc22156e4b8444ab223130b99c8c6 Mon Sep 17 00:00:00 2001 From: Lawrence Chen Date: Fri, 13 Mar 2026 07:54:22 -0700 Subject: [PATCH] Fix cmux themes reload target resolution --- CLI/cmux.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CLI/cmux.swift b/CLI/cmux.swift index cc3b3faa..b88ad168 100644 --- a/CLI/cmux.swift +++ b/CLI/cmux.swift @@ -6014,6 +6014,11 @@ struct CMUXCLI { } private func currentCmuxAppBundleIdentifier() -> String? { + if let bundleIdentifier = ProcessInfo.processInfo.environment["CMUX_BUNDLE_ID"]?.trimmingCharacters(in: .whitespacesAndNewlines), + !bundleIdentifier.isEmpty { + return bundleIdentifier + } + if let bundleIdentifier = Bundle.main.bundleIdentifier?.trimmingCharacters(in: .whitespacesAndNewlines), !bundleIdentifier.isEmpty { return bundleIdentifier