Skip to content

Commit

Permalink
should fix issues on update
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkyAI committed Mar 15, 2021
1 parent 5899ae0 commit 3c86542
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ object Installer : KLogging() {
} else {
postFile.download(installerUrl, cacheHome)
}
return postFile
val newFile = cacheHome.resolve("tmp.jar")
postFile.copyTo(newFile, overwrite = true)
return newFile
}
else -> {
return null
Expand Down

0 comments on commit 3c86542

Please sign in to comment.