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:
parent
801672a872
commit
162b0b4111
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue