1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Fix Windows paths.

This commit is contained in:
Cedric Beust 2016-02-18 20:51:46 -08:00
parent 801672a872
commit 162b0b4111

View file

@ -78,7 +78,7 @@ public class JarUtils {
entry = stream.nextEntry
}
} else {
val entryFileName = file.to(foundFile.path).path
val entryFileName = file.to(foundFile.path).path.replace("\\", "/")
val entry = JarEntry(entryFileName)
entry.time = foundFile.lastModified()
addEntry(FileInputStream(localFile), entry, outputStream, onError)