From 3ab84da65789dc91aa9a763d845e6c1f78ab487d Mon Sep 17 00:00:00 2001 From: Yakiyo Date: Tue, 29 Aug 2023 12:08:15 +0000 Subject: [PATCH] feat: add custom pages key, remove auto update key --- config/init.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/init.go b/config/init.go index deb7c62..7110b24 100644 --- a/config/init.go +++ b/config/init.go @@ -12,11 +12,12 @@ func init() { v.SetConfigName("tilde") v.AddConfigPath(where.Dir()) - v.SetDefault("auto_update", true) + // v.SetDefault("auto_update", true) v.SetDefault("log_level", "warn") v.SetDefault("root_dir", where.Dir()) v.SetDefault("platform", utils.Platform()) v.SetDefault("language", "en") + v.SetDefault("custom_pages", "") // must be one of always, auto, never v.SetDefault("color", "auto") }