From 162ebc3dc29c51202721a29a225fe24b0705ff88 Mon Sep 17 00:00:00 2001 From: Alessandro Proto Date: Fri, 27 Jan 2023 23:07:48 +0100 Subject: [PATCH] Update wget.lua to download in binary mode --- Capy64/Assets/Lua/bin/wget.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()