Skip to content

Commit

Permalink
Fix unpacking skiko on Linux and Windows (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyTsvetkov authored Apr 13, 2021
1 parent 62d58b4 commit e7e5b79
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ private fun isSkikoForCurrentOS(lib: File): Boolean =
private fun unpackSkikoForCurrentOS(sourceJar: File, skikoDir: File, fileOperations: FileOperations): List<File> {
val entriesToUnpack = when (currentOS) {
OS.MacOS -> setOf("libskiko-macos-${currentArch.id}.dylib")
OS.Linux -> setOf("skiko-windows-${currentArch.id}.dll", "icudtl.dat")
OS.Windows -> setOf("libskiko-linux-${currentArch.id}.so")
OS.Windows -> setOf("skiko-windows-${currentArch.id}.dll", "icudtl.dat")
OS.Linux -> setOf("libskiko-linux-${currentArch.id}.so")
}

// output files: unpacked libs, corresponding .sha256 files, and target jar
Expand Down

0 comments on commit e7e5b79

Please sign in to comment.