From 848d047f480425740f59fdc1427f2e7774caee3d Mon Sep 17 00:00:00 2001 From: MistEO Date: Tue, 28 Nov 2023 23:34:11 +0800 Subject: [PATCH] chore: rename to M9A --- .github/workflows/ci.yml | 6 +++--- CMakeLists.txt | 2 +- README.md | 4 ++-- assets/resource/properties.json | 2 +- source/cli/CMakeLists.txt | 8 ++++---- source/cli/main.cpp | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f5664c..14a3376 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,7 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: MAA1999-win-${{ matrix.arch }} + name: M9A-win-${{ matrix.arch }} path: "install" ubuntu: @@ -165,7 +165,7 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: MAA1999-linux-${{ matrix.arch }} + name: M9A-linux-${{ matrix.arch }} path: "install" macos: @@ -222,7 +222,7 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: MAA1999-macos-${{ matrix.arch }} + name: M9A-macos-${{ matrix.arch }} path: "install" release: diff --git a/CMakeLists.txt b/CMakeLists.txt index 7891ad1..5302eaf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.21) -project(MAA1999) +project(M9A) set_property(GLOBAL PROPERTY USE_FOLDERS ON) set(Boost_NO_WARN_NEW_VERSIONS 1) diff --git a/README.md b/README.md index 78d4bc3..50c6e1c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# MAA1999 +# M9A 基于全新架构的 亿韭韭韭 小助手。图像技术 + 模拟控制,解放双手! 由 [MaaFramework](https://github.com/MaaAssistantArknights/MaaFramework) 强力驱动! @@ -17,7 +17,7 @@ ## How to build -**如果你要编译源码才看这节,否则直接 [下载](https://github.com/MaaAssistantArknights/MAA1999/releases) 即可** +**如果你要编译源码才看这节,否则直接 [下载](https://github.com/MaaAssistantArknights/M9A/releases) 即可** 1. 下载 MaaFramework 的 [Release 包](https://github.com/MaaAssistantArknights/MaaFramework/releases),解压到 `deps` 文件夹中 2. 配置 cmake diff --git a/assets/resource/properties.json b/assets/resource/properties.json index 484aba0..51a898a 100644 --- a/assets/resource/properties.json +++ b/assets/resource/properties.json @@ -1,4 +1,4 @@ { "is_base": true, - "version": "MAA1999_DEBUG_VERSION" + "version": "M9A_DEBUG_VERSION" } \ No newline at end of file diff --git a/source/cli/CMakeLists.txt b/source/cli/CMakeLists.txt index ffbce9e..6e8dd91 100644 --- a/source/cli/CMakeLists.txt +++ b/source/cli/CMakeLists.txt @@ -5,9 +5,9 @@ else () link_directories(${CMAKE_SOURCE_DIR}/deps/bin) endif () -add_executable(MAA1999_CLI main.cpp) -target_link_libraries(MAA1999_CLI PRIVATE MaaFramework MaaToolKit) +add_executable(M9A_CLI main.cpp) +target_link_libraries(M9A_CLI PRIVATE MaaFramework MaaToolKit) -add_dependencies(MAA1999_CLI AssetsResource) +add_dependencies(M9A_CLI AssetsResource) -install(TARGETS MAA1999_CLI RUNTIME DESTINATION .) +install(TARGETS M9A_CLI RUNTIME DESTINATION .) diff --git a/source/cli/main.cpp b/source/cli/main.cpp index 455b8ee..dbbbe33 100644 --- a/source/cli/main.cpp +++ b/source/cli/main.cpp @@ -116,9 +116,9 @@ int main(int argc, char** argv) void print_help() { std::cout << utf8_to_crt( - R"(欢迎使用 MAA 1999 CLI, 源码地址:https://github.com/MaaAssistantArknights/MAA1999 + R"(欢迎使用 MAA 1999 CLI, 源码地址:https://github.com/MaaAssistantArknights/M9A -用法: MAA1999.exe [adb路径] [adb地址] [任务名(有序)]... +用法: M9A.exe [adb路径] [adb地址] [任务名(有序)]... 可以修改 config.json 来配置任务