This commit is contained in:
cdle
2021-09-26 21:03:32 +08:00
parent 8a859559cc
commit 885e9b1bc4
4 changed files with 8 additions and 7 deletions
+3
View File
@@ -21,6 +21,9 @@ func NewBucket(name string) Bucket {
}
func initStore() {
// if _, err := os.Stat(ExecPath + "/sillyGirl.cache"); err == nil {
// os.Rename(ExecPath+"/sillyGirl.cache", "/etc/sillyGirl/sillyGirl.cache")
// }
var err error
db, err = bolt.Open("/etc/sillyGirl/sillyGirl.cache", 0600, nil)
if err != nil {