sunnyyoung / WeChatTweak-macOS

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

这个安装报错,看不懂 #771

Open olafchou opened 6 months ago

olafchou commented 6 months ago

xuebao@xuebaodeMBP ~ % 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 Install failed: Execute command: rm -rf /Applications/WeChat.app/Contents/MacOS/WeChatTweak.framework; unzip /tmp/WeChatTweak.zip -d /Applications/WeChat.app/Contents/MacOS failed: { NSAppleScriptErrorAppName = "wechattweak-cli"; NSAppleScriptErrorBriefMessage = "checkdir error: cannot create /Applicatiocheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Headers/WeChcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Modules/moducheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Bacheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Bacheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Bacheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Bacheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/encheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/encheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/encheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Incheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Prcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/WeChatTweak."; NSAppleScriptErrorMessage = "checkdir error: cannot create /Applications/Wecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Headers/WeChcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Modules/moducheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Bacheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Bacheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Bacheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Bacheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/encheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/encheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/encheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Incheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/Prcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/Versions/A/Resources/zhcheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwecheckdir error: cannot create /Applications/WeChat.app/Contents/MacOS/WeChatTwe unable to process WeChatTweak.framework/WeChatTweak."; NSAppleScriptErrorNumber = 2; NSAppleScriptErrorRange = "NSRange: {0, 157}"; }

zhangfurun commented 6 months ago

同样出错

pshalos commented 6 months ago

如果你用的终端是iterm2,可以如此尝试: 打开 设置-隐私与安全性-app管理 允许就行

image

然后再重新打开终端尝试一下