From 729809b3aebbd0d2d6eab592f98fa7c77420722d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=AB=E7=83=AC=E6=9F=93?= Date: Fri, 4 Aug 2023 19:08:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=88=B0v3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 13 ------------- README.md | 3 --- src/default_icon.png => icon.png | Bin manifest.json | 10 +++++++--- src/main.js | 2 +- 5 files changed, 8 insertions(+), 20 deletions(-) delete mode 100644 LICENSE rename src/default_icon.png => icon.png (100%) 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) { }