You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
谢亚昕
427ed9399f
重构更新模块并支持事件作用域机制
- 修改 `config/app_config.json` 中的热更新下载地址,替换为新的服务器地址。
- 重写 `packages/base/event/main/index.ts` 实现支持作用域的事件系统,新增类型推导和前缀处理逻辑。
- 删除 `packages/helper/updater/common.ts` 文件,其功能迁移到新的事件定义文件中。
- 更新 `packages/helper/updater/main/handler.ts` 适配新的事件作用域机制。
- 重构 `packages/helper/updater/main/index.ts` 为新的 `main.ts`,整合事件发射器并支持进度回调。
- 删除废弃的 `packages/helper/updater/renderer.ts` 文件。
- 修改 `packages/utils/main/index.ts` 的广播函数以支持作用域事件。
- 更新 `src/common/event/Updater` 相关模块,使用新的事件作用域机制处理更新进度。
- 调整 `src/preload/index.ts` 的 IPC 事件监听机制以支持作用域前缀。
- 修改 `src/types/global.d.ts` 的类型定义,增强事件系统的类型安全性。
- 新增 `events.ts` 定义更新模块专用的事件类型和作用域常量。
- 在首页添加触发热更新的点击事件用于测试。
|
3 weeks ago |
.. |
app_config.json
|
重构更新模块并支持事件作用域机制
|
3 weeks ago |
exe_config.json
|
大刀阔斧
|
2 months ago |
index.ts
|
大刀阔斧
|
2 months ago |