Commit Graph

891 Commits

Author SHA1 Message Date
hicccc77
2d711cca80 fix: 修复了一些安全问题 2026-03-14 19:34:50 +08:00
hicccc77
b274c99b91 fix: osascript 使用完整路径,修复打包后 ENOENT 问题 2026-03-14 19:28:03 +08:00
hicccc77
4e66074603 fix: 增强 macOS 打包后 WeChat PID 获取的兼容性
- 新增 pgrep -f 作为第二 fallback,匹配完整路径
- ps 解析时同时检查 comm 列(打包后 command 列可能被截断)
- 过滤时排除 comm 为 WeChat Helper 的辅助进程
2026-03-14 19:22:42 +08:00
hicccc77
42fbc479c9 Merge branch 'dev' of https://github.com/hicccc77/WeFlow into dev 2026-03-14 18:58:55 +08:00
hicccc77
f47610b98a fix: 修复 macOS 打包后的图标、spawn ENOENT 和 dylib 路径问题
- 新增 resources/icon.icns(由 public/logo.png 转换)
- package.json: 配置 build.icon 和 build.mac.icon 使用 .icns
- main.ts: BrowserWindow 图标改为平台感知,darwin 用 .icns,其他用 .ico
- keyServiceMac.ts: pgrep/ps/pkill 改用绝对路径,修复打包后 PATH 受限导致的 spawn ENOENT
2026-03-14 18:45:12 +08:00
xuncha
cda45ce64c Merge pull request #432 from xunchahaha:dev
Dev
2026-03-14 15:59:31 +08:00
xuncha
009a0d64b8 更新打包 2026-03-14 15:58:50 +08:00
xuncha
3afb0da017 Merge pull request #431 from xunchahaha:dev
Dev
2026-03-14 15:46:38 +08:00
xuncha
bdc7f8a8a8 更新打包 2026-03-14 15:40:44 +08:00
xuncha
69a72f24ed Merge branch 'hicccc77:dev' into dev 2026-03-14 14:50:17 +08:00
cc
ee0e71d50e 更新窗口优化 2026-03-14 14:30:56 +08:00
cc
39ba175651 Merge pull request #430 from Wythehard/codex/cleanup-monitor-debug-logs
chore: remove temporary monitor debug logs and add log clear action
2026-03-14 14:17:25 +08:00
superclaw
731f022669 chore: remove monitor debug logs and add log clear action 2026-03-14 14:16:03 +08:00
hicccc77
8d5527990b chore: 更新 wcdb_api 资源文件 2026-03-14 14:02:06 +08:00
hicccc77
1ff536c2f7 chore: 更新 wcdb_api 资源文件 2026-03-14 13:51:32 +08:00
cc
27a18f1fc6 优化图片窗口的渲染;修复实时管道的问题;优化了图片密钥相关配置流程 2026-03-14 13:34:41 +08:00
hicccc77
8921b90392 chore: 更新 wcdb_api 资源文件 2026-03-14 13:33:07 +08:00
hicccc77
6cd925b062 chore(resources): 更新 macOS Xkey 二进制文件
同步 Xkey 最新版本,新增根据微信版本号动态选择扫描策略:
- 4.1.8 及以上版本使用纯语义定位模式
- 旧版本继续使用传统偏移量模式
2026-03-13 23:11:07 +08:00
cc
28a344c63c 一些小问题的修复 2026-03-13 23:00:17 +08:00
cc
a9b5fa0fae Merge pull request #425 from xioFelix/fix/image-scan-helper-entitlement
fix: 图片密钥内存扫描通过 image_scan_helper 子进程解决 task_for_pid 权限问题
2026-03-13 22:50:58 +08:00
xuncha
65212201ad https://github.com/hicccc77/WeFlow/issues/372导出时给每个格式都接入了群成员显示逻辑 2026-03-13 21:14:46 +08:00
xuncha
d8c3ba34a8 每次点击图片的时候 都解密一遍 2026-03-13 21:14:46 +08:00
xuncha
63be8a35ad 修复消息窗口拖动的问题 2026-03-13 21:14:46 +08:00
xuncha
53ef4e11f9 图片解密逻辑优化https://github.com/hicccc77/WeFlow/issues/408#issuecomment-4053026902 2026-03-13 21:14:46 +08:00
xuncha
c9a6451407 尝试修复 https://github.com/hicccc77/WeFlow/issues/378 中的问题 2026-03-13 21:14:46 +08:00
xuncha
9d07a3a7bd 给别的格式同步 2026-03-13 21:14:46 +08:00
xuncha
bd4296199a 图片解密失败的时候 可以导出缩略图 html 2026-03-13 21:14:46 +08:00
xuncha
b9e0535f63 https://github.com/hicccc77/WeFlow/issues/372导出时给每个格式都接入了群成员显示逻辑 2026-03-13 21:13:45 +08:00
xuncha
6e371d75c8 每次点击图片的时候 都解密一遍 2026-03-13 20:50:08 +08:00
xuncha
7697f382ef 修复消息窗口拖动的问题 2026-03-13 20:49:53 +08:00
xuncha
4c551a8c91 图片解密逻辑优化https://github.com/hicccc77/WeFlow/issues/408#issuecomment-4053026902 2026-03-13 20:40:16 +08:00
cc
56227c69f7 一些小更新 2026-03-13 20:34:40 +08:00
Felix
5acd3d86c8 fix: image_scan_helper 自动检测 task_for_pid 权限不足时通过 osascript 提权运行
macOS SIP 下 ad-hoc 签名的 debugger entitlement 不被信任,导致
image_scan_helper 调用 task_for_pid 返回 kr=5。现在先尝试直接运行,
检测到权限错误后自动切换到 osascript with administrator privileges
方式运行 helper,后续调用跳过直接运行直接走提权路径。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 23:22:27 +11:00
xuncha
d7f7139f36 尝试修复 https://github.com/hicccc77/WeFlow/issues/378 中的问题 2026-03-13 20:21:56 +08:00
xuncha
1c5cacf1ce 给别的格式同步 2026-03-13 20:08:42 +08:00
Felix
0a603116ef Merge branch 'dev' into fix/image-scan-helper-entitlement
解决冲突:在 dev 最新 Mach API 内存扫描方案基础上,保留 image_scan_helper
子进程作为优先路径(有 debugger entitlement),Mach API 作为 fallback。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 22:42:59 +11:00
xuncha
809b28a994 Merge branch 'dev' of https://github.com/xunchahaha/WeFlow into dev 2026-03-13 19:38:20 +08:00
xuncha
f7610a3570 图片解密失败的时候 可以导出缩略图 html 2026-03-13 19:38:17 +08:00
Felix
bff9e87096 fix: 图片密钥内存扫描通过子进程调用解决 task_for_pid 权限问题
Electron 进程缺少 com.apple.security.cs.debugger entitlement,
导致 ScanMemoryForImageKey 中的 task_for_pid 调用失败(kr=5)。

新增 image_scan_helper 子进程包装程序(与 xkey_helper 方案一致):
- 新建 resources/image_scan_helper.c:dlopen libwx_key.dylib 并调用
  ScanMemoryForImageKey,通过 JSON stdout 返回结果
- 新建 resources/image_scan_entitlements.plist:包含 debugger 和
  allow-unsigned-executable-memory entitlements
- 编译为 universal binary(x86_64 + arm64)并 ad-hoc 签名
- 修改 keyServiceMac.ts _scanMemoryForAesKey():优先 spawn
  image_scan_helper 子进程,失败时 fallback 到直接调 dylib

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 15:18:52 +11:00
cc
d872a8af20 Merge branch 'dev' of https://github.com/hicccc77/WeFlow into dev 2026-03-12 23:52:49 +08:00
cc
4966cdbfac 页面交互与动画优化 2026-03-12 23:52:46 +08:00
cc
cb3eb83eac Merge pull request #422 from Wythehard/codex/dev-pr-20260312
feat: sync local changes and add unsigned mac arm64 dmg action
2026-03-12 23:05:59 +08:00
superclaw
5daa7bce73 feat: update app logic and add unsigned mac arm64 dmg action 2026-03-12 22:56:09 +08:00
hicccc77
4e80f93b30 fix: enable file monitor for macOS (remove platform restriction) 2026-03-12 22:48:16 +08:00
hicccc77
2776a1a5ce chore: update wcdb_api with macOS file monitoring support (kqueue-based) 2026-03-12 22:43:32 +08:00
hicccc77
4f402d6a6a chore: update wcdb_api with simplified security check 2026-03-12 21:47:48 +08:00
hicccc77
d544da6e4d chore: update libwcdb_api.dylib with macOS cloud reporting support 2026-03-12 21:30:58 +08:00
hicccc77
0e42c19d3b feat(mac): implement WeChat PID detection and pass to helper 2026-03-12 20:46:10 +08:00
hicccc77
0a2bd3d46a chore: update xkey_helper and libwx_key to support pid parameter 2026-03-12 20:37:11 +08:00
cc
86d2dade11 Merge pull request #420 from hicccc77/main
同步更新
2026-03-12 19:50:17 +08:00