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

我安装几次命令都不行 #355

Closed mashubin closed 2 years ago

mashubin commented 2 years ago

Install failed: Download failed with error: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x7fe6f8c07a80 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <7574D4DD-A876-4B9F-AEA0-60F60EE48C8F>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDownloadTask <7574D4DD-A876-4B9F-AEA0-60F60EE48C8F>.<1>" ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://github.com/Sunnyyoung/WeChatTweak-macOS/releases/latest/download/WeChatTweak.framework.zip, NSErrorFailingURLKey=https://github.com/Sunnyyoung/WeChatTweak-macOS/releases/latest/download/WeChatTweak.framework.zip, _kCFStreamErrorDomainKey=4} 大佬,这个得怎么解决

sunnyyoung commented 2 years ago

网络问题

mashubin commented 2 years ago

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! liwanji@yyyy WeChatTweak-macOS % open -n /Applications/WeChat.app
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/WeChat.app.

这个接下去,我退出了微信,打不开微信了。大佬,这得怎么解决

sunnyyoung commented 2 years ago

重装下插件,不行的话重启下电脑刷新下权限