diff --git a/Capy64/Assets/Lua/bin/wget.lua b/Capy64/Assets/Lua/bin/wget.lua index 594a8d3..eb3d7d5 100644 --- a/Capy64/Assets/Lua/bin/wget.lua +++ b/Capy64/Assets/Lua/bin/wget.lua @@ -26,7 +26,7 @@ if not response then error(err, 0) end -local file = fs.open(outputPath, "w") +local file = fs.open(outputPath, "wb") file:write(response:readAll()) file:close() response:close()