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

安装失败,求解 #438

Closed lumoshhx closed 2 years ago

lumoshhx commented 2 years ago

WeChatTweak.framework % sudo ./wechattweak-cli --install Error: Internal error. Invalid state while parsing command-line arguments. Usage: wechattweak-cli See 'wechattweak-cli --help' for more information.

sunnyyoung commented 2 years ago

https://github.com/Sunnyyoung/WeChatTweak-macOS#%E4%BD%BF%E7%94%A8

$ sudo wechattweak-cli install   # 安装/更新
$ sudo wechattweak-cli uninstall # 卸载
AmintaCCCP commented 2 years ago

WeChatTweak.framework % sudo ./wechattweak-cli --install Error: Internal error. Invalid state while parsing command-line arguments. Usage: wechattweak-cli See 'wechattweak-cli --help' for more information.

命令敲错了 $ sudo wechattweak-cli --install # 安装/更新 少了两个-

sunnyyoung commented 2 years ago

@AmintaCCCP @lumoshhx 看你们当前安装 wechattweak-cli 的版本,实际命令以 --help 输出为准。

47code commented 2 years ago

您好,遇到无法安装的问题,包括这个issue相同的。 1.执行:brew install sunnyyoung/repo/wechattweak-cli 报错:Error: Failure while executing; git clone https://github.com/sunnyyoung/homebrew-repo /usr/local/Homebrew/Library/Taps/sunnyyoung/homebrew-repo --origin=origin --template= exited with 128.

2.下载后,对wechattweak-cli执行:sudo wechattweak-cli install 报错:sudo: wechattweak-cli: command not found

3.执行:sudo ./wechattweak-cli --install 报错:Error: Internal error. Invalid state while parsing command-line arguments.

辛苦看看什么原因,谢谢

sunnyyoung commented 2 years ago

@47code 执行 sudo ./wechattweak-cli install

另外错误信息提示很清楚的了。