Moved the creation of natives folder in ExtractNatives task
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
450b73328e
commit
8ecab305ac
3 changed files with 12 additions and 27 deletions
|
@ -79,6 +79,7 @@ void ExtractNatives::executeTask()
|
|||
auto settings = minecraftInstance->settings();
|
||||
|
||||
auto outputPath = minecraftInstance->getNativePath();
|
||||
FS::ensureFolderPathExists(outputPath);
|
||||
auto javaVersion = minecraftInstance->getJavaVersion();
|
||||
bool jniHackEnabled = javaVersion.major() >= 8;
|
||||
for (const auto& source : toExtract) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue