diff options
| author | ruki <[email protected]> | 2022-05-28 00:35:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-28 00:35:56 +0800 |
| commit | c791fbcb67385d4880845d5ad928b259e5df2f3b (patch) | |
| tree | 03db6098d679fd99d98477f7882d8c43e231fccb /xmake | |
| parent | 36277c40f97c25f8410aaf66b4f6c90678c7aaff (diff) | |
fix jsdelivr
Diffstat (limited to 'xmake')
| -rw-r--r-- | xmake/actions/update/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua index 077d4a982..bc4310290 100644 --- a/xmake/actions/update/main.lua +++ b/xmake/actions/update/main.lua @@ -414,6 +414,7 @@ function main() local winarch = os.arch() == "x64" and "win64" or "win32" if version:find('.', 1, true) then mainurls = {format("https://github.com/xmake-io/xmake/releases/download/%s/xmake-%s.%s.exe", version, version, winarch), + format("https://fastly.jsdelivr.net/gh/xmake-mirror/xmake-releases@%s/xmake-%s.%s.exe.zip", version, version, winarch), format("https://gitlab.com/xmake-mirror/xmake-releases/raw/%s/xmake-%s.%s.exe.zip", version, version, winarch)} else -- regard as a git branch, fetch from ci @@ -512,4 +513,3 @@ function main() _install(sourcedir) end end - |
