Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix path for config directory on Linux #27

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

lcheylus
Copy link
Contributor

@lcheylus lcheylus commented Feb 2, 2025

With commit 1d26743, on Linux config file must be now read in $HOME/.config/heimdall/ directory.

But there is an issue in this commit => config directory is $HOME/.config/.heimdall/ (hidden directory on Linux).

var DefaultConfFolderFunc = func() string {
home, _ := os.UserConfigDir()
if runtime.GOOS == "darwin" {
home = os.Getenv("HOME")
}
return home + "/.heimdall/"
}


Fix path for config folder on Linux in commons/const.go

Signed-off-by: Laurent Cheylus <foxy@free.fr>
@yodamad yodamad merged commit deb5cac into yodamad:main Feb 2, 2025
2 checks passed
@lcheylus lcheylus deleted the fix-config_dir branch February 13, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants