Skip to content

Commit

Permalink
Maybe fix tmp file deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Syer10 committed Aug 15, 2021
1 parent 8c19fd0 commit 594460c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/TachideskTasks.kt
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ fun TaskContainerScope.registerTachideskTasks(project: Project) {
register<Delete>(deleteTmpFolderTask) {
mustRunAfter(modifyTachideskJarManifest)
delete(tmpPath)
onlyIf { file(tmpPath).let { it.exists() && it.canWrite() } }

doFirst {
require(file(finalJar).exists()) { "Tachidesk.jar does not exist" }
Expand Down

0 comments on commit 594460c

Please sign in to comment.