mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 10:36:44 +00:00
Update wget.lua to download in binary mode
This commit is contained in:
parent
41216610d4
commit
162ebc3dc2
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ if not response then
|
|||
error(err, 0)
|
||||
end
|
||||
|
||||
local file <close> = fs.open(outputPath, "w")
|
||||
local file <close> = fs.open(outputPath, "wb")
|
||||
file:write(response:readAll())
|
||||
file:close()
|
||||
response:close()
|
||||
|
|
Loading…
Reference in a new issue