I'm trying to write a Cocoa app that makes it easier for Android developers on Macs to create Android apps.
When a user presses a button on the app, I want it to add a certain directory to the environmental $PATH variable on the Mac.
Is there another way to do this via Cocoa instead of opening up the .bash_profile file and adding the path manually?
Thanks for any help in advance.