From 1bd388faf3594b19a7888084c8dbacb6ff2718c8 Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Mon, 9 Oct 2023 06:59:28 +0300 Subject: [PATCH] Fix creating archives in bsatool --- apps/bsatool/bsatool.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/bsatool/bsatool.cpp b/apps/bsatool/bsatool.cpp index e2029f3245..de755e7d1d 100644 --- a/apps/bsatool/bsatool.cpp +++ b/apps/bsatool/bsatool.cpp @@ -320,6 +320,10 @@ int main(int argc, char** argv) // Open file + // TODO: add a version argument for this mode after compressed BSA writing is a thing + if (info.mode == "create") + return call(info); + Bsa::BsaVersion bsaVersion = Bsa::BSAFile::detectVersion(info.filename); switch (bsaVersion)