Currently Goggles cannot detect the $GOPATH (or any environment variables) when launched via the .app, unless the user sets a global $GOPATH environment variable or uses launchctl. Having to request the user to set these up is a pain point.
Better would be to prompt the user for their $GOPATH if the default $HOME/go doesn't exist. The entered value could be stored locally in a config file, and used on subsequent launches.
Currently Goggles cannot detect the $GOPATH (or any environment variables) when launched via the
.app
, unless the user sets a global $GOPATH environment variable or useslaunchctl
. Having to request the user to set these up is a pain point.Better would be to prompt the user for their $GOPATH if the default $HOME/go doesn't exist. The entered value could be stored locally in a config file, and used on subsequent launches.