Commit Graph

71 Commits

Author SHA1 Message Date
FishmanTheMurloc
6d4f8b80e8 Feat/multi lan (#1336)
* 记录一次对hutaofisher的访谈,帮助开发者理解其算法

* 本地化HelloWorld

* .csproj取消windows版本号,此处导致了IDE在新建代码文件和自动生成代码时,默认命名空间丢失的问题。已知VisualStudio和ReSharper存在这个问题。

* 优化扩展方法写法,改为从localizer扩展;Converter优化写法,避免冲突;新增两种语言,待测试ocr效果

* Revert ".csproj取消windows版本号,此处导致了IDE在新建代码文件和自动生成代码时,默认命名空间丢失的问题。已知VisualStudio和ReSharper存在这个问题。"

This reverts commit 8bd7ee74c5.

* localizer改为由构造函数传入以支持单元测试;一个英语上钩的单元测试

* 传送任务支持英语游戏界面;本地化参数挪至OtherConfig类下,但界面位置暂不挪动,待定

* 调整resx位置风格,放在直接使用字符串的类下;一条龙合成树脂及领取每日奖励支持游戏内中英双语

* 删除无用碎片文件

* 删去两个不必要的Sdcb包引用

* Paddle服务类去掉分类模型;检测和识别新增支持繁中和法语,配有单元测试;因小语种识别效果不理想,使用正则匹配替换多处识别文本相等或包含判断;钓鱼、一条龙合成树脂及领取每日奖励支持游戏内繁中和法语;

* 检查今日奖励任务的多语言化;右侧联机的P图标检测区域宽度缩减,避免英语角色名被误识别成P

* AutoDomainTask的游戏多语言化,由于我的游戏账号无法测试,仅配一些测试用例

* 修复有3个Mizuki导致异常的bug,临时用拼音代替新角色英文名,并为该数据初始化方法添加单元测试

* 瓦雷莎删去别名“牛牛”,因荒泷一斗已占用此别名;别名加载和读取优化

* 加个锁避免单元测试中多线程初始化paddle崩溃
2025-03-28 11:00:08 +08:00
辉鸭蛋
366e5d140a add WelcomeDialog 2025-03-09 18:55:25 +08:00
辉鸭蛋
33d742bd4d Merge branch 'main' into pr/1054 2025-02-01 22:16:36 +08:00
辉鸭蛋
c2709544fa allow full folder security 2025-02-01 13:33:05 +08:00
辉鸭蛋
70a8d544fd ui: win10 not display switch blur button 2025-01-30 10:29:14 +08:00
辉鸭蛋
2536b14af1 fist run not init key binding 2025-01-29 22:58:23 +08:00
辉鸭蛋
b130351d8d bgi.huiyadan.com -> bettergi.com 2025-01-29 08:41:11 +08:00
辉鸭蛋
3e114ad358 添加windows通知 2025-01-28 13:12:14 +08:00
辉鸭蛋
af0a869c70 shutdown when user config migrate 2025-01-26 17:09:19 +08:00
辉鸭蛋
bd72e6420d fist run old version clear 2025-01-26 12:55:57 +08:00
辉鸭蛋
1afeb0818a #974 2025-01-25 15:55:36 +08:00
辉鸭蛋
1d5f5c772e update ui 2025-01-25 13:55:19 +08:00
辉鸭蛋
158688d435 fix patch 1 2025-01-24 18:08:56 +08:00
辉鸭蛋
917ba1460d fix some bug 2025-01-24 00:16:11 +08:00
辉鸭蛋
c61691ec1e init key binding on first run 2025-01-20 00:56:12 +08:00
辉鸭蛋
ca96204e01 install path 2025-01-20 00:22:40 +08:00
辉鸭蛋
dcafd64139 save theme 2025-01-18 17:54:59 +08:00
辉鸭蛋
a22002966e auto update 2025-01-13 01:17:11 +08:00
__Chisato__
6536cad9fd 增加了更改窗口模糊的选项 2025-01-06 20:11:51 +08:00
辉鸭蛋
e3689cd21a ui opt 2024-11-22 22:36:32 +08:00
辉鸭蛋
e595b67d33 msg more info 2024-11-02 13:05:48 +08:00
辉鸭蛋
dcd7831368 auto fix win11 bitblt 2024-11-02 12:57:58 +08:00
辉鸭蛋
b2cf62a21c add local script repo web
重构了 `AvatarClassifyGen.cs` 中的图像读取逻辑,现在只读取一个图像文件。`AllConfig.cs` 中添加了 `ScriptConfig` 类的配置,并监听其属性变化。`ScriptRepoUpdater.cs` 中引入了多个新命名空间,添加了 `_logger` 和 `_webWindow` 字段,新增了 `AutoUpdate` 方法,修改了 `UpdateCenterRepo` 方法,新增了 `FindCenterRepoPath`、`ImportScriptFromUri` 和 `OpenLocalRepoInWebView` 方法。`WebpagePanel.cs` 中添加了 `OnWebViewInitializedAction` 属性。`WebpageWindow.cs` 中注释掉了背景色设置。`MainWindow.xaml` 中修改了标题栏图标路径。`JsListPage.xaml`、`KeyMouseRecordPage.xaml` 和 `MapPathingPage.xaml` 中修改了按钮命令绑定。`MainWindowViewModel.cs` 中添加了 `AutoUpdate` 方法调用。`JsListViewModel.cs`、`KeyMouseRecordPageViewModel.cs` 和 `MapPathingViewModel.cs` 中添加了 `Config` 属性和 `OnOpenLocalScriptRepo` 命令。新增了 `ScriptConfig.cs` 和 `RepoWebBridge.cs` 文件,定义了 `ScriptConfig` 和 `RepoWebBridge` 类。
2024-10-13 18:13:28 +08:00
辉鸭蛋
c75dbbc241 add script repo downloader 2024-10-13 13:36:06 +08:00
ema
335b053b32 change: moved image assets to new folder 2024-09-30 10:12:13 +08:00
ema
24d798d6b2 UI/UX: use MessageBox from Violeta 2024-08-20 23:46:29 +08:00
ema
4626863f30 fix #446 2024-08-12 00:23:43 +08:00
辉鸭蛋
9a7e4b5a01 move log info 2024-07-24 22:12:13 +08:00
ema
1cf134ab30 show release markdown 2024-06-27 00:08:37 +08:00
辉鸭蛋
6b7e51a78e edit UI title 2024-06-01 18:21:08 +08:00
辉鸭蛋
36dcbebdfa add GPU title flag 2024-04-06 12:00:14 +08:00
Lightczx
1c97b425f4 refine 2024-03-28 14:00:29 +08:00
Mr-Quin
087956b161 Add option to minimize to tray when existing 2024-03-25 22:45:12 -07:00
ema
ce89e41b60 fix: process can't be exited by X button
#298
2024-03-10 02:58:30 +08:00
ema
24c4a021cb restruct: add mvvm with NotifyIcon 2024-03-10 02:40:40 +08:00
Mr-Quin
8f7cd481f2 Implement NotifyIcon using WPF-UI.Tray 2024-03-08 12:08:15 -08:00
Mr-Quin
c664eca7da Add button to send app to tray 2024-03-07 20:15:09 -08:00
huiyadanli
0885faf8b8 remove quick enhance artifact 2023-12-23 17:50:51 +08:00
huiyadanli
fbf00105c1 throw inner exception #132 #48 2023-12-05 23:50:35 +08:00
huiyadanli
e3fdbe8990 fixed: GetNewestInfoの呼び出しが再びクラッシュ #114 2023-11-30 22:56:43 +08:00
huiyadanli
4a255ac1bd upgrade prompt to add options that will no longer be prompted 2023-11-25 23:47:39 +08:00
huiyadanli
d8cbdba33b try catch #47 & print exception logs #48 2023-11-25 03:35:30 +08:00
huiyadanli
28899ee9d6 add update notice 2023-11-23 01:13:20 +08:00
huiyadanli
333d692237 refactor: add model in preject 2023-11-03 00:44:14 +08:00
huiyadanli
d57e67c159 update version and add logo 2023-10-28 21:03:05 +08:00
huiyadanli
1fc0301551 refactor Fischless.WindowCapture & add DwmSharedSurface capture 2023-10-07 23:26:56 +08:00
huiyadanli
5794164546 some test code 2023-10-07 16:01:10 +08:00
huiyadanli
45414606ce optimize log output 2023-10-07 10:15:13 +08:00
huiyadanli
f1b26f4d70 Load and save config 2023-10-05 22:13:48 +08:00
huiyadanli
548e136d11 Menu navigation & DI 2023-10-05 17:56:57 +08:00