We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e9127b commit c53ae22Copy full SHA for c53ae22
compile/compile.md
@@ -93,11 +93,12 @@ xrepo remove "opencv 4.8.0"
93
xmake g --pkg_searchdirs="/download/packages"
94
95
# 设置代理
96
-xmake g-proxy pac=E:/demo/xmake/pac.lua
+xmake g --proxy_pac=E:/demo/xmake/pac.lua
97
#pac.lua文件
98
``` lua
99
function mirror(url)
100
- return string.format("https://github.moeyy.xyz/%s", url)
+ --return string.format("https://github.moeyy.xyz/%s", url)
101
+ return url:gsub("https://github.com", "https://github.moeyy.xyz/https://github.com")
102
end
103
```
104
0 commit comments