update data folderupdate data folder

This commit is contained in:
shoopea 2020-06-27 21:33:57 +02:00
parent c3a2f5afba
commit ee019c331e
2 changed files with 8 additions and 8 deletions

View File

@ -28,7 +28,7 @@ type Config struct {
} }
var ( var (
config = flag.String("config", "gocw2.cfg", "config file path") config = flag.String("config", "./data/gocw2.cfg", "config file path")
history = flag.Bool("history", false, "initialize chat history") history = flag.Bool("history", false, "initialize chat history")
historyChatID64 = flag.Int64("chat_id", 0, "chat to historize") historyChatID64 = flag.Int64("chat_id", 0, "chat to historize")
historySenderUserID64 = flag.Int64("sender_user_id", 0, "sender_user_id to historize") historySenderUserID64 = flag.Int64("sender_user_id", 0, "sender_user_id to historize")
@ -75,8 +75,8 @@ func main() {
UseFileDatabase: true, UseFileDatabase: true,
UseChatInfoDatabase: true, UseChatInfoDatabase: true,
UseTestDataCenter: false, UseTestDataCenter: false,
DatabaseDirectory: "./tdlib-db", DatabaseDirectory: "./data/tdlib-db",
FileDirectory: "./tdlib-files", FileDirectory: "./data/tdlib-files",
IgnoreFileNames: false, IgnoreFileNames: false,
}) })