Skip to content

Commit

Permalink
微修正
Browse files Browse the repository at this point in the history
  • Loading branch information
MORIMORI0317 committed Feb 18, 2024
1 parent 3e99fed commit 23189c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate/scripts/generator.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ runBlocking {
// Minecraftのクライアントjarを解凍
val mcJarIn = BufferedInputStream(FileInputStream(mcJarFile))
val zipIn = ZipInputStream(mcJarIn)
println("ダウンロード完了")

withContext(Dispatchers.Default) {
zipIn.use {
Expand All @@ -211,11 +212,11 @@ runBlocking {
val path = Paths.get(mcResFolder.path, entry.name)
syncMkdir(path.parent.toFile())
Files.write(path, it.readAllBytes())
println(entry.name)
}

entry = it.nextEntry
}
println("展開完了")
}
}
}
Expand Down

0 comments on commit 23189c0

Please sign in to comment.