set macOS app environment variables (Info.plist LSEnvironment)
Project description
Installation
$ [sudo] pip install mac-app-env
How it works
.env
file
PATH=path/to/custom/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
<app>/Contents/Info.plist
<key>LSEnvironment</key>
<dict>
<key>PATH</key>
<string>path/to/custom/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
</dict>
Examples
$ find . "*.app" | xargs python -m mac_app_env .env
paths with spaces:
$ find . "*.app" -exec python -m mac_app_env .env {} \;
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mac-app-env-2020.12.3.tar.gz
(1.8 kB
view hashes)