refactor: 集成 MaaUtils (#14578)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
MistEO
2025-10-31 14:56:56 +08:00
committed by GitHub
parent ae300aa00d
commit 91ea7067f7
40 changed files with 81 additions and 6485 deletions

View File

@@ -50,7 +50,7 @@ Mac can use the `tools/build_macos_universal.zsh` script for compilation. It's r
git clone https://github.com/MaaAssistantArknights/MaaDeps
cd MaaDeps
# If the system is too old to use our prebuilt llvm 20, please consider using local build enviroment instead of cross compiling.
# The toolchain config under MaaDeps/cmake needs to be modified.
# The toolchain config under src/MaaUtils/MaaDeps/cmake needs to be modified.
python linux-toolchain-download.py
python build.py
```
@@ -61,7 +61,7 @@ Mac can use the `tools/build_macos_universal.zsh` script for compilation. It's r
cmake -B build \
-DINSTALL_RESOURCE=ON \
-DINSTALL_PYTHON=ON \
-DCMAKE_TOOLCHAIN_FILE=MaaDeps/cmake/maa-x64-linux-toolchain.cmake
-DCMAKE_TOOLCHAIN_FILE=src/MaaUtils/MaaDeps/cmake/maa-x64-linux-toolchain.cmake
cmake --build build
```