Skip to content

Commit

Permalink
upgrade to hwi 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
craigraw committed Nov 26, 2020
1 parent d395c78 commit c804737
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/sparrowwallet/sparrow/io/Hwi.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

public class Hwi {
private static final Logger log = LoggerFactory.getLogger(Hwi.class);
private static final String TEMP_FILE_PREFIX = "hwi-1.2.0-";
private static final String TEMP_FILE_PREFIX = "hwi-1.2.1-";

private static boolean isPromptActive = false;

Expand Down Expand Up @@ -218,7 +218,7 @@ private synchronized File getHwiExecutable(Command command) {
//The check will still happen on first invocation, but will not thereafter
//See https://github.com/bitcoin-core/HWI/issues/327 for details
if(platform == Platform.OSX) {
InputStream inputStream = Hwi.class.getResourceAsStream("/native/osx/x64/hwi-1.2.0-mac-amd64-signed.zip");
InputStream inputStream = Hwi.class.getResourceAsStream("/native/osx/x64/hwi-1.2.1-mac-amd64-signed.zip");
Path tempHwiDirPath = Files.createTempDirectory(TEMP_FILE_PREFIX, PosixFilePermissions.asFileAttribute(ownerExecutableWritable));
File tempHwiDir = tempHwiDirPath.toFile();
//tempHwiDir.deleteOnExit();
Expand Down
Binary file modified src/main/resources/native/linux/x64/hwi
Binary file not shown.
Binary file not shown.
Binary file modified src/main/resources/native/windows/x64/hwi.exe
Binary file not shown.

0 comments on commit c804737

Please sign in to comment.