Skip to content

Commit c53ae22

Browse files
committed
fix xmake
1 parent 9e9127b commit c53ae22

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compile/compile.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,12 @@ xrepo remove "opencv 4.8.0"
9393
xmake g --pkg_searchdirs="/download/packages"
9494

9595
# 设置代理
96-
xmake g-proxy pac=E:/demo/xmake/pac.lua
96+
xmake g --proxy_pac=E:/demo/xmake/pac.lua
9797
#pac.lua文件
9898
``` lua
9999
function mirror(url)
100-
return string.format("https://github.moeyy.xyz/%s", url)
100+
--return string.format("https://github.moeyy.xyz/%s", url)
101+
return url:gsub("https://github.com", "https://github.moeyy.xyz/https://github.com")
101102
end
102103
```
103104

0 commit comments

Comments
 (0)