From 089646dde9e62d02b4a965c2b4911f1f128105d3 Mon Sep 17 00:00:00 2001 From: Ray Cheung Date: Mon, 8 Dec 2025 22:22:07 +0800 Subject: [PATCH] Fix flutter path finding on Windows --- clj/src/cljd/build.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clj/src/cljd/build.clj b/clj/src/cljd/build.clj index d25af31f..1a5a9496 100644 --- a/clj/src/cljd/build.clj +++ b/clj/src/cljd/build.clj @@ -143,7 +143,7 @@ dir (.directory (io/file dir)))) os-is-windows (.startsWith (System/getProperty "os.name") "Windows") path (if os-is-windows - (or (-> pb .environment (get "Path")) (-> pb .environment (get "PATH"))) + (-> pb .environment (select-keys ["Path" "PATH" "path"]) vals first) (-> pb .environment (get "PATH"))) bins (if os-is-windows [(str bin ".exe") (str bin ".bat")] [bin]) full-bin