Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加帮助信息; 在安装小助手后主动询问是否开启开机自动安装小助手 #66

Merged
merged 3 commits into from
Oct 24, 2020

Conversation

hyliang96
Copy link
Contributor

@hyliang96 hyliang96 commented Oct 10, 2020

增加帮助信息 (55a6767)

增加帮助信息, 当参数非法时显示帮助. 例如运行omw opne, 则输出如下帮助:

[01:56:51] 当前 Oh My WeChat 版本为 v2.0.0
[01:56:51] 当前微信小助手版本为 v2.6.8

omw (Oh My WeChat) 是微信小助手(MustangYM/WeChatExtension-ForMac)的安装/更新工具

用法:
  omw                 自动下载/检查更新最新版小助手, 若有本地安装包且是最新版才用它安装小助手
  omw -n              若有本地安装包则用它安装小助手, 否则自动下载最新版小助手
  omw load <version>  将自行下载的某版本的小助手的安装包导入到 Oh My WeChat 里
  omw close           关闭微信小助手开机自动安装
  omw open            开启微信小助手开机自动安装
  omw un              卸载 Oh My WeChat 或小助手. 你可以选择其中一个卸载,或者两个都卸载
  omw update          更新 Oh My WeChat 自身

说明:
  * 微信自动更新后会删除小助手, 为避免此, 执行 `omw open` 以开启开机自动安装小助手功能
  * 刚开机或无网络, 且下载小助手或很费时, 故建议初次安装时运行 `omw` 或 `omw load <cersion>`,
    会将安装包存到本地 `~/.oh_my_wechat/WeChatExtension-ForMac-x.x.x`, 故开机后会直接用本地
    安装包安装小助手, 无需再次下载.
  * `omw load <version>` 用例:
    浏览器开[小助手最新版本发布页]
        (https://github.com/MustangYM/WeChatExtension-ForMac/releases/latest)
    点击 Source code (zip) 将安装包下载下来
    若下载版本是 v1.8.7,则下载文件夹内会有一个 WeChatExtension-ForMac-1.8.7.zip 安装包
    在终端运行如此命令导入安装包 `cd ~/Downloads && omw load 1.8.7`

请测试并merge

主动询问是否开启 微信小助手的开机自动安装 (500aed7)

运行 omwomw -n 时, 检查若未开启 微信小助手的开机自动安装, 则主动询问是否开启之.

@vercel
Copy link

vercel bot commented Oct 10, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/lmk123/oh-my-wechat/221lnzv05
✅ Preview: https://oh-my-wechat-git-master.lmk123.vercel.app

@hyliang96 hyliang96 changed the title add help for omw 增加帮助信息; 在安装小助手后主动询问是否开启开机自动安装小助手 Oct 10, 2020
@lmk123 lmk123 self-requested a review October 11, 2020 03:00
@hyliang96
Copy link
Contributor Author

Hi @lmk123 , is there any problem in reviewing the pull request and what can i help with?

@lmk123
Copy link
Owner

lmk123 commented Oct 24, 2020

Hi @lmk123 , is there any problem in reviewing the pull request and what can i help with?

抱歉,前段时间在忙别的项目,忘了你的 PR

我刚才已经看过了,测了下应该没有问题,不过我改了一些文案,可能会让用户更容易理解一些

@lmk123 lmk123 merged commit 25c74d4 into lmk123:master Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants