Skip to content

Commit eee9ed2

Browse files
committed
Update install.lua
1 parent 15b47f6 commit eee9ed2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ function main()
5252
local name = "leetcode-treenode-cpp"
5353
local version = "1.1.9"
5454
local folder = name .. "-" .. version
55-
local archivefile = path.join(downloadpath, folder .. '.tar.gz')
55+
local archivefile = path.join(downloadpath, folder .. '.zip')
5656
local listfile = path.join(downloadpath, folder .. '.list')
5757
if checkfilesexists(listfile) then return end
5858
if not os.exists(archivefile) then
5959
local url = 'https://ghproxy.com/https://github.com/masx200/' .. name ..
60-
'/archive/' .. version .. '.tar.gz'
60+
'/archive/' .. version .. '.zip'
6161
print('download url:' .. url .. " to file:" .. archivefile)
6262
download(url, archivefile)
6363
end

0 commit comments

Comments
 (0)