Delete output jar before running tiny-remapper
This commit is contained in:
parent
c1bd340a72
commit
091a3a2a76
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,7 @@ object TinyRemapper {
|
|||
jvmArgs: List<String> = listOf("-Xmx1G"),
|
||||
) {
|
||||
ensureDeleted(logFile)
|
||||
ensureDeleted(outputJar)
|
||||
|
||||
val args = argsList.expandArgs(
|
||||
input = inputJar.absolutePathString(),
|
||||
|
@ -203,6 +204,7 @@ object TinyRemapper {
|
|||
)
|
||||
|
||||
ensureParentExists(logFile)
|
||||
ensureParentExists(outputJar)
|
||||
launcher.runJar(remapper, workingDir, logFile, jvmArgs = jvmArgs, args = args.toTypedArray())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue