linshenjianlu
e89eb9a904
fix(entry): 关键模块失败时暴露真实错误,__out 增加核心依赖前置检查
2026-04-21 09:57:17 +08:00
linshenjianlu
ed3ee6eaf6
fix(ToolHub): 关键模块加载失败时不再直接 throw,而是通过 __out 返回详细错误信息
2026-04-21 08:24:38 +08:00
linshenjianlu
fee6e0bc40
fix(ToolHub): 增强 loadScript 错误日志输出,方便排查入口报错原因
2026-04-21 08:11:40 +08:00
linshenjianlu
9ad01b436d
fix: 代码审查6项修复
...
- 689处空catch块补全日志
- eval远程代码增加SHA256校验
- 删除ToolHubLogger重复定义
- getParentFile()增加null保护
- 提取buildButtonEditorPanelView内通用工具函数到文件级
- 修复HandlerThread/ValueAnimator资源泄漏
2026-04-21 07:42:23 +08:00
Hermes Bot
6bf2be1bf1
fix: 同步入口 ToolHub.js 与本地版本
2026-04-20 13:38:03 +08:00
Hermes Bot
96275e8028
feat: 优化图标分页选择器与中文返回信息
2026-04-20 13:34:28 +08:00
Hermes Bot
2022c2d1c1
feat: 图标选择器翻页+入口中文摘要
...
- ToolHub.js: __out 返回添加中文摘要字段(状态/按钮数量/面板布局/日志/崩溃处理/线程模型等)
- th_07_shortcut.js: showIconPicker 改为翻页模式,动态计算每页图标数
- th_07_shortcut.js: 修复关闭后再点击打不开的问题(api.show 不提前设置 state.hidden)
2026-04-20 13:19:31 +08:00
Hermes Bot
034ed61e22
feat: ShortX 图标库选择器 + 入口更新信息返回
...
- th_07_shortcut.js: 新增 showIconPicker() 多宫格自适应图标选择器
- th_14_panels.js: 按钮编辑器内联图标库改为浮窗选择器
- ToolHub.js: 返回 JSON 新增 updates/errors 字段
2026-04-20 13:07:30 +08:00
root
9ef8bdae40
refactor: replace version-based update with HEAD Last-Modified check
...
- Remove MODULE_MANIFEST and getFileVersion()
- Add getRemoteLastModified() via HTTP HEAD
- Add getLocalLastModified() / saveLocalLastModified() caching to .lm_* files
- loadScript now checks remote Last-Modified against local cache on every run
- File missing -> download; File exists + remote newer -> download; otherwise skip
- Network failure gracefully falls back to local file
- Entry file no longer needs version bumps when submodules update
2026-04-20 12:41:13 +08:00
root
9b07a888a5
chore: bump version for shell refactor (1.0.0 -> 1.0.1)
...
- th_01_base.js: 1.0.1 (Base64 decode comment cleanup)
- th_10_shell.js: 1.0.1 (remove Action-first path, keep only broadcast bridge)
- th_11_action.js: 1.0.1 (toast msg update)
- ToolHub.js: MODULE_MANIFEST synced
2026-04-20 12:32:55 +08:00
root
c7e9b92322
refactor: split th_2_core.js into 12 modules, rename all files to 2-digit numbering
...
- Split th_2_core.js (4715 lines, 177KB) into:
th_02_core.js, th_03_icon.js, th_04_theme.js, th_05_persistence.js,
th_06_icon_parser.js, th_07_shortcut.js, th_08_content.js,
th_09_animation.js, th_10_shell.js, th_11_action.js,
th_12_rebuild.js, th_13_panel_ui.js
- Rename existing: th_1_base→th_01_base, th_3_panels→th_14_panels,
th_4_extra→th_15_extra, th_5_entry→th_16_entry
- Update ToolHub.js MODULE_MANIFEST, modules array, and critical module check
2026-04-20 11:53:13 +08:00
root
c64d4c336b
chore: 更新 git 仓库链接 chenziran -> linshenjianlu
2026-04-20 11:03:36 +08:00
root
6b112d011a
feat: 更新入口文件与模块 — 自动下载、版本校验、权限管理、日志落盘
2026-04-20 10:40:12 +08:00
c9c35bda9b
上传文件至「/」
2026-04-19 23:40:43 +08:00