Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 3.21 KB

README_ZH.md

File metadata and controls

76 lines (52 loc) · 3.21 KB

Sticker Sword

Inject stickers on app for Sticker Manager.

为 Sticker Manager 提供注入到社交平台 APP 的功能。

English | 中文文档

使用

  1. 编辑表情贴纸

    1. 下载 Sticker Manager
    2. 创建分类并导入表情贴纸。
    3. 排序并为贴纸设置备注(可选)
    4. Sticker Manager 的设置页中导出数据(JSON).
  2. 通过 Sticker Sword 挂载贴纸数据

    1. 下载
    2. 在框架中设置作用域(系统框架必须勾选,否则无法读取贴纸信息)
    3. 重启系统以获取权限

请勿用于非法用途

  1. 本模块免费、仅供学习交流而开发,禁止用于不法用途或者倒卖。

  2. 未经授权,禁止私自转载、搬运本软件的安装包及源代码到 GitHub 以外的平台。

开发

  1. 本模块使用 YukiHookAPI 开发,请在开发时查看文档。

  2. array.xml 中增加作用域 APP 包名

  3. ConstFactoryPackageName 定义你需要的作用域 APP 包名

  4. entity 中增加 Hooker

  5. HookEntry 中增加 Hook 部分

    override fun onHook() = encase {
        loadSystem { loadHooker(PermissionGrantHooker) }
    
        loadApp(PackageName.QQ, PackageName.TIM) { loadHooker(QQTIMHooker) }
        loadApp(PackageName.WECHAT) { loadHooker(WechatHooker) }

        // 增加你的加载部分
        // loadApp(PackageName.XXX) { loadHooker(XXXHooker) }
    }
  1. 注意事项
    1. 代码需要格式化,文件以 UTF-8 编码
    2. Commit 信息尽量遵守 Angular 提交规范
    3. Commit 进行 GPG 加签

许可证

Copyright (C) 2024 FoskyM<[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Powered by YukiHookAPI