Merge branch 'bsatool' into 'master'

Fix creating archives in bsatool

See merge request OpenMW/openmw!3484
macos_ci_fix
psi29a 1 year ago
commit fe5dbb7a25

@ -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<Bsa::BSAFile>(info);
Bsa::BsaVersion bsaVersion = Bsa::BSAFile::detectVersion(info.filename);
switch (bsaVersion)

Loading…
Cancel
Save