mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
followup
This commit is contained in:
parent
cd1509749a
commit
d1d090a12b
1 changed files with 1 additions and 0 deletions
|
@ -336,6 +336,7 @@ public class Hwi {
|
||||||
InputStream inputStream;
|
InputStream inputStream;
|
||||||
Path tempExecPath;
|
Path tempExecPath;
|
||||||
if(platform == Platform.WINDOWS) {
|
if(platform == Platform.WINDOWS) {
|
||||||
|
Files.createDirectories(getHwiHomeDir().toPath());
|
||||||
inputStream = Hwi.class.getResourceAsStream("/native/windows/x64/hwi.exe");
|
inputStream = Hwi.class.getResourceAsStream("/native/windows/x64/hwi.exe");
|
||||||
tempExecPath = Files.createTempFile(getHwiHomeDir().toPath(), HWI_VERSION_DIR, null);
|
tempExecPath = Files.createTempFile(getHwiHomeDir().toPath(), HWI_VERSION_DIR, null);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue