Skip to content

Commit 6f90618

Browse files
committed
Expand temporary file name
1 parent f2576b5 commit 6f90618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/jvmMain/kotlin/com/powersync/ExtractLib.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ internal fun extractLib(fileName: String): String {
2424
else -> error("Unsupported architecture: $sysArch")
2525
}
2626

27-
val path = Files.createTempFile(Path(System.getProperty("java.io.tmpdir")), prefix, extension)
27+
val path = Files.createTempFile(Path(System.getProperty("java.io.tmpdir")), "$prefix$fileName", extension)
2828
val file =
2929
path.toFile().apply {
3030
setReadable(true)

0 commit comments

Comments
 (0)