lmk123 / oh-my-wechat

微信小助手的安装 / 更新工具。
2.8k stars 385 forks source link

修复mac下 "/i" 引起的sed command报错问题 #100

Closed JesseWeb closed 3 years ago

JesseWeb commented 3 years ago

MacOS 10.15.7之后运行update等命令后会出现sed命令错误如下: sed: 1: "s/.*\/v\(.*\)/\1/ip": bad flag in substitute command: 'i'

修复后可以成功安装 MacOS 10.15.7下测试通过

image

其他低版本等待测试反馈

vercel[bot] commented 3 years ago

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/GKKgNMX87UBV6ztB31aPREhmGKDW
✅ Preview: https://oh-my-wechat-git-fork-jesseweb-master-lmk123.vercel.app

lmk123 commented 3 years ago

我在 #102 中回退了 #91 解决了这个问题,不过还是感谢提交 PR。