yichen-mac-wechat-dual-open
Installation
SKILL.md
Mac WeChat Dual Open
Core Judgment
Prefer the copy + bundle id + ad-hoc signing method over injection/tweak tools when the user wants a cleaner second WeChat:
- Copy
/Applications/WeChat.appto a user-owned app such as~/Applications/WeChat-2.app. - Change only the copy's
CFBundleIdentifier, usually tocom.tencent.xin2. - Re-sign the copy with
codesign --force --deep --sign -. - Stop and have the user open the prepared copy manually. The agent never launches WeChat.
This is generally workable, but not permanent. Updates, push notifications, keychain isolation, Gatekeeper/signing policy, and Tencent-side app checks can break or degrade it. Read references/reliability-and-risks.md when evaluating a public tutorial or explaining tradeoffs.
Prerequisites
- macOS 12+ with WeChat installed at
/Applications/WeChat.app - Python 3.10+ (system python works)
- Pillow: required for
recolor-icon. Install withpip3 install Pillowif missing. - Xcode Command Line Tools:
xcode-select --installprovidescodesign,iconutil,sips.