You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minimal configuration. Need to be at ~/.config/algia/config.json
On macOS this actually defaults to $HOME/Library/Application Support/algia/config.json as per os.UserConfigDir, which is not ideal.
I think the most straightforward way to get macOS clients to use the ~/.config dir is to replace os.UserConfigDir with a 3rd party package like github.com/mitchellh/go-homedir. If this is an acceptable solution let me know - I'd be happy to submit a pull request.
The text was updated successfully, but these errors were encountered:
bndw
added a commit
to bndw/algia
that referenced
this issue
Mar 30, 2023
On macOS, `os.UserConfigDir` returns `$HOME/Library/Application Support`
and not `~/.config`. This patch uses a module that works across OSes.
Fixesmattn#3
On macOS, `os.UserConfigDir` returns `$HOME/Library/Application Support`
and not `~/.config`. This patch uses a module that works across OSes.
Fixesmattn#3
bndw
added a commit
to bndw/algia
that referenced
this issue
Apr 4, 2023
On macOS this actually defaults to
$HOME/Library/Application Support/algia/config.json
as per os.UserConfigDir, which is not ideal.I think the most straightforward way to get macOS clients to use the
~/.config
dir is to replaceos.UserConfigDir
with a 3rd party package likegithub.com/mitchellh/go-homedir
. If this is an acceptable solution let me know - I'd be happy to submit a pull request.The text was updated successfully, but these errors were encountered: