sunnyyoung / WeChatTweak-CLI

A command line utility to work with WeChatTweak-macOS - WeChatTweak 命令行工具
https://cli.tweaks.app
Apache License 2.0
338 stars 61 forks source link

为什么执行 sudo wechattweak-cli --install #12

Closed LAnqxpp closed 2 years ago

LAnqxpp commented 2 years ago

就报错 您没有权限打开应用程序 微信

LAnqxpp commented 2 years ago

wangweichao@wangweihaodeMBP ~ % sudo /Users/wangweichao/Desktop/WeChatTweak-CLI-master --install Password: sudo: /Users/wangweichao/Desktop/WeChatTweak-CLI-master: command not found wangweichao@wangweihaodeMBP ~ % sudo wechattweak-cli --install ------ 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!

mokery commented 2 years ago

今天apple store正式版新版更新了,然后安装完成,打不开,卸载就有可以打开了

muchao commented 2 years ago

看了close的issues 先uninstall 再install 再不行重启 应该就可以了 我的已经正常了

sunnyyoung commented 2 years ago
  1. 卸载再安装
  2. 重启电脑

基本都可以解决了