From 7b9139bd8fed8e97fb8c6e19aa7545a0a60f84e2 Mon Sep 17 00:00:00 2001 From: canghe Date: Sat, 4 Apr 2026 16:13:25 +0800 Subject: [PATCH] Add re-signing safety notice: no ban risk, may affect auto-update --- README.md | 4 ++-- README_CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3cefdcc..3867e96 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ If you're unsure which WeChat account is currently active, navigate to the data On some macOS systems, `init` may fail with `task_for_pid failed` even when running with `sudo`. This is due to macOS security restrictions on process memory access. -**WeChat CLI will automatically attempt to fix this** by re-signing WeChat with the required entitlement. Just follow the on-screen instructions: +**WeChat CLI will automatically attempt to fix this** by re-signing WeChat with the required entitlement (original entitlements are preserved). Just follow the on-screen instructions: 1. The tool will re-sign WeChat automatically 2. Quit WeChat completely (not just minimize) @@ -136,7 +136,7 @@ sudo codesign --force --sign - --entitlements /dev/stdin /Applications/WeChat.ap EOF ``` -> Note: If WeChat auto-updates, you may need to re-sign it again. +> **Heads up:** Re-signing WeChat is safe and will **not** cause account issues or bans. However, it may affect WeChat's auto-update mechanism. If WeChat prompts you to update but fails, simply re-download and install WeChat from the official website, then re-run `sudo wechat-cli init`. ### Step 2 — Use It diff --git a/README_CN.md b/README_CN.md index 9ff04ff..60a31b0 100644 --- a/README_CN.md +++ b/README_CN.md @@ -111,7 +111,7 @@ wechat-cli init 在某些 macOS 系统上,即使使用了 `sudo`,`init` 也可能报 `task_for_pid failed`。这是 macOS 的安全策略限制了进程内存访问。 -**WeChat CLI 会自动尝试修复此问题**——对微信重新签名以获取必要权限。按提示操作即可: +**WeChat CLI 会自动尝试修复此问题**——对微信重新签名以获取必要权限(会保留微信原有权限)。按提示操作即可: 1. 工具会自动对微信重新签名 2. 完全退出微信(不是最小化) @@ -134,7 +134,7 @@ sudo codesign --force --sign - --entitlements /dev/stdin /Applications/WeChat.ap EOF ``` -> 注意:如果微信自动更新了,可能需要重新执行签名。 +> **说明:** 重新签名是安全的,**不会**导致封号或账号异常。但可能影响微信的自动更新功能,如果微信提示更新但失败,从官网重新下载安装即可,然后重新执行 `sudo wechat-cli init`。 ### 第二步 — 开始使用