From 895ba1d24a2b2ef2a533eed98d5e5e571523f029 Mon Sep 17 00:00:00 2001 From: DLmaster361 Date: Wed, 4 Jun 2025 11:21:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(res):=20=E5=85=AC=E6=8B=9B=E5=96=9C?= =?UTF-8?q?=E6=8A=A5=E6=A8=A1=E6=9D=BF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-app.yml | 2 +- README.md | 2 +- app/core/config.py | 2 +- app/ui/home.py | 4 +- app/ui/setting.py | 4 +- resources/html/MAA_six_star.html | 135 ++++--------------------------- resources/version.json | 10 ++- 7 files changed, 34 insertions(+), 125 deletions(-) diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index a372406..575e65c 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -111,7 +111,7 @@ jobs: NOTES_MAIN="$(sed 's/\r$//g' <(tail -n +3 version_info.txt))" NOTES="$NOTES_MAIN - [已有 Mirror酱 CDK ?前往 Mirror酱 高速下载](https://mirrorchyan.com/zh/projects?rid=AUTO_MAA) + [已有 Mirror酱 CDK ?前往 Mirror酱 高速下载](https://mirrorchyan.com/zh/projects?rid=AUTO_MAA&source=auto_maa-release) \`\`\`本release通过GitHub Actions自动构建\`\`\`" if [ "${{ github.ref_name }}" == "main" ]; then diff --git a/README.md b/README.md index aae586b..aa5331d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ GitHub Contributors GitHub License DeepWiki - mirrorc + mirrorc

## 软件介绍 diff --git a/app/core/config.py b/app/core/config.py index 3aec7a0..00ea92d 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -575,7 +575,7 @@ class MaaPlanConfig(LQConfig): class AppConfig(GlobalConfig): - VERSION = "4.3.10.1" + VERSION = "4.3.10.2" gameid_refreshed = Signal() PASSWORD_refreshed = Signal() diff --git a/app/ui/home.py b/app/ui/home.py index 475230a..00624a6 100644 --- a/app/ui/home.py +++ b/app/ui/home.py @@ -405,4 +405,6 @@ class ButtonGroup(SimpleCardWidget): def open_sales(self): """打开 MirrorChyan 链接""" - QDesktopServices.openUrl(QUrl("https://mirrorchyan.com/")) + QDesktopServices.openUrl( + QUrl("https://mirrorchyan.com/zh/get-start?source=auto_maa-home") + ) diff --git a/app/ui/setting.py b/app/ui/setting.py index d9542ee..9de2858 100644 --- a/app/ui/setting.py +++ b/app/ui/setting.py @@ -1093,7 +1093,9 @@ class UpdaterSettingCard(HeaderCardWidget): parent=self, ) mirrorchyan_url = HyperlinkButton( - "https://mirrorchyan.com/", "获取Mirror酱CDK", self + "https://mirrorchyan.com/zh/get-start?source=auto_maa-setting_card", + "获取Mirror酱CDK", + self, ) self.card_MirrorChyanCDK.hBoxLayout.insertWidget( 5, mirrorchyan_url, 0, Qt.AlignRight diff --git a/resources/html/MAA_six_star.html b/resources/html/MAA_six_star.html index 38b461a..ef38222 100644 --- a/resources/html/MAA_six_star.html +++ b/resources/html/MAA_six_star.html @@ -1,129 +1,26 @@ - + - + img { + display: block; + max-width: 100%; + height: auto; + margin: 0 auto; + } + -
-
-

喜报!

- - -
- -
-

恭喜用户 {{ user_name }} 喜提公开招募六星高资!

-
- -

AUTO_MAA 敬上

- - - -
+ Base64 Image \ No newline at end of file diff --git a/resources/version.json b/resources/version.json index 3980e20..589d206 100644 --- a/resources/version.json +++ b/resources/version.json @@ -1,6 +1,14 @@ { - "main_version": "4.3.10.1", + "main_version": "4.3.10.2", "version_info": { + "4.3.10.2": { + "新增功能": [ + "公招喜报模板优化" + ], + "程序优化": [ + "Mirror 酱链接添加`source`字段,用于标识来源" + ] + }, "4.3.10.1": { "新增功能": [ "森空岛签到功能上线"