yichen-mac-wechat-dual-open

Create and maintain a second WeChat app instance on macOS with a distinct blue icon.

2.0k|274|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-mac-wechat-dual-open
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yichen-mac-wechat-dual-open
Source: https://github.com/mcncarl/yichen-skills/tree/main/yichen-mac-wechat-dual-open
Command: npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-mac-wechat-dual-open

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Running two WeChat accounts on one Mac is blocked because WeChat prevents normal multi-instance launching. This Skill copies WeChat, changes the copy's bundle identifier, ad-hoc re-signs it, and recolors its icon from green to blue so two accounts can run side by side without third-party injection tools.

Core Features & Use Cases

  • Second Instance Creation: Copies /Applications/WeChat.app to ~/Applications/WeChat-2.app, sets a new CFBundleIdentifier, re-signs with codesign, and registers with Launch Services.
  • Repair & Maintenance: Fixes bundle ID, signing, language preferences, and icon caches after WeChat updates break the copy.
  • Icon Recoloring: Uses Pillow-based HSV hue rotation to turn the WeChat green icon blue across the outer AppIcon.icns and the embedded WeChatAppEx app icon.
  • Use Case: A user who manages a personal and a work WeChat account on one MacBook can run both simultaneously, with the second instance visually distinct in the Dock and Finder.

Quick Start

Ask the assistant to check the current dual-open status and create a second WeChat app with a blue icon on this Mac.

Frequently Asked Questions about yichen-mac-wechat-dual-open

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run two WeChat accounts on one Mac?

Copy /Applications/WeChat.app to ~/Applications/WeChat-2.app, change the copy's CFBundleIdentifier to a new value like com.tencent.xin2, re-sign it with codesign --force --deep --sign -, then launch the copy's executable directly. macOS treats the new bundle ID as a separate app.

Is the Mac WeChat dual-open method reliable?

The copy-and-resign method rates roughly 6.5 to 7 out of 10. It works on many macOS and WeChat versions without code injection, but it is unofficial, breaks after WeChat updates, and push notifications may be unreliable since APNs is tied to the original app identity.

Why does the second WeChat open in English instead of Chinese?

The new bundle identifier has no stored language preference, so it defaults to English. Run defaults write com.tencent.xin2 AppleLanguages -array zh-Hans en, then restart the second instance to apply Chinese.

Why is the second WeChat icon still green after recoloring?

You may be viewing the original /Applications/WeChat.app instead of ~/Applications/WeChat-2.app, or the Dock cached the old icon. Verify the path with open -R, then quit and relaunch WeChat-2 so the Dock picks up the new icns.

What happens to the second WeChat after a WeChat update?

Updating the original WeChat makes the copy stale and it may stop working. Re-run the create or repair command to recopy the app, reapply the bundle ID, re-sign, and relaunch.

Does this method modify the original WeChat app?

No. All changes are scoped to the copied app in ~/Applications. The original /Applications/WeChat.app is never modified, and the ad-hoc signature replaces the vendor signature only on the copy.