mirror of https://github.com/AxioDL/metaforce.git
Windows compile fix
This commit is contained in:
parent
f92caf3810
commit
6e3dd7cabc
|
@ -53,13 +53,13 @@ class ToolPackage final : public ToolBase
|
||||||
CheckFile(childPath);
|
CheckFile(childPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Directory with 2 components not "Shared" or macOS app buundle
|
/* Directory with 2 components not "Shared" or macOS app bundle
|
||||||
* and no nested !world.blend files == General PAK */
|
* and no nested !world.blend files == General PAK */
|
||||||
if (checkGeneral && origSize == m_selectedItems.size())
|
if (checkGeneral && origSize == m_selectedItems.size())
|
||||||
{
|
{
|
||||||
auto pathComps = path.getPathComponents();
|
auto pathComps = path.getPathComponents();
|
||||||
if (pathComps.size() == 2 && pathComps[0] != _S("out") &&
|
if (pathComps.size() == 2 && pathComps[0] != _S("out") &&
|
||||||
pathComps[1] != _S("Shared") && pathComps[0].find(".app") == hecl::SystemString::npos)
|
pathComps[1] != _S("Shared") && pathComps[0].find(_S(".app")) == hecl::SystemString::npos)
|
||||||
AddSelectedItem(path);
|
AddSelectedItem(path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit cbfd4ddad01181cd128a12fbfca751c3484f4384
|
Subproject commit 68de1b5041fd8ab4fca21651f78b81e4b060c787
|
Loading…
Reference in New Issue