diff --git a/skins_updater.lua b/skins_updater.lua index e349e99..22f3486 100644 --- a/skins_updater.lua +++ b/skins_updater.lua @@ -75,7 +75,7 @@ end -- Insecure workaround since meta/ and textures/ cannot be written to local function unsafe_file_write(path, contents) - local f = ie.io.open(path, "w") + local f = ie.io.open(path, "wb") f:write(contents) f:close() end