We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b47f6 commit eee9ed2Copy full SHA for eee9ed2
install.lua
@@ -52,12 +52,12 @@ function main()
52
local name = "leetcode-treenode-cpp"
53
local version = "1.1.9"
54
local folder = name .. "-" .. version
55
- local archivefile = path.join(downloadpath, folder .. '.tar.gz')
+ local archivefile = path.join(downloadpath, folder .. '.zip')
56
local listfile = path.join(downloadpath, folder .. '.list')
57
if checkfilesexists(listfile) then return end
58
if not os.exists(archivefile) then
59
local url = 'https://ghproxy.com/https://github.com/masx200/' .. name ..
60
- '/archive/' .. version .. '.tar.gz'
+ '/archive/' .. version .. '.zip'
61
print('download url:' .. url .. " to file:" .. archivefile)
62
download(url, archivefile)
63
end
0 commit comments