mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Fix Windows paths.
This commit is contained in:
parent
801672a872
commit
162b0b4111
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public class JarUtils {
|
||||||
entry = stream.nextEntry
|
entry = stream.nextEntry
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
val entryFileName = file.to(foundFile.path).path
|
val entryFileName = file.to(foundFile.path).path.replace("\\", "/")
|
||||||
val entry = JarEntry(entryFileName)
|
val entry = JarEntry(entryFileName)
|
||||||
entry.time = foundFile.lastModified()
|
entry.time = foundFile.lastModified()
|
||||||
addEntry(FileInputStream(localFile), entry, outputStream, onError)
|
addEntry(FileInputStream(localFile), entry, outputStream, onError)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue