diff options
| author | ruki <[email protected]> | 2019-06-15 00:34:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-06-14 21:24:54 +0800 |
| commit | cd6e27d1392acbc56366561fda2bf939e492f16a (patch) | |
| tree | 37406ffd235fb4a8e124ea50e49fc99df46fc6a5 /xmake/modules/net/http | |
| parent | 7832cdea276c9699d2b708b3e02ff1d5d443f138 (diff) | |
fix installer.nsi comment and improve http
Diffstat (limited to 'xmake/modules/net/http')
| -rw-r--r-- | xmake/modules/net/http/download.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/net/http/download.lua b/xmake/modules/net/http/download.lua index 5a911c24f..90aadcaf5 100644 --- a/xmake/modules/net/http/download.lua +++ b/xmake/modules/net/http/download.lua @@ -97,7 +97,7 @@ end function main(url, outputfile) -- init output file - outputfile = outputfile or path.filename(url) + outputfile = outputfile or path.filename(url):gsub("%?.+$", "") -- attempt to download url using curl first local tool = find_tool("curl", {version = true}) |
