summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--load.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/load.go b/load.go
index bf1182e..00dda3d 100644
--- a/load.go
+++ b/load.go
@@ -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)