Update boo

This commit is contained in:
Jack Andersen 2018-01-11 15:31:25 -10:00
parent 70c97c1c2a
commit 8491cdab77
2 changed files with 6 additions and 4 deletions

View File

@ -53,11 +53,13 @@ class ToolPackage final : public ToolBase
CheckFile(childPath);
}
/* Directory with 2 components not "Shared" and no nested !world.blend files == General PAK */
/* Directory with 2 components not "Shared" or macOS app buundle
* and no nested !world.blend files == General PAK */
if (checkGeneral && origSize == m_selectedItems.size())
{
auto pathComps = path.getPathComponents();
if (pathComps.size() == 2 && pathComps[0] != _S("out") && pathComps[1] != _S("Shared"))
if (pathComps.size() == 2 && pathComps[0] != _S("out") &&
pathComps[1] != _S("Shared") && pathComps[0].find(".app") == hecl::SystemString::npos)
AddSelectedItem(path);
}
}
@ -172,7 +174,7 @@ public:
hecl::Printf(_S("ABOUT TO PACKAGE:\n"));
for (auto& item : m_selectedItems)
hecl::Printf(_S("%s\n"), item.getRelativePath().data());
hecl::Printf(_S(" %s\n"), item.getRelativePath().data());
if (continuePrompt())
{

2
hecl/extern/boo vendored

@ -1 +1 @@
Subproject commit 1a48dd9c42cd25030281345831e7cfb2359426bd
Subproject commit cbfd4ddad01181cd128a12fbfca751c3484f4384