Environment variables for GUI apps
Hello,
I'm looking for a way to set environment variables for GUI applications like IntelliJ that are launched via the dock or Spotlight.
I've found launchctl setenv on Google, that only works until the next reboot. The /etc/launchd.conf doesn't exist on my MacOS Monterey.
So, can anybody tell me a way to set an env variable that's active after every reboot? In the best case it's only for the logged in user.
Thx in advance!
MacBook Pro 16″, macOS 12.3