From 1d7518a32764ec83f206c6b2f9dabbf699d4174f Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 5 Jun 2024 19:18:47 +0800 Subject: [PATCH] fix: add homebrew to default PATH environment --- build/resources/app/App.plist | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/resources/app/App.plist b/build/resources/app/App.plist index 01d93ad7..3ccf7335 100644 --- a/build/resources/app/App.plist +++ b/build/resources/app/App.plist @@ -12,6 +12,11 @@ SOURCE_GIT_VERSION.0 LSMinimumSystemVersion 10.12 + LSEnvironment + + PATH + /opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin + CFBundleExecutable SourceGit CFBundleInfoDictionaryVersion