mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
set linux path explicitly
This commit is contained in:
parent
00db59c44f
commit
1ac264600a
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ public class Hwi {
|
||||||
inputStream = Hwi.class.getResourceAsStream("/external/windows/hwi.exe");
|
inputStream = Hwi.class.getResourceAsStream("/external/windows/hwi.exe");
|
||||||
tempExecPath = Files.createTempFile(TEMP_FILE_PREFIX, null);
|
tempExecPath = Files.createTempFile(TEMP_FILE_PREFIX, null);
|
||||||
} else {
|
} 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));
|
tempExecPath = Files.createTempFile(TEMP_FILE_PREFIX, null, PosixFilePermissions.asFileAttribute(ownerExecutableWritable));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue