diff options
| -rw-r--r-- | load.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ func ConfigLoad(pb proto.Message, argname string, protoname string) error { // todo: err handling func LoadCache(pb proto.Message, argname string, protoname string) error { cacheDir, _ := os.UserCacheDir() - fullpath := filepath.Join(cacheDir, ".config", argname) + fullpath := filepath.Join(cacheDir, argname) os.MkdirAll(fullpath, os.ModePerm) fullname := filepath.Join(fullpath, protoname+".pb") SetFilename(pb, fullname) |
