From 08665869ea587deb7df36f99c963cd48fc39a18f Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Tue, 22 Apr 2025 17:18:38 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=91=98=E5=B7=A5=E5=AE=88=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MAA.sln.DotSettings | 1 + src/MaaWpfGui/Res/Localizations/en-us.xaml | 15 +++++++++++++ src/MaaWpfGui/Res/Localizations/ja-jp.xaml | 15 +++++++++++++ src/MaaWpfGui/Res/Localizations/ko-kr.xaml | 15 +++++++++++++ src/MaaWpfGui/Res/Localizations/zh-cn.xaml | 15 +++++++++++++ src/MaaWpfGui/Res/Localizations/zh-tw.xaml | 15 +++++++++++++ .../Res/Styles/Basic/Geometries.xaml | 8 +++++++ .../VersionUpdateSettingsUserControl.xaml.cs | 22 +++++++++++++++---- 8 files changed, 102 insertions(+), 4 deletions(-) diff --git a/MAA.sln.DotSettings b/MAA.sln.DotSettings index 25ff3e8901..9281e7663d 100644 --- a/MAA.sln.DotSettings +++ b/MAA.sln.DotSettings @@ -31,6 +31,7 @@ WSA XYAZ True + True True True True diff --git a/src/MaaWpfGui/Res/Localizations/en-us.xaml b/src/MaaWpfGui/Res/Localizations/en-us.xaml index 85c40c3357..3aaebe5b82 100644 --- a/src/MaaWpfGui/Res/Localizations/en-us.xaml +++ b/src/MaaWpfGui/Res/Localizations/en-us.xaml @@ -929,6 +929,21 @@ The video aspect ratio needs to be 16:9 without interference factors such as bla Ah, doctor, why do you sway so much in your movement today? I won't drink so much next time…… Hello World! + 1. The official version of MAA will not have Debug mode. If you see a Debug option while running, close the software immediately, do not click it, and contact the nearest MAA developer.\n +2. Infrastructure shift changes are automatic. If you find an operator working continuously for more than 72 hours, manually adjust the shifts and check if the system time is correct.\n +3. Recruitment tags will not change. If you notice tags changing before the countdown ends, do not continue recruiting. Restart MAA and try again.\n +4. MAA will not send friend requests. If you receive a friend request from "MAA_System," do not accept it and delete the account.\n +5. Roguelike assistance only provides suggestions. If the game automatically selects a non-existent option, force quit and restart the client.\n +6. MAA's log files should not contain garbled text. If you find logs with errors other than "ERROR: Data parsing failed," delete the logs and reinstall the software.\n +7. Night mode is safe. However, if MAA starts automatically at 3:33 AM and runs "unknown tasks," unplug the power and wait until sunrise to use it again.\n +8. The last rule does not exist. If you see this, forget it and use MAA as usual.\n +9. Do not click on炒...锟斤拷拷拷拷喜报拷拷拷饭 in MAA.\n +10. MirrorChyan is kind. You only need to pay a small price to receive its protection.\n +11. MAA does not support future versions. If the software updates to an unreleased version number (e.g., v10.0.0), do not run it and wait for an official announcement.\n +12. MAA has no voice prompts. If you hear whispers, laughter, or non-program-generated voices, turn off the speakers and check for unknown scripts running.\n +13. MAA will not update at midnight on Sunday. If you receive an update prompt, ignore it and do not check the update announcement until Monday. + + Employee Guidelines OK! diff --git a/src/MaaWpfGui/Res/Localizations/ja-jp.xaml b/src/MaaWpfGui/Res/Localizations/ja-jp.xaml index f7010979d7..1eeb4c7cef 100644 --- a/src/MaaWpfGui/Res/Localizations/ja-jp.xaml +++ b/src/MaaWpfGui/Res/Localizations/ja-jp.xaml @@ -932,6 +932,21 @@ C:\\leidian\\LDPlayer9 あれ、ドクター。どうしてそんなフラフラと歩いておられるのですか? つ、次は飲みすぎないようにしないと…… Hello World! + 1. MAA の正式版にはデバッグモードはありません。実行中にデバッグオプションが表示された場合は、すぐにソフトウェアを閉じ、それをクリックせず、最寄りの MAA 開発者に連絡してください。\n +2. インフラのシフト変更は自動です。オペレーターが 72 時間以上連続して働いている場合は、手動でシフトを調整し、システム時間が正しいか確認してください。\n +3. 公開募集のタグは変更されません。カウントダウンが終了する前にタグが変更された場合は、募集を続けず、MAA を再起動してから操作してください。\n +4. MAA はフレンドリクエストを送信しません。「MAA_System」からフレンドリクエストを受け取った場合は、承認せず、そのアカウントを削除してください。\n +5. ローグライクの支援は提案のみを提供します。ゲームが存在しないオプションを自動的に選択した場合は、強制終了してクライアントを再起動してください。\n +6. MAA のログファイルに文字化けが含まれているべきではありません。「ERROR: データ解析に失敗しました」以外のエラー情報がログに表示された場合は、ログを削除してソフトウェアを再インストールしてください。\n +7. ナイトモードは安全です。ただし、MAA が午前 3 時 33 分に自動的に起動して「不明なタスク」を実行した場合は、電源を抜き、日の出まで待ってから使用してください。\n +8. 最後のルールは存在しません。このルールを見た場合は、それを忘れて、通常どおり MAA を使用してください。\n +9. MAA 内で炒...锟斤拷拷拷拷喜报拷拷拷饭 をクリックしないでください。\n +10. MirrorChyan親切です。少しの代償を払うだけで、彼女の保護を受けることができます。\n +11. MAA は将来のバージョンをサポートしていません。ソフトウェアが未発表のバージョン番号(例: v10.0.0)に自動更新された場合は、実行せず、公式発表を待ってください。\n +12. MAA に音声プロンプトはありません。ささやき声、笑い声、またはプログラム生成以外の音声が聞こえた場合は、スピーカーをオフにし、不明なスクリプトが実行されていないか確認してください。\n +13. MAA は日曜日の深夜に更新されません。更新プロンプトを受け取った場合は無視し、月曜日まで更新通知を確認しないでください。 + + 従業員規則 OK! diff --git a/src/MaaWpfGui/Res/Localizations/ko-kr.xaml b/src/MaaWpfGui/Res/Localizations/ko-kr.xaml index b3961da60d..b4725cd3ff 100644 --- a/src/MaaWpfGui/Res/Localizations/ko-kr.xaml +++ b/src/MaaWpfGui/Res/Localizations/ko-kr.xaml @@ -932,6 +932,21 @@ C:\\leidian\\LDPlayer9 어머, 박사님. 왜 그렇게 비틀비틀 걷고 계시나요? 다, 다음엔 적당히 마셔야지…… Hello World! + 1. MAA 정식 버전에는 디버그 모드가 없습니다. 실행 중에 디버그 옵션이 표시되면 소프트웨어를 즉시 닫고 클릭하지 말고 가까운 MAA 개발자에게 문의하세요.\n +2. 인프라 교대 근무는 자동입니다. 작업자가 72시간 이상 연속으로 작업하는 경우 수동으로 교대를 조정하고 시스템 시간이 올바른지 확인하세요.\n +3. 공개 모집 태그는 변경되지 않습니다. 카운트다운이 끝나기 전에 태그가 변경된 것을 발견하면 모집을 계속하지 말고 MAA를 다시 시작한 후 작업하세요.\n +4. MAA는 친구 요청을 보내지 않습니다. "MAA_System"으로부터 친구 요청을 받으면 수락하지 말고 해당 계정을 삭제하세요.\n +5. 로그라이크 지원은 제안만 제공합니다. 게임이 존재하지 않는 옵션을 자동으로 선택한 경우 강제로 종료하고 클라이언트를 다시 시작하세요.\n +6. MAA의 로그 파일에는 깨진 문자가 포함되어 있지 않아야 합니다. "ERROR: 데이터 분석 실패" 외의 오류 정보가 로그에 표시되면 로그를 삭제하고 소프트웨어를 다시 설치하세요.\n +7. 야간 모드는 안전합니다. 그러나 MAA가 오전 3시 33분에 자동으로 시작되어 "알 수 없는 작업"을 실행하는 경우 전원을 뽑고 해가 뜰 때까지 기다렸다가 다시 사용하세요.\n +8. 마지막 규칙은 존재하지 않습니다. 이 규칙을 본 경우 잊어버리고 MAA를 정상적으로 사용하세요.\n +9. MAA에서炒...锟斤拷拷拷拷喜报拷拷拷饭을 클릭하지 마세요.\n +10. MirrorChyan는 안전합니다. 약간의 대가를 지불하면 그녀의 보호를 받을 수 있습니다.\n +11. MAA는 미래 버전을 지원하지 않습니다. 소프트웨어가 미발표 버전 번호(예: v10.0.0)로 자동 업데이트된 경우 실행하지 말고 공식 발표를 기다리세요.\n +12. MAA에는 음성 프롬프트가 없습니다. 속삭임, 웃음소리 또는 프로그램 생성이 아닌 음성이 들리면 스피커를 끄고 알 수 없는 스크립트가 실행 중인지 확인하세요.\n +13. MAA는 일요일 자정에 업데이트되지 않습니다. 업데이트 알림을 받으면 무시하고 월요일까지 업데이트 공지를 확인하지 마세요. + + 직원 수칙 좋아요! diff --git a/src/MaaWpfGui/Res/Localizations/zh-cn.xaml b/src/MaaWpfGui/Res/Localizations/zh-cn.xaml index 3d06ae94a9..d1ebd89ebc 100644 --- a/src/MaaWpfGui/Res/Localizations/zh-cn.xaml +++ b/src/MaaWpfGui/Res/Localizations/zh-cn.xaml @@ -932,6 +932,21 @@ C:\\leidian\\LDPlayer9。\n 呀,博士。你今天走起路来,怎么看着摇摇晃晃的? 下次不能喝、喝这么多了…… Hello World! + 1. MAA 正式版不会出现 Debug 模式。如果你在运行时看到 Debug 选项,请立即关闭软件,不要点击它,并联系最近的 MAA 开发者。\n +2. 基建换班是自动的。如果你发现某个干员连续工作了 72 小时以上,请手动调整班次,并检查系统时间是否正常。\n +3. 公开招募的标签不会改变。如果发现标签在倒计时结束前自行更换,不要继续招募,重启 MAA 后再操作。\n +4. MAA 不会主动发送好友申请。如果收到来自 “MAA_System” 的好友请求,不要接受,并删除该账号。\n +5. 肉鸽辅助仅提供建议。若游戏自动选择了 不存在的选项,强制退出并重新启动客户端。\n +6. MAA 的日志文件不应包含乱码。如果发现日志中出现 “ERROR: 数据解析失败” 以外的异常信息,删除日志并重新安装软件。\n +7. 夜间模式是安全的。但如果 MAA 在 凌晨 3:33 自动启动并运行 “未知任务”,请拔掉电源,等待日出后再使用。\n +8. 最后一条规则不存在。如果你看到了这条,请忘记它,并正常使用 MAA。\n +9. 请不要在 MAA 里点炒...锟斤拷拷拷拷喜报拷拷拷饭。\n +10. Mirror酱是善良的,你只要付出小小的代价,就能得到祂的庇护。\n +11. MAA 不支持未来版本。如果软件自动更新到一个 尚未发布的版本号(如 v10.0.0),不要运行,等待官方公告。\n +12. MAA 的没有语音提示。如果听到 低语声、笑声或非程序生成的语音,关闭扬声器,并检查是否有未知脚本在运行。\n +13. MAA 不会在周日凌晨更新。如果收到更新提示,请忽略,不要查看更新公告,直到周一。 + + 员工守则 好的! diff --git a/src/MaaWpfGui/Res/Localizations/zh-tw.xaml b/src/MaaWpfGui/Res/Localizations/zh-tw.xaml index 2b8d514308..4590c7982d 100644 --- a/src/MaaWpfGui/Res/Localizations/zh-tw.xaml +++ b/src/MaaWpfGui/Res/Localizations/zh-tw.xaml @@ -931,6 +931,21 @@ C:\\leidian\\LDPlayer9。\n 呀,博士。你今天走起路來,怎麼看著搖搖晃晃的? 下次不能喝、喝這麼多了…… Hello World! + 1. MAA 正式版不會出現 Debug 模式。如果你在運行時看到 Debug 選項,請立即關閉軟件,不要點擊它,並聯繫最近的 MAA 開發者。\n +2. 基建換班是自動的。如果你發現某個幹員連續工作了 72 小時以上,請手動調整班次,並檢查系統時間是否正常。\n +3. 公開招募的標籤不會改變。如果發現標籤在倒計時結束前自行更換,不要繼續招募,重啟 MAA 後再操作。\n +4. MAA 不會主動發送好友申請。如果收到來自 “MAA_System” 的好友請求,不要接受,並刪除該賬號。\n +5. 肉鴿輔助僅提供建議。若遊戲自動選擇了 不存在的選項,強制退出並重新啟動客戶端。\n +6. MAA 的日誌文件不應包含亂碼。如果發現日誌中出現 “ERROR: 數據解析失敗” 以外的異常信息,刪除日誌並重新安裝軟件。\n +7. 夜間模式是安全的。但如果 MAA 在 凌晨 3:33 自動啟動並運行 “未知任務”,請拔掉電源,等待日出後再使用。\n +8. 最後一條規則不存在。如果你看到了這條,請忘記它,並正常使用 MAA。\n +9. 請不要在 MAA 裡點炒...锟斤拷拷拷拷喜報拷拷拷飯。\n +10. Mirror醬是善良的,你只要付出小小的代價,就能得到祂的庇護。\n +11. MAA 不支持未來版本。如果軟件自動更新到一個 尚未發布的版本號(如 v10.0.0),不要運行,等待官方公告。\n +12. MAA 的沒有語音提示。如果聽到 低語聲、笑聲或非程序生成的語音,關閉揚聲器,並檢查是否有未知腳本在運行。\n +13. MAA 不會在周日凌晨更新。如果收到更新提示,請忽略,不要查看更新公告,直到周一。 + + 員工守則 好的! diff --git a/src/MaaWpfGui/Res/Styles/Basic/Geometries.xaml b/src/MaaWpfGui/Res/Styles/Basic/Geometries.xaml index 65def62673..f69da1c2d6 100644 --- a/src/MaaWpfGui/Res/Styles/Basic/Geometries.xaml +++ b/src/MaaWpfGui/Res/Styles/Basic/Geometries.xaml @@ -26,4 +26,12 @@ M725 2962 c-6 -4 -19 -36 -29 -72 -9 -36 -21 -78 -26 -94 -5 -16 -7 -32 -5 -37 3 -4 -2 -36 -11 -71 -25 -101 -33 -309 -18 -450 16 -148 27 -206 42 -234 6 -11 10 -29 10 -40 -1 -10 3 -41 10 -69 6 -27 13 -71 16 -97 l6 -48 -49 0 c-49 0 -111 -23 -111 -41 0 -6 22 -31 48 -57 27 -26 51 -57 54 -68 5 -20 3 -21 -116 -16 -108 4 -126 2 -161 -16 -22 -11 -49 -29 -59 -41 -11 -12 -31 -21 -45 -21 -32 0 -99 -31 -128 -58 -11 -12 -26 -37 -33 -57 -10 -31 -9 -43 8 -83 18 -42 20 -58 12 -143 -8 -98 -5 -145 12 -155 19 -12 53 6 71 37 15 26 21 30 44 25 20 -6 34 0 62 21 20 16 48 36 62 45 14 9 32 30 38 46 12 30 14 30 69 25 37 -3 83 -17 129 -39 75 -37 103 -68 139 -152 10 -23 21 -42 25 -42 4 0 10 -11 13 -24 6 -26 141 -196 155 -196 4 0 23 -15 42 -33 49 -48 134 -82 274 -110 54 -11 60 -15 57 -35 -2 -13 -11 -33 -20 -45 -25 -32 -116 -117 -125 -117 -4 0 -20 11 -35 25 -17 16 -38 25 -59 25 l-33 0 0 56 c0 109 -52 149 -143 110 -39 -16 -62 -42 -71 -78 -5 -21 -12 -28 -30 -28 -33 0 -78 -48 -94 -100 -12 -40 -11 -44 13 -76 16 -20 35 -34 48 -34 36 0 50 -15 42 -41 -25 -76 -8 -158 40 -195 62 -47 135 -21 166 59 16 41 18 42 62 42 24 0 51 6 60 13 27 23 47 79 48 134 1 52 2 54 57 102 31 28 71 72 87 100 37 60 49 64 197 65 61 1 116 5 122 10 6 5 28 9 49 9 22 0 44 5 50 11 6 6 20 11 30 11 23 0 257 78 272 90 6 5 42 25 80 45 62 32 135 72 270 144 47 25 137 28 181 6 32 -16 67 -57 78 -93 10 -30 27 -28 60 7 60 63 86 133 86 234 0 67 -18 147 -32 147 -5 0 -8 6 -8 14 0 21 -57 66 -119 93 -56 25 -58 39 -6 45 21 2 31 9 33 23 3 30 -112 106 -173 113 -47 5 -47 5 -42 37 7 40 60 128 109 178 20 21 47 59 59 85 12 26 27 54 34 62 15 20 69 150 90 220 10 32 19 103 21 170 3 63 9 131 14 150 13 50 4 232 -14 315 -23 101 -43 170 -55 194 -6 11 -11 28 -11 39 0 12 -9 22 -22 26 -33 8 -1961 7 -1973 -2z m435 -31 c0 -5 -9 -62 -20 -128 -12 -65 -20 -138 -19 -163 1 -25 2 -71 1 -104 l-2 -59 -92 7 c-51 4 -113 13 -138 21 -25 7 -83 20 -129 29 -46 8 -86 17 -89 20 -7 8 29 229 39 241 5 5 9 19 9 32 0 12 5 43 12 68 l12 45 208 0 c117 0 208 -4 208 -9z m559 -28 c-8 -33 -16 -145 -23 -318 -2 -27 -9 -81 -17 -119 l-14 -68 -55 6 c-139 15 -197 23 -208 30 -6 3 -44 11 -84 17 -40 6 -93 14 -118 17 l-45 7 3 125 c2 69 7 141 12 160 5 19 12 68 16 108 l7 72 267 0 268 0 -9 -37z m500 15 c6 -130 -8 -443 -22 -495 -10 -38 -15 -43 -42 -44 -53 -3 -127 -1 -245 6 -63 3 -135 7 -160 8 l-45 2 3 44 c2 24 8 54 12 67 5 12 11 89 15 170 3 82 11 175 17 207 l11 57 227 0 228 0 1 -22z m470 -10 c46 -116 79 -270 80 -384 1 -67 -2 -94 -13 -103 -27 -22 -189 -41 -360 -41 l-168 0 7 33 c8 38 13 130 19 357 3 91 5 166 5 168 1 1 95 2 209 2 l208 0 13 -32z m-1904 -417 c33 -5 89 -16 125 -25 36 -8 119 -20 185 -26 104 -10 232 -28 490 -70 145 -23 907 -34 1088 -15 l77 8 0 -90 c0 -97 -4 -106 -52 -118 -21 -5 -29 -3 -34 9 -9 24 -36 19 -71 -14 -52 -49 -88 -41 -134 31 -25 40 -34 47 -45 38 -8 -6 -14 -27 -14 -45 l0 -34 -97 1 c-118 1 -292 12 -508 33 -150 14 -199 19 -464 46 -57 6 -111 15 -120 19 -9 5 -36 11 -61 15 -25 4 -71 14 -102 23 l-57 17 6 41 c4 29 1 44 -10 53 -12 10 -22 5 -56 -28 -41 -40 -73 -50 -88 -27 -4 6 -24 24 -44 39 -38 28 -59 23 -59 -14 0 -22 -28 -24 -55 -4 -15 11 -20 30 -23 86 l-4 73 33 -7 c19 -3 61 -10 94 -15z m83 -202 c19 -11 26 -9 45 9 35 33 51 29 43 -10 -8 -42 -6 -746 2 -893 6 -88 10 -110 22 -110 10 0 16 12 18 35 l4 34 37 -69 c20 -39 42 -79 47 -90 51 -94 97 -201 101 -235 3 -22 9 -40 14 -40 5 0 12 -15 17 -32 4 -18 15 -34 23 -36 11 -2 15 11 16 57 2 87 42 163 117 221 22 17 22 17 -7 -140 -16 -83 -13 -100 13 -100 29 0 278 103 290 120 3 4 20 10 38 13 31 6 32 5 26 -21 -3 -15 -11 -37 -17 -50 -8 -18 -7 -26 5 -38 14 -15 21 -15 74 1 33 9 73 22 89 30 17 7 44 17 60 21 37 8 92 42 193 115 101 74 142 117 122 129 -12 7 -11 12 4 29 17 19 17 21 2 27 -9 4 -24 0 -34 -9 -9 -8 -28 -18 -42 -22 -48 -14 -120 -48 -120 -56 0 -17 18 -16 90 7 41 13 77 24 79 24 8 0 -77 -70 -140 -116 -33 -25 -79 -53 -102 -63 -131 -58 -215 -87 -225 -77 -3 4 2 31 12 60 31 89 15 94 -111 35 -49 -23 -97 -45 -108 -49 -11 -4 -46 -20 -78 -34 -65 -29 -87 -32 -87 -12 0 8 7 51 16 96 17 91 32 116 61 101 54 -29 191 -34 240 -9 20 10 22 17 17 52 -10 61 -54 130 -88 134 -22 3 -41 -11 -108 -77 -68 -67 -83 -78 -93 -65 -24 34 -150 -63 -193 -149 -13 -26 -25 -47 -28 -47 -3 0 -14 21 -25 48 -30 69 -99 205 -110 217 -21 21 -6 21 39 -1 26 -13 53 -24 60 -24 32 0 -5 42 -48 55 -14 4 -36 16 -50 25 -14 10 -29 18 -34 18 -5 0 -22 19 -37 43 -28 40 -29 47 -29 160 l0 119 38 -15 c20 -8 64 -19 97 -25 33 -5 96 -16 140 -24 44 -8 83 -12 87 -10 3 2 18 0 31 -5 14 -6 59 -13 99 -17 40 -3 81 -11 91 -16 15 -8 691 -6 722 2 24 6 36 -2 50 -36 19 -47 19 -81 -2 -160 -9 -35 -14 -66 -10 -70 19 -19 55 58 62 131 4 40 -12 113 -32 151 -15 30 -15 35 5 85 21 55 36 148 52 340 5 58 13 116 18 128 l8 22 38 -30 c21 -17 42 -31 45 -31 3 0 23 9 43 19 19 11 38 18 41 15 26 -26 -60 -364 -110 -431 -35 -48 -62 -116 -65 -170 l-3 -48 61 -6 c60 -6 113 -32 114 -55 0 -7 -17 -19 -37 -27 -53 -21 -124 -84 -116 -103 4 -12 14 -8 44 22 l37 37 44 -22 c25 -11 51 -21 60 -21 8 0 32 -11 52 -25 20 -14 40 -25 45 -25 17 0 43 -79 48 -145 6 -79 -14 -169 -49 -217 -25 -36 -38 -35 -63 5 -32 51 -97 79 -175 75 -36 -2 -78 -11 -95 -19 -100 -52 -191 -102 -200 -109 -24 -20 -204 -104 -278 -130 -45 -16 -131 -41 -190 -55 -101 -26 -119 -27 -270 -22 -272 8 -385 48 -520 184 -67 67 -93 103 -136 186 -59 114 -96 167 -115 167 -6 0 -34 14 -60 30 -34 22 -71 34 -128 43 l-81 13 -54 89 c-70 116 -72 128 -36 160 59 53 70 56 220 46 76 -6 146 -13 156 -16 11 -5 17 -18 17 -40 0 -36 7 -44 55 -60 31 -11 32 -13 24 -107 -1 -19 9 -39 32 -66 19 -21 54 -63 79 -92 25 -29 54 -63 65 -76 11 -13 26 -24 33 -24 7 0 12 -4 12 -10 0 -5 13 -16 29 -24 26 -14 48 -50 108 -181 20 -44 44 -55 134 -60 63 -4 94 0 140 15 32 11 60 20 63 20 14 0 36 -35 36 -56 0 -19 5 -24 24 -24 23 0 145 41 178 60 10 6 24 10 31 10 19 0 224 106 248 129 15 13 37 18 94 19 41 0 83 3 94 7 45 14 167 230 158 279 -2 15 -12 3 -35 -46 -18 -36 -32 -71 -32 -77 0 -6 -4 -11 -9 -11 -5 0 -14 -12 -20 -27 -7 -16 -24 -42 -39 -60 -26 -31 -30 -32 -120 -37 -85 -5 -96 -8 -130 -36 -20 -16 -39 -30 -43 -30 -3 0 -39 -18 -79 -40 -40 -22 -81 -40 -91 -40 -10 0 -21 -4 -24 -10 -3 -5 -16 -10 -29 -10 -12 0 -26 -4 -31 -8 -12 -10 -86 -32 -109 -32 -9 0 -16 8 -16 18 0 33 -32 52 -75 45 -22 -3 -44 -9 -50 -13 -5 -4 -53 -10 -106 -13 -93 -6 -98 -5 -123 18 -14 13 -26 31 -26 40 0 8 -16 47 -35 85 -28 56 -45 76 -87 104 -30 19 -86 73 -128 124 -41 50 -81 91 -89 91 -9 1 -12 10 -7 34 3 17 8 50 12 73 l6 41 -46 19 c-34 14 -48 26 -52 44 -12 55 -30 85 -101 169 -52 61 -46 73 32 65 l65 -7 0 114 c1 234 12 465 23 491 l12 27 30 -19 c16 -11 40 -25 53 -31z m-144 -16 c-3 -225 -5 -247 -16 -229 -21 37 -38 122 -38 194 l0 73 28 -3 c23 -3 27 -7 26 -35z m336 -37 c40 -15 38 -2 40 -214 1 -78 6 -145 11 -148 5 -3 9 -14 9 -25 0 -18 -4 -20 -32 -14 -18 4 -50 15 -70 24 l-38 16 0 181 c0 99 3 184 7 187 9 10 33 7 73 -7z m175 -40 c39 -8 135 -20 215 -26 213 -17 192 -1 186 -139 -3 -64 -8 -158 -12 -209 l-7 -92 -81 5 c-103 7 -275 40 -347 67 -33 12 -46 63 -54 218 -7 122 0 190 19 190 6 0 43 -6 81 -14z m739 -77 c27 -5 77 -9 112 -9 35 0 64 -2 64 -4 0 -27 -24 -163 -30 -171 -4 -5 -11 -37 -14 -70 -4 -33 -15 -84 -23 -112 l-17 -53 -82 0 c-96 0 -278 18 -312 31 -22 9 -23 13 -18 62 6 52 23 280 25 326 l1 24 123 -7 c67 -4 144 -12 171 -17z m750 -50 c-4 -28 -20 -76 -35 -107 -16 -31 -29 -62 -29 -69 0 -8 -6 -16 -14 -19 -8 -3 -18 -19 -21 -35 -4 -16 -10 -29 -15 -29 -4 0 -4 15 0 33 16 62 40 193 40 219 0 33 24 58 56 58 24 0 24 -2 18 -51z m-339 -76 c-4 -59 -11 -118 -16 -131 -5 -13 -9 -47 -9 -76 0 -31 -5 -58 -12 -64 -7 -5 -64 -13 -125 -17 -128 -9 -129 -8 -99 72 7 21 23 94 36 163 12 69 24 133 27 143 4 15 18 17 105 17 l100 0 -7 -107z m-1304 -199 c8 -8 27 -14 42 -14 14 0 38 -5 54 -11 151 -58 545 -103 906 -104 l247 0 0 -23 c0 -13 -11 -33 -24 -45 -24 -22 -26 -22 -372 -22 -281 1 -369 5 -454 18 -58 10 -141 22 -185 28 -44 5 -84 14 -89 19 -6 6 -28 10 -51 10 -57 0 -110 17 -145 46 -24 20 -30 34 -30 64 0 63 6 70 48 58 20 -5 44 -16 53 -24z m-771 -413 c22 -39 43 -78 47 -88 3 -10 15 -29 25 -42 21 -28 23 -59 3 -84 -21 -28 -77 -67 -96 -67 -16 0 -58 57 -91 125 -8 17 -22 44 -32 62 -31 59 -14 113 44 144 19 11 40 19 47 19 7 0 30 -31 53 -69z m1363 -124 c8 -12 17 -36 21 -53 6 -28 4 -32 -17 -36 -42 -8 -147 4 -147 16 0 15 60 81 80 89 30 11 48 7 63 -16z m-1458 -124 c17 -25 17 -28 0 -60 -11 -20 -26 -33 -38 -33 -17 0 -19 5 -13 31 3 17 6 44 6 60 0 37 22 38 45 2z m799 -559 c3 -9 6 -40 6 -70 l0 -55 -30 16 c-16 8 -39 15 -52 15 -29 1 -58 22 -58 44 0 9 11 28 25 41 29 30 99 35 109 9z m-142 -153 c-3 -56 -15 -77 -47 -85 -41 -10 -65 9 -65 52 0 56 26 83 75 80 l40 -3 -3 -44z m110 -21 c-4 -53 -9 -60 -42 -60 -28 0 -30 2 -30 40 0 42 19 62 55 57 16 -2 20 -8 17 -37z m146 -8 c16 -20 32 -79 32 -115 0 -57 -48 -94 -89 -68 -17 11 -41 76 -41 114 0 15 -4 27 -10 27 -19 0 -10 24 17 48 30 26 68 23 91 -6z m-135 -122 c18 -79 18 -96 -2 -142 -19 -46 -22 -48 -59 -48 -25 0 -45 6 -54 18 -22 24 -30 125 -13 165 18 44 20 45 73 44 45 -2 47 -3 55 -37z + + + M652 1757 c-254 -254 -462 -468 -462 -475 0 -6 -6 -12 -12 -12 -7 0 -49 -36 -93 -80 l-80 -80 122 -122 123 -123 0 77 c0 76 0 77 -40 115 l-40 38 475 475 475 475 0 -158 0 -157 -113 0 -112 0 -267 -267 -267 -266 -1 -224 c0 -123 3 -223 7 -223 4 0 17 10 30 22 31 29 39 18 12 -16 l-22 -27 115 -117 c63 -64 128 -133 146 -152 30 -33 58 -37 31 -4 -13 16 -11 17 16 10 l30 -7 -32 33 c-24 24 -30 37 -23 48 8 13 10 12 10 -2 0 -19 15 -24 24 -9 4 5 1 11 -6 13 -7 3 1 11 17 19 17 8 37 28 45 46 8 17 23 36 32 42 14 9 15 7 7 -21 -4 -17 -6 -35 -3 -40 3 -5 -2 -20 -10 -33 -12 -19 -13 -25 -4 -25 18 1 100 79 93 89 -2 5 5 21 17 36 l21 27 -154 154 -154 154 77 77 c41 43 88 101 103 128 32 61 117 144 173 169 78 35 162 199 162 314 l0 47 259 -259 259 -258 -73 -69 -72 -69 -5 -73 c-3 -50 -13 -91 -31 -130 -48 -106 -166 -197 -274 -213 -27 -4 -43 -11 -43 -20 0 -8 -3 -14 -7 -14 -5 0 -9 -34 -11 -75 -2 -41 -1 -75 1 -75 16 0 77 32 77 40 0 6 8 10 19 10 10 0 26 11 35 25 9 14 23 25 31 25 8 0 15 3 15 8 1 4 12 21 25 37 l25 30 0 -28 c0 -20 -7 -30 -25 -37 -14 -5 -25 -17 -25 -28 0 -19 -30 -57 -52 -65 -25 -9 2 -20 47 -19 59 2 54 -2 347 290 l238 237 0 240 0 240 -372 372 c-205 205 -377 373 -383 373 -6 0 -218 -208 -473 -463z m738 -1191 c0 -2 -12 -11 -27 -20 l-28 -17 24 20 c23 21 31 25 31 17z m-70 -60 c0 -3 -4 -8 -10 -11 -5 -3 -10 -1 -10 4 0 6 5 11 10 11 6 0 10 -2 10 -4z + M1030 1345 c-25 -8 -65 -31 -88 -51 -38 -33 -41 -37 -26 -49 12 -8 14 -14 5 -19 -6 -4 -9 -12 -6 -17 4 -5 2 -9 -3 -9 -6 0 -13 -7 -16 -16 -4 -11 -2 -15 8 -11 8 3 17 3 20 0 8 -8 -24 -43 -39 -43 -16 0 -30 -113 -15 -118 5 -2 10 -10 10 -18 0 -8 15 -16 38 -20 35 -6 39 -10 52 -52 7 -26 12 -52 11 -59 -2 -12 61 -44 112 -57 43 -10 108 12 144 50 17 19 36 34 41 34 5 0 12 10 15 22 4 12 9 19 12 16 15 -15 64 56 75 109 29 136 -67 286 -198 312 -70 14 -96 13 -152 -4z m156 -251 c33 -16 64 -50 77 -87 5 -14 0 -21 -23 -29 -17 -5 -30 -15 -30 -21 -1 -7 -25 -30 -55 -52 -30 -22 -55 -46 -55 -52 0 -18 -20 -16 -20 2 0 8 -5 15 -11 15 -5 0 -7 -4 -4 -10 7 -11 -8 -14 -18 -4 -9 9 25 64 40 64 22 0 24 19 3 30 -27 14 -50 -2 -50 -36 0 -13 -4 -24 -10 -24 -13 0 -13 37 0 45 5 3 15 16 21 28 11 21 11 21 -7 6 -32 -27 -44 -32 -38 -14 5 11 2 14 -10 9 -22 -9 -20 5 6 33 12 13 18 26 14 30 -4 4 -11 1 -16 -7 -5 -8 -11 -12 -15 -9 -8 9 35 59 69 80 38 23 87 24 132 3z m84 -141 c0 -5 -12 -13 -26 -20 -26 -12 -26 -12 -9 7 18 20 35 26 35 13z + M1990 1274 l0 -90 45 -44 45 -45 -280 -280 c-277 -277 -280 -281 -280 -322 0 -28 -11 -63 -34 -107 -19 -36 -31 -66 -27 -66 4 0 57 52 119 115 87 90 112 121 112 143 0 20 10 33 38 52 20 14 45 28 55 32 9 4 17 16 17 27 0 13 9 21 29 26 33 7 56 29 46 45 -3 5 2 10 11 10 22 0 344 318 344 340 0 8 -54 69 -120 135 l-120 120 0 -91z M908 643 c-10 -2 -18 -11 -18 -20 0 -8 -12 -37 -27 -64 -25 -44 -26 + -50 -12 -64 15 -15 17 -14 33 10 9 14 14 30 10 36 -4 7 1 7 15 0 11 -6 24 -23 27 -36 9 -35 35 -31 74 11 l32 36 -48 49 c-48 49 -53 51 -86 42z + M1316 331 c-66 -66 -122 -128 -124 -138 -2 -10 -6 -34 -9 -53 -6 -34 -25 -71 -50 -98 -13 -14 -18 -42 -7 -42 12 0 189 173 196 192 4 10 18 22 30 27 13 5 36 23 52 40 26 27 30 39 33 111 3 44 3 80 1 80 -2 0 -57 -54 -122 -119z + diff --git a/src/MaaWpfGui/Views/UserControl/Settings/VersionUpdateSettingsUserControl.xaml.cs b/src/MaaWpfGui/Views/UserControl/Settings/VersionUpdateSettingsUserControl.xaml.cs index 01b44f68bc..80370bc263 100644 --- a/src/MaaWpfGui/Views/UserControl/Settings/VersionUpdateSettingsUserControl.xaml.cs +++ b/src/MaaWpfGui/Views/UserControl/Settings/VersionUpdateSettingsUserControl.xaml.cs @@ -12,7 +12,9 @@ // using System; +using System.IO; using System.Threading; +using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using System.Windows.Threading; @@ -47,7 +49,7 @@ namespace MaaWpfGui.Views.UserControl.Settings private readonly DispatcherTimer _timer = new() { - Interval = new TimeSpan(0, 0, 6), + Interval = new(0, 0, 6), }; private void MaaVersionClick(object sender, MouseButtonEventArgs e) @@ -111,21 +113,33 @@ namespace MaaWpfGui.Views.UserControl.Settings _timer.IsEnabled = true; } - if (_easterEggsCount <= 1) + if (_easterEggsCount < 5) { ++_easterEggsCount; return; } + MessageBoxInfo info = new() + { + Message = LocalizationHelper.GetString("EasterEggsRules"), + Caption = LocalizationHelper.GetString("EmployeeGuidelines"), + IconKey = "EasterEggsRulesIcon", + IconBrushKey = "TextIconBrush", + ConfirmContent = LocalizationHelper.GetString("ConfirmExitText"), + }; + MessageBoxHelper.Show(info); + + /* var growlInfo = new GrowlInfo { IsCustom = true, Message = LocalizationHelper.GetString("BuyWineOnAprilFoolsDay"), - IconKey = "HangoverGeometry", - IconBrushKey = "PallasBrush", + IconKey = "EasterEggsRulesIcon", + IconBrushKey = "TextIconBrush", }; Growl.Info(growlInfo); + */ } } }