mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-02-23 22:45:11 +08:00
docs: update sample config
This commit is contained in:
parent
c995086262
commit
c279f27f15
2 changed files with 4 additions and 4 deletions
|
@ -75,10 +75,10 @@ func NewRun() *cobra.Command {
|
|||
runCmd.Flags().StringVar(&config.TG.DeviceModel, "tg-device-model",
|
||||
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0", "Device model")
|
||||
runCmd.Flags().StringVar(&config.TG.SystemVersion, "tg-system-version", "Win32", "System version")
|
||||
runCmd.Flags().StringVar(&config.TG.AppVersion, "tg-app-version", "2.1.9 K", "App version")
|
||||
runCmd.Flags().StringVar(&config.TG.AppVersion, "tg-app-version", "4.6.3 K", "App version")
|
||||
runCmd.Flags().StringVar(&config.TG.LangCode, "tg-lang-code", "en", "Language code")
|
||||
runCmd.Flags().StringVar(&config.TG.SystemLangCode, "tg-system-lang-code", "en-US", "System language code")
|
||||
runCmd.Flags().StringVar(&config.TG.LangPack, "tg-lang-pack", "en", "Language pack")
|
||||
runCmd.Flags().StringVar(&config.TG.LangPack, "tg-lang-pack", "webk", "Language pack")
|
||||
runCmd.Flags().IntVar(&config.TG.BgBotsLimit, "tg-bg-bots-limit", 5, "Background bots limit")
|
||||
runCmd.Flags().BoolVar(&config.TG.DisableStreamBots, "tg-disable-stream-bots", false, "Disable stream bots")
|
||||
runCmd.Flags().StringVar(&config.TG.Uploads.EncryptionKey, "tg-uploads-encryption-key", "", "Uploads encryption key")
|
||||
|
|
|
@ -28,12 +28,12 @@
|
|||
[tg]
|
||||
app-hash = ""
|
||||
app-id = 0
|
||||
app-version = "2.1.9 K"
|
||||
app-version = "4.6.3 K"
|
||||
bg-bots-limit = 5
|
||||
device-model = "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0"
|
||||
disable-stream-bots = false
|
||||
lang-code = "en"
|
||||
lang-pack = "en"
|
||||
lang-pack = "webk"
|
||||
rate = 100
|
||||
rate-burst = 5
|
||||
rate-limit = true
|
||||
|
|
Loading…
Reference in a new issue