mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Apps in Chinese mainland app stores no longer provide AI access settings https://github.com/siyuan-note/siyuan/issues/13051
This commit is contained in:
parent
7b9163d480
commit
7e3e1d03ef
1 changed files with 4 additions and 4 deletions
|
|
@ -220,10 +220,6 @@ func InitConf() {
|
||||||
util.UseSingleLineSave = Conf.FileTree.UseSingleLineSave
|
util.UseSingleLineSave = Conf.FileTree.UseSingleLineSave
|
||||||
|
|
||||||
util.CurrentCloudRegion = Conf.CloudRegion
|
util.CurrentCloudRegion = Conf.CloudRegion
|
||||||
Conf.System.DisabledFeatures = util.DisabledFeatures
|
|
||||||
if 1 > len(Conf.System.DisabledFeatures) {
|
|
||||||
Conf.System.DisabledFeatures = []string{}
|
|
||||||
}
|
|
||||||
|
|
||||||
if nil == Conf.Tag {
|
if nil == Conf.Tag {
|
||||||
Conf.Tag = conf.NewTag()
|
Conf.Tag = conf.NewTag()
|
||||||
|
|
@ -311,6 +307,10 @@ func InitConf() {
|
||||||
Conf.System.ID = util.GetDeviceID()
|
Conf.System.ID = util.GetDeviceID()
|
||||||
Conf.System.Name = util.GetDeviceName()
|
Conf.System.Name = util.GetDeviceName()
|
||||||
}
|
}
|
||||||
|
Conf.System.DisabledFeatures = util.DisabledFeatures
|
||||||
|
if 1 > len(Conf.System.DisabledFeatures) {
|
||||||
|
Conf.System.DisabledFeatures = []string{}
|
||||||
|
}
|
||||||
|
|
||||||
if nil == Conf.Snippet {
|
if nil == Conf.Snippet {
|
||||||
Conf.Snippet = conf.NewSnpt()
|
Conf.Snippet = conf.NewSnpt()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue