mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
cleanup
Some checks are pending
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Waiting to run
Build / Build (push) Waiting to run
Macos Build / build-dmg (push) Waiting to run
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Waiting to run
MSVC Build / build-windows (windows-2022) (push) Waiting to run
Some checks are pending
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Waiting to run
Build / Build (push) Waiting to run
Macos Build / build-dmg (push) Waiting to run
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Waiting to run
MSVC Build / build-windows (windows-2022) (push) Waiting to run
This commit is contained in:
parent
8868281b00
commit
eb2afe822d
2 changed files with 1 additions and 1 deletions
|
|
@ -86,6 +86,7 @@ local function check_zip(src, zipfile)
|
||||||
|
|
||||||
debug.log("unmount "..m)
|
debug.log("unmount "..m)
|
||||||
file.unmount(m)
|
file.unmount(m)
|
||||||
|
assert(not file.exists(m..":"))
|
||||||
assert(not pcall(file.read, m..":root.txt"))
|
assert(not pcall(file.read, m..":root.txt"))
|
||||||
assert(not pcall(file.unmount, m))
|
assert(not pcall(file.unmount, m))
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -182,7 +182,6 @@ ZipFileDevice::ZipFileDevice(
|
||||||
entries[entry.fileName] = std::move(entry);
|
entries[entry.fileName] = std::move(entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add missing parent directories entries
|
|
||||||
std::vector<std::string> names;
|
std::vector<std::string> names;
|
||||||
names.reserve(entries.size());
|
names.reserve(entries.size());
|
||||||
for (const auto& [name, _] : entries) {
|
for (const auto& [name, _] : entries) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue