Giter Site home page Giter Site logo

maaresonance's Introduction

Maa Resonance

简体中文 | English

This is a project for creating a Maa Resonance front end with Tauri.

Project Goals

  • Automated Business Running
    • Choose different routes according to the fatigue level consumed by different strategies
  • clear daily affairs

Getting Started

Note that the building process is only currently tested and supported on Windows. Support for Linux is planned.

MaaAgentBinary

This repo contains the MaaAgentBinary as a submodule. You need to clone this repo with the --recurse-submodules flag or run the following commands after cloning:

git submodule init  
git submodule update

MaaFramework

You need to have a latest version (expected v1.7.*) of MaaFramework installed in your system. If you already have, make sure that CMake can find it. The easiest way to do this is to add your MaaFramework installation directory to your CMAKE_PREFIX_PATH or PATH environment variable.

If you don't have it installed, the python script will do that anyway so there is generally no need for you to do it manually.

Run Dependency Script

If you have an installed version of MaaFramework, you can skip this step and manually copy the MaaFramework dlls to tauri/ directory.

If not, you can run

python ./scripts/makedeps.py

to download and extract the latest version of MaaFramework to the tauri/ directory. Then, as said above, you might need to set your PATH environment variables to point to the MaaFramework installation directory ($projectDir/scripts/deps/maafw).

Cmake and clang ( you can choose LLVM to instead ) is also needed.

Build and Run

Use of pnpm is encouraged, but you can probably use npm or yarn as well.

pnpm install  
pnpm tauri dev

Or a mock command is provided where we will not try to really scan the devices but show a mock device, this is useful for UI development.

pnpm mock

Then build the project with:

pnpm tauri build

To build the project for production, use:

pnpm build

This will build different targets.

maaresonance's People

Contributors

kevint3hu avatar nanexist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

nanexist

maaresonance's Issues

关于maa-framework-rs的编译问题

MaaXYZ/MaaFramework@3c73651 中,MaaAdbControllerType被更改为了使用掩码的int类型,而仓库中的代码还是更改之前的逻辑。但是makedeps.py中指定的v1.7.0-alpha.2却包括了这个commit,导致bindgen生成的类型对应不上,编译不通过。
是有部分文件没有更新吗?
编译错误示例

error[E0308]: mismatched types
   --> /home/.../.cargo/registry/src/index.crates.io-6f17d22bba15001f/maa-framework-0.3.2/src/toolkit.rs:103:21
    |
103 |                     adb_controller_type,
    |                     ^^^^^^^^^^^^^^^^^^^ expected `MaaAdbControllerType`, found `i32`

关于任务的一些问题

Combat两次直接间隔隔的有点久了
然后次数这个参数似乎并没有很好的起作用
同一个 任务可以反复加进去,但是每个任务对应的参数都相同?

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.