diff --git a/loader/src/utils/file.cpp b/loader/src/utils/file.cpp index c0d76d1f..1b5764ed 100644 --- a/loader/src/utils/file.cpp +++ b/loader/src/utils/file.cpp @@ -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();