From c1c74c9fee90faa72f22fc7a4f72196dcd6fcde5 Mon Sep 17 00:00:00 2001 From: MistEO Date: Mon, 15 Sep 2025 15:21:35 +0800 Subject: [PATCH 1/5] ci: use download-artifact v4 --- .github/workflows/release-ota.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-ota.yml b/.github/workflows/release-ota.yml index 7fcee697dd..b9168c2df2 100644 --- a/.github/workflows/release-ota.yml +++ b/.github/workflows/release-ota.yml @@ -94,7 +94,7 @@ jobs: - x64 steps: - name: Download release config - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v4 - name: Fetch MaaRelease uses: actions/checkout@v5 From 94dc216ac835b9aa5f79fc399d32745c05bc19eb Mon Sep 17 00:00:00 2001 From: MistEO Date: Mon, 15 Sep 2025 15:27:31 +0800 Subject: [PATCH 2/5] ci: add create issue --- .github/workflows/release-ota.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/release-ota.yml b/.github/workflows/release-ota.yml index b9168c2df2..52ffdb347a 100644 --- a/.github/workflows/release-ota.yml +++ b/.github/workflows/release-ota.yml @@ -134,6 +134,15 @@ jobs: prerelease: ${{ fromJSON(needs.create-tag.outputs.prerelease) }} overwrite: true + - name: Create issue if failed + if: failure() + uses: actions-cool/issues-helper@v3 + with: + actions: "create-issue" + title: "Failed make release OTA for Windows" + body: | + ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + make-ota-mac: needs: create-tag runs-on: macos-14 @@ -177,6 +186,15 @@ jobs: prerelease: ${{ fromJSON(needs.create-tag.outputs.prerelease) }} overwrite: true + - name: Create issue if failed + if: failure() + uses: actions-cool/issues-helper@v3 + with: + actions: "create-issue" + title: "Failed make release OTA for macos" + body: | + ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + release: needs: - make-ota From 2db165a158df3a02a6262a6c1c4a4c3d88219e26 Mon Sep 17 00:00:00 2001 From: MistEO Date: Mon, 15 Sep 2025 16:43:58 +0800 Subject: [PATCH 3/5] ci: fix minitouch scale --- src/MaaCore/Controller/MinitouchController.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/MaaCore/Controller/MinitouchController.h b/src/MaaCore/Controller/MinitouchController.h index 959a369e14..aaa108dc7e 100644 --- a/src/MaaCore/Controller/MinitouchController.h +++ b/src/MaaCore/Controller/MinitouchController.h @@ -144,7 +144,8 @@ protected: [[nodiscard]] std::string down_cmd(int x, int y, int wait_ms = DefaultClickDelay, bool with_commit = true, int contact = 0) { - std::string str = std::format("d {} {} {} {}\n", contact, x, y, m_props.max_pressure); + auto [c_x, c_y] = scale(x, y); + std::string str = std::format("d {} {} {} {}\n", contact, c_x, c_y, m_props.max_pressure); if (with_commit) { str += commit_cmd(); @@ -158,7 +159,8 @@ protected: [[nodiscard]] std::string move_cmd(int x, int y, int wait_ms = DefaultSwipeDelay, bool with_commit = true, int contact = 0) { - std::string str = std::format("m {} {} {} {}\n", contact, x, y, m_props.max_pressure); + auto [c_x, c_y] = scale(x, y); + std::string str = std::format("m {} {} {} {}\n", contact, c_x, c_y, m_props.max_pressure); if (with_commit) { str += commit_cmd(); From 7665579ee74b668e84d6515eccb041328890d28f Mon Sep 17 00:00:00 2001 From: MistEO Date: Mon, 15 Sep 2025 16:49:32 +0800 Subject: [PATCH 4/5] docs: changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12c40c4512..4bd094815d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ ### 修复 | Fix +* 修复 minitouch 爆炸 @MistEO * 刷开局奖励只选票券时行为异常 @ABA2396 * Copilot多任务编队时编队设置残留 @status102 * 自定义基建换班的班次不会随时间切换 @ABA2396 From 10574ca36b5e5275abe1bed2df81312063c9e105 Mon Sep 17 00:00:00 2001 From: MistEO Date: Mon, 15 Sep 2025 16:50:13 +0800 Subject: [PATCH 5/5] docs: changelog version --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bd094815d..3a4fe00c29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## v5.25.0-beta.2 +## v5.25.0-beta.3 ### 新增 | New