GitHub - sunnyyoung/微信Tweak-macOS:微信macOS的动态库调整 - 首款微信 macOS 客户端撤回拦截与多开 🔨
https://github.com/sunnyyoung/WeChatTweak-macOS

查看wechattweak-cli使用方法

wechattweak-cli -h

MacBook-Pro:~ chenxiaolong$ wechattweak-cli -h
OVERVIEW: A command line utility to work with WeChatTweak-macOS.

USAGE: wechattweak-cli <subcommand>

OPTIONS:
  -h, --help              Show help information.

SUBCOMMANDS:
  install                 Install or upgrade tweak.
  uninstall               Uninstall tweak.
  resign                  Force resign WeChat.app
  version                 Get current version of WeChatTweak.

  See 'wechattweak-cli help <subcommand>' for detailed help.

安装wechattweak-cli

sudo wechattweak-cli install

MacBook-Pro:~ chenxiaolong$ sudo wechattweak-cli install
Password:
------ Download ------
------ Unzip ------
Execute command: rm -rf /Applications/WeChat.app/Contents/MacOS/WeChatTweak.framework; unzip /tmp/WeChatTweak.zip -d /Applications/WeChat.app/Contents/MacOS
------ Backup ------
Created WeChat.bak...
------ Remove Codesign ------
Execute command: codesign --remove-sign /Applications/WeChat.app/Contents/MacOS/WeChat
------ Insert Dylib ------
Binary is a fat binary with 2 archs.
Added LC_LOAD_DYLIB to all archs in /Applications/WeChat.app/Contents/MacOS/WeChat
------ Add Codesign ------
Execute command: codesign --force --deep --sign - /Applications/WeChat.app/Contents/MacOS/WeChat
Install success!

2023-04-01

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.

Mac-mini:~ chenxiaolong$ sudo wechattweak-cli --install  // 安装命令

Password:
------ Backup ------
WeChat.bak exists, skip it...
------ Download ------
------ Unzip ------
Execute command: rm -rf /Applications/WeChat.app/Contents/MacOS/WeChatTweak.framework; unzip /tmp/WeChatTweak.zip -d /Applications/WeChat.app/Contents/MacOS
------ Insert Dylib ------
Binary is a fat binary with 2 archs.
Binary already contains a load command for that dylib. Skip it.
Binary already contains a load command for that dylib. Skip it.
Added LC_LOAD_DYLIB to all archs in /Applications/WeChat.app/Contents/MacOS/WeChat
------ Codesign ------
Execute command: cp /Applications/WeChat.app/Contents/MacOS/WeChat /tmp/WeChat
Execute command: codesign --force --deep --sign - /tmp/WeChat
Execute command: cp /tmp/WeChat /Applications/WeChat.app/Contents/MacOS/WeChat
Install success!


Mac-mini:~ chenxiaolong$ wechattweak-cli -h  //查看帮助信息
USAGE: tweak --install --uninstall

OPTIONS:
  --install/--uninstall   Install or Uninstall tweak
  -h, --help              Show help information.
posted on 2023-01-14 22:39  cxloge  阅读(489)  评论(0编辑  收藏  举报