Commit Graph

43 Commits

Author SHA1 Message Date
辉鸭蛋
9372c007f8 一键更新失败的时候不抛出错误 2026-01-16 22:37:36 +08:00
ShadowLemoon
cd3ace0b62 perf: 减少一次拉取,提升100% (#2619) 2026-01-12 21:44:08 +08:00
辉鸭蛋
16a8142faa feat: add progress reporting for repository fetch and clone operations 2026-01-11 01:15:45 +08:00
辉鸭蛋
6db5926dce fix: reset repository reference after update failure 2026-01-10 23:55:44 +08:00
ShadowLemoon
24c134fb11 fix: 始终重新克隆脚本仓库 (#2614) 2026-01-10 23:45:13 +08:00
ShadowLemoon
d830dea328 perf: 极大加快脚本仓库的拉取速度 (#2359)
Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
2026-01-04 22:19:32 +08:00
躁动的氨气
918aaf3b99 webview2改用虚拟域名 (#2543) 2025-12-14 00:27:21 +08:00
躁动的氨气
be2918ef56 记录仓库页面位置和大小,提供默认值 (#2458) 2025-11-14 21:49:43 +08:00
ShadowLemoon
300656761d refactor: 给没有跟随主题的弹窗加上跟随主题的功能 (#2461) 2025-11-14 16:29:49 +08:00
ShadowLemoon
a58e93976c feat: 支持私有脚本仓库鉴权 (#2361) 2025-10-19 21:14:16 +08:00
辉鸭蛋
bfe55061f4 git 更新提升速度 2025-09-12 02:04:25 +08:00
辉鸭蛋
5e8e078d8d 修复删除仓库时,仓库被占用的问题。修复历次更新 Fetch 过慢的问题 2025-09-10 01:25:22 +08:00
躁动的氨气
9a6a11295e 优化节点更新标记逻辑 (#2162) 2025-09-09 23:43:08 +08:00
辉鸭蛋
2f55dd0502 使用release分支更新脚本仓库 2025-09-06 01:13:23 +08:00
躁动的氨气
d1b1c32528 JS添加保存图片方法,仓库json支持积累更新提示 (#2078) 2025-08-17 01:15:30 +08:00
躁动的氨气
82c54a3458 修复js脚本需要备份的文件无法恢复的问题 (#2018) 2025-08-07 23:26:35 +08:00
躁动的氨气
dc59a3892d 增加JS保存文件支持 (#1990) 2025-08-03 01:33:47 +08:00
躁动的氨气
1add385e8a 小优化及新增脚本仓库桥接支持 (#1952) 2025-08-02 17:31:41 +08:00
mfkvfhpdx
20565f4328 调度器配置中增加执行成功任务跳过执行配置 (#1893) 2025-07-26 14:19:45 +08:00
zdAnQi
b872e973fe 父节点存在性检测 (#1897) 2025-07-25 00:10:32 +08:00
辉鸭蛋
233b7e8a0f fix: 脚本仓库更新 2025-07-21 22:35:38 +08:00
zdAnQi
a0649d05db 脚本仓库配置文件订阅后更新 (#1896)
Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
2025-07-20 23:10:03 +08:00
辉鸭蛋
0cec1aecfa 自动使用兑换码 (#1895) 2025-07-20 20:24:00 +08:00
Takaranoao
021d1f937a 选中的更新渠道URL写入配置文件并允许从自定义URL更新脚本仓库 (#1864)
Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
2025-07-12 14:32:28 +08:00
辉鸭蛋
77a22c127d update fetch options to disable proxy during script repository updates #1822 2025-07-03 02:36:26 +08:00
辉鸭蛋
94db5d16cc 自动幽境危战 (#1786)
* feat: add AutoStygianOnslaught task and configuration for resin usage management

* UI

* feat: enhance AutoStygianOnslaught task with improved detection and handling
2025-06-28 20:22:57 +08:00
辉鸭蛋
80ef73cc51 脚本仓库更新添加进度条 2025-06-26 01:52:55 +08:00
辉鸭蛋
95ccb463ab fix repository path ' ' is not owned by current user #1746
git config --global --add safe.directory *
2025-06-23 03:02:07 +08:00
辉鸭蛋
a520ee8785 修复离线仓库导入不可用的问题 2025-06-21 01:40:00 +08:00
辉鸭蛋
6f87a0c4d0 脚本仓库V2 (#1707)
* feat: add custom drawer control and integrate it into the UI

* 更新仓库UI

* feat: implement Git-based repository update mechanism and improve error handling

* feat: add reset repository functionality with confirmation dialog

* 修改打开队伍配置界面的重试次数和日志

* feat: add drawer open/close events and improve drawer closing logic

* feat: enhance WebpagePanel navigation handling and improve initialization logic

* feat: add drawer opened event handling and improve navigation completion logic

* feat: implement dynamic height adjustment for WebpagePanel using Grid container

* feat: update drawer dimensions and apply dynamic sizing based on position

* feat: add CustomDrawer component and integrate with MapPathingViewModel for enhanced navigation

* feat: integrate WebView2 for Markdown file navigation in MapPathingViewModel
2025-06-17 03:13:56 +08:00
辉鸭蛋
472c169603 use R2 to distribute script files 2025-02-06 01:37:42 +08:00
辉鸭蛋
f76c877882 support only local script repo 2025-02-05 22:23:31 +08:00
辉鸭蛋
31fcf9cedf fix WindowStartupLocation without Owner
修复脚本订阅和配置组运行的提示框在高DPI显示屏下跑到屏幕外的问题
2025-02-04 21:06:13 +08:00
辉鸭蛋
06b142b8b2 more check for script repo 2025-02-01 08:59:24 +08:00
辉鸭蛋
d5838017d7 fix script import bug 2025-01-12 21:09:48 +08:00
辉鸭蛋
2d3395b491 typo & ui 2025-01-01 01:52:41 +08:00
辉鸭蛋
19c7b10b01 fix repo update 2024-11-09 17:37:46 +08:00
辉鸭蛋
94aae80046 auto pathing: optimize switch avatar
删除 `BetterGenshinImpact.csproj` 中的无用文件夹包含项。
将 `PathingConfig.cs` 中部分属性类型从 `int` 改为 `string`,并调整默认值。
在 `ScriptRepoUpdater.cs` 中用 `MessageBox` 替换 `ContentDialog`。
简化 `ElementalSkillHandler.cs` 和 `NormalAttackHandler.cs` 中的代码。
删除 `NahidaCollectHandler.cs` 中的切换角色代码。
在 `PathingTask.cs` 中添加 `HasAction` 方法。
在 `PathExecutor.cs` 中添加 `_actionAvatarIndexMap` 字典和多个新方法。
新增 `ReturnMainUiTask.cs` 任务类。
2024-10-24 23:05:52 +08:00
辉鸭蛋
404e7215fa add icon for pathing ui 2024-10-24 00:48:58 +08:00
辉鸭蛋
7cc4093079 refresh the ui after subscribing to the script
重构了多个类中的方法为异步方法,并增加了消息注册逻辑:
- `ScriptRepoUpdater.cs`:增加了检查并创建 `ReposPath` 目录的逻辑。
- `RepoWebBridge.cs`:引用新命名空间,重构 `GetRepoJson` 和 `ImportUri` 方法为异步方法,增加了检查和更新本地仓库的逻辑。
- `JsListViewModel.cs` 和 `MapPathingViewModel.cs`:引用新命名空间,增加消息注册逻辑,修正方法中的引用。
- `PathingTask.cs`:修正了日志记录中 `FileName` 的引用。
- `TaskSettingsPage.xaml`:更新了文本内容,增加了关于装备「王树瑞佑」的说明。
- 新增 `RefreshDataMessage.cs` 文件,定义了 `RefreshDataMessage` 类。
2024-10-21 01:32:36 +08:00
辉鸭蛋
3d2b1b376e 0.35.0 2024-10-14 00:24:11 +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