diff --git a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java index ed59178b..4e26d155 100644 --- a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java +++ b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java @@ -336,6 +336,7 @@ public class Hwi { InputStream inputStream; Path tempExecPath; if(platform == Platform.WINDOWS) { + Files.createDirectories(getHwiHomeDir().toPath()); inputStream = Hwi.class.getResourceAsStream("/native/windows/x64/hwi.exe"); tempExecPath = Files.createTempFile(getHwiHomeDir().toPath(), HWI_VERSION_DIR, null); } else {