Skip to content

Commit

Permalink
🔧 目录生成器插件定义 #161
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Mar 13, 2021
1 parent 42de2ef commit 62e7b12
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static void downloadKBNResource() {
final BeanManager beanManager = BeanManager.getInstance();
final PluginRepository pluginRepository = beanManager.getReference(PluginRepository.class);
final Transaction transaction = pluginRepository.beginTransaction();
enabled = pluginRepository.get("看板娘_0.0.2").optString("status").equals("ENABLED");
enabled = pluginRepository.get("看板娘+_0.0.2").optString("status").equals("ENABLED");
transaction.commit();
} catch (Exception e) {
}
Expand Down
3 changes: 0 additions & 3 deletions src/main/webapp/admin/admin-plugin-list.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,4 @@
<div id="pluginSetting" class="fn__none">
</div>
<div class="fn__clear"></div>
<div style="padding: 0px 25px 0px 25px;">
<b>看板娘 +</b> 拥有海量看板娘资源,所以本地默认只提供三款看板娘。菠萝博客在每次启动、启用看板娘插件时会自动从云端下载看板娘资源,资源大小约 20 MB。资源包会不定时更新更多看板娘,这一切不需要你做任何操作,只需要打开看板娘插件即可。
</div>
${plugins}
2 changes: 1 addition & 1 deletion src/main/webapp/plugins/kanbanniang/plugin.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
rendererId=footer.ftl
author=<a href="https://github.com/Vanessa219">Vanessa</a> Re: <a href="https://github.com/csfwff">csfwff</a>
name=\u770b\u677f\u5a18\u0020\uff0b
name=\u770B\u677F\u5A18\u002b
version=0.0.2
types=PUBLIC
pluginClass=org.b3log.latke.plugin.NotInteractivePlugin
4 changes: 2 additions & 2 deletions src/main/webapp/plugins/list/plugin.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
rendererId=footer.ftl
author=<a href="http://88250.b3log.org">88250</a>
name=\u76ee\u5f55\u751f\u6210\u5668
version=1.0.1
name=\u6587\u7AE0\u76EE\u5F55\u663E\u793A
version=1.0.2
types=PUBLIC
pluginClass=org.b3log.solo.plugin.ToCPlugin

0 comments on commit 62e7b12

Please sign in to comment.