mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46: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");
|
||||
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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue