Giter Site home page Giter Site logo

flysoft-studio / qqntim-plugin-no-revoked-messages Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 51 KB

支持消息持久化保存的防撤回插件

License: MIT License

TypeScript 85.68% PowerShell 8.36% Shell 5.70% CSS 0.25%
plugin qqnt qqntim revokemsg deletedmessage

qqntim-plugin-no-revoked-messages's Introduction

QQNTim 防撤回插件

简介

本插件使 QQNT 中被撤回的消息仍能正常显示且持久保存。需要安装 QQNTim 3.0 及以上版本 才能使用。

效果图:

截图

注意:本插件对自己撤回的消息无效。

开发

配置环境

请先下载安装 Node.js 18,并在本项目下打开终端,运行:

# 启用 Corepack 以使用 Yarn 3
corepack enable
# 配置项目依赖
yarn

之后,用你的代码编辑器打开此项目(推荐使用 VSCode 进行开发)。

编写代码

可参考 QQNTim 内置的设置界面插件进行编写。

调试插件

如果你使用的是 Windows,请使用终端运行:

yarn dev && yarn start:win

如果你使用的是 Linux,请使用终端运行:

yarn dev && yarn start:linux

运行后,将会自动启动 QQ,你可以在 QQ 内按下 F12 打开开发者工具。

构建并发布插件

请使用终端运行:

yarn build

运行后,将会在 dist 文件下生成最终的插件。

此模板项目同时也包含了一个 GitHub Actions Workflow 示例。你可以使用它来自动化你的插件构建。

附录

可用命令

命令 说明
yarn build 构建插件
yarn dev 构建开发版本插件(包含 SourceMap)
yarn start:win 安装你的插件并启动 QQNT(Windows 下请使用此项)
yarn start:linux 安装你的插件并启动 QQNT(Linux 下请使用此项)
yarn lint 对代码进行检查
yarn lint:apply 应用推荐的代码修改
yarn lint:apply-unsafe 应用推荐的代码修改(包括不安全的修复)
yarn format 格式化代码

qqntim-plugin-no-revoked-messages's People

Contributors

flysoftbeta avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

qqntim-plugin-no-revoked-messages's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.