Code Monkey home page Code Monkey logo

maapracticeboilerplate's Introduction

LOGO

MaaPracticeBoilerplate

本仓库为 MaaFramework 所提供的项目模板,开发者可基于此模板直接创建自己的 MaaXXX 项目。

MaaFramework 是基于图像识别技术、运用 MAA 开发经验去芜存菁、完全重写的新一代自动化黑盒测试框架。 低代码的同时仍拥有高扩展性,旨在打造一款丰富、领先、且实用的开源库,助力开发者轻松编写出更好的黑盒测试程序,并推广普及。

即刻开始

如何开发

  1. 使用右上角 Use this template - Create a new repository 来基于本模板创建您自己的项目。

  2. 完整克隆本项目及子项目(地址请修改为您基于本模板创建的新项目地址)。

    git clone --recursive https://github.com/MaaXYZ/MaaPracticeBoilerplate.git

    请注意,一定要完整克隆子项目,不要漏了 --recursive,也不要下载 zip 包!

  3. 下载 MaaFramework 的 Release 包,解压到 deps 文件夹中。

  4. 配置资源文件。

    python ./configure.py
  5. 按需求修改 assets 中的资源文件,请参考 MaaFramework 相关文档。

    • 可使用 MaaDebugger 进行调试;

    • 也可以在本地安装后测试:

      1. 执行安装脚本

        python ./install.py
      2. 运行 install/MaaPiCli.exe

  6. 完成开发工作后,上传您的代码并发布版本。

    # 配置 git 信息(仅第一次需要,后续不用再配置)
    git config user.name "您的 GitHub 昵称"
    git config user.email "您的 GitHub 邮箱"
    
    # 提交修改
    git add .
    git commit -m "XX 新功能"
    git push origin HEAD -u
  7. 发布您的版本

    需要先修改仓库设置 Settings - Actions - General - Read and write permissions - Save

    # CI 检测到 tag 会自动进行发版
    git tag v1.0.0
    git push origin v1.0.0

生态共建

MAA 正计划建设为一类项目,而非舟的单一软件。

若您的项目依赖于 MaaFramework,我们欢迎您将它命名为 MaaXXX, MXA, MAX 等等。当然,这是许可而不是限制,您也可以自由选择其他与 MAA 无关的名字,完全取决于您自己的想法!

同时,我们也非常欢迎在 最佳实践列表 中添加上您的项目!

鸣谢

本项目由 MaaFramework 强力驱动!

感谢以下开发者对本项目作出的贡献(下面链接改成你自己的项目地址):

maapracticeboilerplate's People

Contributors

misteo avatar philosyang avatar neko-para avatar

Stargazers

FrozenAsh avatar  avatar  avatar YI-XIANG LIN avatar  avatar Me262-Stormbird avatar mukelongji avatar  avatar 良い景色 avatar 锦鲤 avatar chenmg avatar Buliu avatar  avatar  avatar  avatar haiming avatar relax avatar  avatar  avatar Fengji Yan avatar  avatar 0x0AB8 avatar Yiwei Liang avatar  avatar  avatar  avatar  avatar Zhuang avatar  avatar  avatar Nemo Xiong avatar  avatar L_Moshang avatar  avatar  avatar  avatar  avatar  avatar  avatar Muj avatar  avatar Huafei avatar  avatar  avatar Midnight_Soda avatar  avatar WaltYoung avatar anmo avatar Artorias avatar  avatar  avatar  avatar  avatar Sliots avatar  avatar  avatar  avatar NC avatar  avatar  avatar AABBOK avatar  avatar  avatar  avatar  avatar  avatar Izumi Sakai avatar  avatar  avatar  avatar XI avatar  avatar  avatar JXY avatar  avatar CatQuantum avatar  avatar  avatar Lulinw avatar tutuchuchu avatar  avatar Miyako avatar  avatar Bot Molu avatar  avatar Heei avatar 一二 avatar  avatar  avatar Weijia Feng avatar nekonekone avatar

Watchers

 avatar

maapracticeboilerplate's Issues

使用模板项目时的一些问题

仅使用pipeline可以实现固定次数循环吗?比如说,我希望可以仅写一个返回的task,设其is_sub=true,有什么方法可以在其他task的next中调用它时,实现固定次数调用后不再尝试调用吗,如“连续返回三次“

另,若无法实现,使用模板项目可以以什么方式注册自定义动作吗?

`./configure.py` overwrites user-defined ocr model

shutil.copytree(
assets_dir / "MaaCommonAssets" / "OCR" / "ppocr_v4" / "zh_cn",
assets_dir / "resource" / "base" / "model" / "ocr",
dirs_exist_ok=True,
)

These lines will overwrite the ocr directory regardless of whether the directory contains user-defined ocr models or not.
This can be troublesome if users choose to use their own ocr model for their applications, since running install.py will invoke this function and overwrite their ocr directory.

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.