update data folderupdate data folder
This commit is contained in:
parent
c3a2f5afba
commit
ee019c331e
6
main.go
6
main.go
@ -28,7 +28,7 @@ type Config struct {
|
||||
}
|
||||
|
||||
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")
|
||||
historyChatID64 = flag.Int64("chat_id", 0, "chat to historize")
|
||||
historySenderUserID64 = flag.Int64("sender_user_id", 0, "sender_user_id to historize")
|
||||
@ -75,8 +75,8 @@ func main() {
|
||||
UseFileDatabase: true,
|
||||
UseChatInfoDatabase: true,
|
||||
UseTestDataCenter: false,
|
||||
DatabaseDirectory: "./tdlib-db",
|
||||
FileDirectory: "./tdlib-files",
|
||||
DatabaseDirectory: "./data/tdlib-db",
|
||||
FileDirectory: "./data/tdlib-files",
|
||||
IgnoreFileNames: false,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user