sunnyyoung / WeChatTweak-macOS

A dynamic library tweak for WeChat macOS - 首款微信 macOS 客户端撤回拦截与多开 🔨
https://tweaks.app
Apache License 2.0
11.21k stars 1.38k forks source link

微信 Version. 3.2.0 (19439) 安装成功后,偏好设置无菜单项 #347

Closed qiaohewei closed 3 years ago

qiaohewei commented 3 years ago

微信 Version. 3.2.0 (19439) 安装成功后,偏好设置无菜单项 image

MacBook-Pro Downloads % brew install sunnyyoung/repo/wechattweak-cli Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 1 formula.

Warning: Cask 'wechattweak-cli' is already installed.

To re-install wechattweak-cli, run: brew reinstall wechattweak-cli MacBook-Pro Downloads % brew uninstall sunnyyoung/repo/wechattweak-cli ==> Uninstalling Cask wechattweak-cli ==> Unlinking Binary '/usr/local/bin/wechattweak-cli' ==> Purging files for version 1.2 of Cask wechattweak-cli MacBook-Pro Downloads % brew install sunnyyoung/repo/wechattweak-cli ==> Downloading https://github.com/Sunnyyoung/WeChatTweak-CLI/releases/download/ Already downloaded: /Users/hewitt/Library/Caches/Homebrew/downloads/f9a25cad1abc6ec535a537b726546b038ccaae209f36a2d74e188049370baf4e--wechattweak-cli ==> Installing Cask wechattweak-cli ==> Linking Binary 'wechattweak-cli' to '/usr/local/bin/wechattweak-cli' 🍺 wechattweak-cli was successfully installed!

qiaohewei commented 3 years ago

多次重复安装,也无法正常显示菜单

sunnyyoung commented 3 years ago

你执行了 sudo wechattweak-cli --install 了吗??

qiaohewei commented 3 years ago

你执行了sudo wechattweak-cli --install

执行后无法打开 【应用程序“微信.app”无法打开。】 卸载后可以正常打开

hewitt@HewittdeMacBook-Pro ~ % sudo wechattweak-cli --install Password: ------ Backup ------ Created WeChat.bak... ------ 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. LC_CODE_SIGNATURE load command found. Remove it. LC_CODE_SIGNATURE load command found. Remove 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!

qiaohewei commented 3 years ago

系统软件概览: 系统版本: macOS 12.0 (21A5534d) 内核版本: Darwin 21.1.0

qiaohewei commented 3 years ago

hewitt@HewittdeMacBook-Pro ~ % codesign -dvvv /Applications/WeChat.app Executable=/Applications/WeChat.app/Contents/MacOS/WeChat Identifier=WeChat-55554944eddb2cce8ef133019909b06980a7c157 Format=app bundle with Mach-O universal (x86_64 arm64) CodeDirectory v=20400 size=739144 flags=0x2(adhoc) hashes=23092+2 location=embedded Hash type=sha256 size=32 CandidateCDHash sha1=84d02e3419efce7bcf7618b1bda72367b9d99686 CandidateCDHashFull sha1=84d02e3419efce7bcf7618b1bda72367b9d99686 CandidateCDHash sha256=cbeda2c951a9e6e590f6de2c2129ec0170e23f27 CandidateCDHashFull sha256=cbeda2c951a9e6e590f6de2c2129ec0170e23f274e8b5e6c4a37b276db8df817 Hash choices=sha1,sha256 CMSDigest=0cc0ae23fecf88cd97a179de5ed6e9c8eb794a220c8794496404e334d70d9a3d CMSDigestType=2 CDHash=cbeda2c951a9e6e590f6de2c2129ec0170e23f27 Signature=adhoc Info.plist=not bound TeamIdentifier=not set Sealed Resources=none Internal requirements count=0 size=12 hewitt@HewittdeMacBook-Pro ~ %

qiaohewei commented 3 years ago

hewitt@HewittdeMacBook-Pro ~ % brew upgrade wechattweak-cli --cask Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 2 formulae.

qiaohewei commented 3 years ago

【应用程序“微信.app”无法打开。】 问题修复方式: 1、卸载 2、执行升级 brew upgrade wechattweak-cli --cask 3、重新安装 4、重启电脑 5、打开微信