diff --git a/LICENSE b/LICENSE deleted file mode 100644 index c72aff5..0000000 --- a/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright (C) 2023 沫烬染 - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. \ No newline at end of file diff --git a/README.md b/README.md index 4c88d5d..d322407 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,6 @@ Telegram闲聊群:https://t.me/LiteLoaderQQNT # 插件编写指南文档 -使用此模板生成仓库后,一定要记得更换许可证! -或是修改许可证,将信息更换为你的! - 文档目前还不算完善,但能看,也欢迎各位来完善/修复错误 - [了解数据目录结构](https://github.com/mo-jinran/LiteLoaderQQNT-Plugin-Template/wiki/1.了解数据目录结构) diff --git a/src/default_icon.png b/icon.png similarity index 100% rename from src/default_icon.png rename to icon.png diff --git a/manifest.json b/manifest.json index 97e4e4b..86f8db8 100644 --- a/manifest.json +++ b/manifest.json @@ -1,18 +1,22 @@ { - "manifest_version": 2, + "manifest_version": 3, "type": "extension", "name": "插件模板", "slug": "plugin_template", "description": "LiteLoaderQQNT的插件模板", "version": "0.1.0", - "thumbnail": "./default_icon.png", + "thumbnail": "./icon.png", "author": { "name": "沫烬染", "link": "https://github.com/mo-jinran" }, "repository": { "repo": "LiteLoaderQQNT-Plugin-Template", - "branch": "main" + "branch": "main", + "use_release": { + "tag": "latest", + "name": "Plugin-Template.zip" + } }, "platform": [ "win32", diff --git a/src/main.js b/src/main.js index 92364f0..5fdb462 100644 --- a/src/main.js +++ b/src/main.js @@ -2,7 +2,7 @@ // 加载插件时触发 -function onLoad(plugin, liteloader) { +function onLoad(plugin) { }