The RP installer downloads a fresh copy of the base zip into its temp dir and composes the final pack on top of it. The base zip the main installer placed in .mc_custom/resourcepacks/ has nothing to do after that — but it stays in the Minecraft resource-pack list as a second entry. Delete it after the final zip is written. Guard against the case where the user set outputPackName equal to the base filename, which would make base path == final path; in that case we leave it alone so we don't wipe the file we just wrote. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1.5 KiB
1.5 KiB