Browse Source

refactor(electron): 重构预加载和主进程代码以提高可读性

- 格式化预加载脚本,添加注释和分组,明确 API 功能
- 重写主进程脚本,使用有意义的变量名和清晰结构
- 保持原有功能不变,仅改进代码结构和可维护性
Ethanfly 1 day ago
parent
commit
a61a3bae29
2 changed files with 43 additions and 1 deletions
  1. 0 0
      client/dist-electron/main.js
  2. 43 1
      client/dist-electron/preload.js

File diff suppressed because it is too large
+ 0 - 0
client/dist-electron/main.js


File diff suppressed because it is too large
+ 43 - 1
client/dist-electron/preload.js


Some files were not shown because too many files changed in this diff