Open qyzhg opened 9 months ago
❯ sudo wechattweak-cli install ------ 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: cannot create extraction directory: No such file or directory";OS NSAppleScriptErrorMessage = "checkdir: cannot create extraction directory: /App No such file or directory"; NSAppleScriptErrorNumber = 2; NSAppleScriptErrorRange = "NSRange: {0, 157}"; } ❯ wechattweak-cli resign ------ Remove Codesign ------ Execute command: codesign --remove-sign /Applications/WeChat.app/Contents/MacOS/WeChat Resign failed: Execute command: codesign --remove-sign /Applications/WeChat.app/Contents/MacOS/WeChat failed: { NSAppleScriptErrorAppName = "wechattweak-cli"; NSAppleScriptErrorBriefMessage = "/Applications/WeChat.app/Contents/MacOS/WeChat: No such file or directory"; NSAppleScriptErrorMessage = "/Applications/WeChat.app/Contents/MacOS/WeChat: No such file or directory"; NSAppleScriptErrorNumber = 1; NSAppleScriptErrorRange = "NSRange: {0, 87}"; }
使用以下指令安装 brew install sunnyyoung/repo/wechattweak-cli
brew install sunnyyoung/repo/wechattweak-cli
已解决✔️|系统设置-隐私与安全-App管理-iTerm(终端)
❯ sudo wechattweak-cli install ------ 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: cannot create extraction directory: No such file or directory";OS NSAppleScriptErrorMessage = "checkdir: cannot create extraction directory: /App No such file or directory"; NSAppleScriptErrorNumber = 2; NSAppleScriptErrorRange = "NSRange: {0, 157}"; } ❯ wechattweak-cli resign ------ Remove Codesign ------ Execute command: codesign --remove-sign /Applications/WeChat.app/Contents/MacOS/WeChat Resign failed: Execute command: codesign --remove-sign /Applications/WeChat.app/Contents/MacOS/WeChat failed: { NSAppleScriptErrorAppName = "wechattweak-cli"; NSAppleScriptErrorBriefMessage = "/Applications/WeChat.app/Contents/MacOS/WeChat: No such file or directory"; NSAppleScriptErrorMessage = "/Applications/WeChat.app/Contents/MacOS/WeChat: No such file or directory"; NSAppleScriptErrorNumber = 1; NSAppleScriptErrorRange = "NSRange: {0, 87}"; }