We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea513fe commit e8edbf9Copy full SHA for e8edbf9
internal/util/path.go
@@ -29,6 +29,10 @@ func GetApplicationDir() (string, error) {
29
30
if !legacyFolder {
31
path = filepath.Join(home, ".config", subFolder) // issue #33- putting into a subfolder to avoid clutter
32
+ subpath := filepath.Join(home, ".config")
33
+ if _, err := os.Stat(subpath); os.IsNotExist(err) {
34
+ os.Mkdir(subpath, 0700)
35
+ }
36
}
37
38
if _, err := os.Stat(path); os.IsNotExist(err) {
0 commit comments