From 7e3e1d03efe181e966b995062487fc1ffa14e3e0 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Mon, 11 Nov 2024 11:42:41 +0800 Subject: [PATCH] :art: Apps in Chinese mainland app stores no longer provide AI access settings https://github.com/siyuan-note/siyuan/issues/13051 --- kernel/model/conf.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/model/conf.go b/kernel/model/conf.go index ae7ecb3a1..79f48fa23 100644 --- a/kernel/model/conf.go +++ b/kernel/model/conf.go @@ -220,10 +220,6 @@ func InitConf() { util.UseSingleLineSave = Conf.FileTree.UseSingleLineSave util.CurrentCloudRegion = Conf.CloudRegion - Conf.System.DisabledFeatures = util.DisabledFeatures - if 1 > len(Conf.System.DisabledFeatures) { - Conf.System.DisabledFeatures = []string{} - } if nil == Conf.Tag { Conf.Tag = conf.NewTag() @@ -311,6 +307,10 @@ func InitConf() { Conf.System.ID = util.GetDeviceID() Conf.System.Name = util.GetDeviceName() } + Conf.System.DisabledFeatures = util.DisabledFeatures + if 1 > len(Conf.System.DisabledFeatures) { + Conf.System.DisabledFeatures = []string{} + } if nil == Conf.Snippet { Conf.Snippet = conf.NewSnpt()