From 1ac264600a01784044483ca5fed03aa2cf2325d8 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 28 Aug 2020 12:17:47 +0200 Subject: [PATCH] set linux path explicitly --- src/main/java/com/sparrowwallet/sparrow/io/Hwi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java index 6e5c45be..9b65c609 100644 --- a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java +++ b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java @@ -217,7 +217,7 @@ public class Hwi { inputStream = Hwi.class.getResourceAsStream("/external/windows/hwi.exe"); tempExecPath = Files.createTempFile(TEMP_FILE_PREFIX, null); } else { - inputStream = Hwi.class.getResourceAsStream("/external/" + platform.getPlatformId().toLowerCase() + "/hwi"); + inputStream = Hwi.class.getResourceAsStream("/external/linux/hwi"); tempExecPath = Files.createTempFile(TEMP_FILE_PREFIX, null, PosixFilePermissions.asFileAttribute(ownerExecutableWritable)); }