fix Bios-Marcel/cordless#289
Config directory was the system-configurated directory directly instead of a app-named subdirectory.
MODIFY
config/os.go
config/os.go
@@ -12,7 +12,7 @@ func getDefaultConfigDirectory() (string, error) {
configDir := os.Getenv("XDG_CONFIG_HOME")
if configDir != "" {
- return configDir, nil
+ return filepath.Join(configDir, AppNameLowercase), nil
}
currentUser, userError := user.Current()

fix Bios-Marcel/cordless#289 (#290)

Config directory was the system-configurated directory directly instead of a app-named subdirectory.