Add re-signing safety notice: no ban risk, may affect auto-update
This commit is contained in:
parent
7158422618
commit
7b9139bd8f
@ -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.
|
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
|
1. The tool will re-sign WeChat automatically
|
||||||
2. Quit WeChat completely (not just minimize)
|
2. Quit WeChat completely (not just minimize)
|
||||||
@ -136,7 +136,7 @@ sudo codesign --force --sign - --entitlements /dev/stdin /Applications/WeChat.ap
|
|||||||
EOF
|
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
|
### Step 2 — Use It
|
||||||
|
|
||||||
|
|||||||
@ -111,7 +111,7 @@ wechat-cli init
|
|||||||
|
|
||||||
在某些 macOS 系统上,即使使用了 `sudo`,`init` 也可能报 `task_for_pid failed`。这是 macOS 的安全策略限制了进程内存访问。
|
在某些 macOS 系统上,即使使用了 `sudo`,`init` 也可能报 `task_for_pid failed`。这是 macOS 的安全策略限制了进程内存访问。
|
||||||
|
|
||||||
**WeChat CLI 会自动尝试修复此问题**——对微信重新签名以获取必要权限。按提示操作即可:
|
**WeChat CLI 会自动尝试修复此问题**——对微信重新签名以获取必要权限(会保留微信原有权限)。按提示操作即可:
|
||||||
|
|
||||||
1. 工具会自动对微信重新签名
|
1. 工具会自动对微信重新签名
|
||||||
2. 完全退出微信(不是最小化)
|
2. 完全退出微信(不是最小化)
|
||||||
@ -134,7 +134,7 @@ sudo codesign --force --sign - --entitlements /dev/stdin /Applications/WeChat.ap
|
|||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
> 注意:如果微信自动更新了,可能需要重新执行签名。
|
> **说明:** 重新签名是安全的,**不会**导致封号或账号异常。但可能影响微信的自动更新功能,如果微信提示更新但失败,从官网重新下载安装即可,然后重新执行 `sudo wechat-cli init`。
|
||||||
|
|
||||||
### 第二步 — 开始使用
|
### 第二步 — 开始使用
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user