create parent path for unzip

This commit is contained in:
altalk23 2024-01-21 00:52:11 +03:00
parent 8e92bca418
commit bb60da8cb2

View file

@ -306,6 +306,7 @@ public:
mz_zip_entry_close(m_handle);
GEODE_UNWRAP(file::createDirectoryAll((dir / name).parent_path()));
GEODE_UNWRAP(file::writeBinary(dir / name, res).expect("Unable to write to {}: {error}", dir / name));
return Ok();