mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
create parent path for unzip
This commit is contained in:
parent
8e92bca418
commit
bb60da8cb2
1 changed files with 1 additions and 0 deletions
|
@ -306,6 +306,7 @@ public:
|
||||||
|
|
||||||
mz_zip_entry_close(m_handle);
|
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));
|
GEODE_UNWRAP(file::writeBinary(dir / name, res).expect("Unable to write to {}: {error}", dir / name));
|
||||||
|
|
||||||
return Ok();
|
return Ok();
|
||||||
|
|
Loading…
Reference in a new issue