Skip to content

Commit 08b7b71

Browse files
committed
🎨 每次重启都同步插件配置的titledesc (#180)
1 parent 7193103 commit 08b7b71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gsuid_core/utils/plugins_config/gs_config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ def update_config(self):
139139
if isinstance(_defalut, GsStrConfig) or isinstance(_defalut, GsListStrConfig):
140140
self.config[key].options = _defalut.options # type: ignore
141141

142+
self.config[key].title = _defalut.title
143+
self.config[key].desc = _defalut.desc
144+
142145
# 对默认值没有的值,直接删除
143146
delete_keys = []
144147
for key in self.config:

0 commit comments

Comments
 (0)