Use metadata directory instead of re-extracting every launch - #9
Conversation
|
I think because both FG and FDP use this, and having to update both is a pain. But, I think the better way to address the TODO would just to skip extracting entirely. Instead just reading the file from the zip to memory using
|
|
Answered in the FG PR, reiterating here for clarity if someone refers back to this: worst case it extracts twice on Gradle side on setup but then no longer has to re-extract on SlimeLauncher side every run after that, best case it doesn't have to extract at all because it's cached on Gradle side and SlimeLauncher's directly fed the extracted directory. I've restored support for the metadata.zip path now |
This addresses the todo comment inside SlimeLauncher's main class. Needs the complimenting FG7 PR to work: MinecraftForge/ForgeGradle#1084