ygc-dsh-plugin-autoupdate 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.js +13 -5
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -899,13 +899,21 @@ function injectStyle() {
|
|
|
899
899
|
}
|
|
900
900
|
};
|
|
901
901
|
|
|
902
|
-
|
|
902
|
+
// 从侧栏面板改为「设置 → 插件自动更新」:
|
|
903
|
+
// 这类后台维护功能没有对话流,放在侧栏占一个常驻图标没必要,
|
|
904
|
+
// 收进设置页与其他插件配置归到一处。settings.section 是「一页一个入口」的注册位。
|
|
905
|
+
ctx.slots.inject('settings.section', () =>
|
|
903
906
|
ctx.slots.register(
|
|
904
|
-
{
|
|
905
|
-
|
|
907
|
+
{
|
|
908
|
+
name: 'settings.section',
|
|
909
|
+
id: 'plugin-autoupdate',
|
|
910
|
+
order: 47,
|
|
911
|
+
label,
|
|
912
|
+
icon: 'refresh',
|
|
913
|
+
},
|
|
914
|
+
Panel,
|
|
906
915
|
),
|
|
907
|
-
|
|
908
|
-
]);
|
|
916
|
+
);
|
|
909
917
|
},
|
|
910
918
|
};
|
|
911
919
|
},
|
package/package.json
CHANGED