Skip to content

Instantly share code, notes, and snippets.

@jwineinger
Created October 21, 2020 16:53
Show Gist options
  • Save jwineinger/db8504de26a9b033721d8e7b9fb9f126 to your computer and use it in GitHub Desktop.
Save jwineinger/db8504de26a9b033721d8e7b9fb9f126 to your computer and use it in GitHub Desktop.
Change GoLand PATH on macOS 10.14
1. "Show Package Contents" on the GoLand.app
2. Edit Contents/Info.plist
3. Add
<key>LSEnvironment</key>
<dict>
<key>PATH</key>
<string>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin</string>
</dict>
4. Run `/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user`
5. Run `killall Finder`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment