use a local file instead of server load and save

cc #177
This commit is contained in:
Gokcehan committed 2021-05-19 19:54:50 +03:00
1 parent d31cd98b58
commit ec330c1bc5
5 files changed
+66 -90

No files matched your search

+2
View File
@@ -30,6 +30,7 @@ var (
var (
gUser *user.User
gConfigPaths []string
gFilesPath string
gMarksPath string
gHistoryPath string
)
@@ -67,6 +68,7 @@ func init() {
filepath.Join(data, "lf", "lfrc"),
}
gFilesPath = filepath.Join(data, "lf", "files")
gMarksPath = filepath.Join(data, "lf", "marks")
gHistoryPath = filepath.Join(data, "lf", "history")
}