mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-03 23:19:22 +02:00
Added modification time to zip.
* it is required to consider archive valid (by some tools)
This commit is contained in:
@@ -68,6 +68,8 @@ BOOST_AUTO_TEST_CASE(CMapFormatVCMI_Simple)
|
||||
boost::filesystem::remove(path);
|
||||
boost::filesystem::ofstream tmp(path);
|
||||
tmp.write((const char *)serializeBuffer.getBuffer().data(),serializeBuffer.getSize());
|
||||
tmp.flush();
|
||||
tmp.close();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user