浏览代码

update README

DevYK 3 年之前
父节点
当前提交
12a06474aa
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      README.md

+ 9 - 0
README.md

@@ -69,6 +69,15 @@ make -j8 && make install
 ```shell
 brew install opencv
 ```
+如果安装慢可以换一个源:
+```shell
+cd "$(brew --repo)"  
+git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git
+cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
+git remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git
+echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles' >> ~/.bash_profile
+source ~/.bash_profile
+```
 
 ### 如何使用?
 #### java