mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
upgrade hwi to 1.2.0
This commit is contained in:
parent
32327928b5
commit
bda5c1a709
4 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ import java.util.zip.ZipInputStream;
|
||||||
|
|
||||||
public class Hwi {
|
public class Hwi {
|
||||||
private static final Logger log = LoggerFactory.getLogger(Hwi.class);
|
private static final Logger log = LoggerFactory.getLogger(Hwi.class);
|
||||||
private static final String TEMP_FILE_PREFIX = "hwi-1.1.2-";
|
private static final String TEMP_FILE_PREFIX = "hwi-1.2.0-";
|
||||||
|
|
||||||
private static boolean isPromptActive = false;
|
private static boolean isPromptActive = false;
|
||||||
|
|
||||||
|
@ -218,7 +218,7 @@ public class Hwi {
|
||||||
//The check will still happen on first invocation, but will not thereafter
|
//The check will still happen on first invocation, but will not thereafter
|
||||||
//See https://github.com/bitcoin-core/HWI/issues/327 for details
|
//See https://github.com/bitcoin-core/HWI/issues/327 for details
|
||||||
if(platform == Platform.OSX) {
|
if(platform == Platform.OSX) {
|
||||||
InputStream inputStream = Hwi.class.getResourceAsStream("/native/osx/x64/hwi-1.1.2-mac-amd64-signed.zip");
|
InputStream inputStream = Hwi.class.getResourceAsStream("/native/osx/x64/hwi-1.2.0-mac-amd64-signed.zip");
|
||||||
Path tempHwiDirPath = Files.createTempDirectory(TEMP_FILE_PREFIX, PosixFilePermissions.asFileAttribute(ownerExecutableWritable));
|
Path tempHwiDirPath = Files.createTempDirectory(TEMP_FILE_PREFIX, PosixFilePermissions.asFileAttribute(ownerExecutableWritable));
|
||||||
File tempHwiDir = tempHwiDirPath.toFile();
|
File tempHwiDir = tempHwiDirPath.toFile();
|
||||||
//tempHwiDir.deleteOnExit();
|
//tempHwiDir.deleteOnExit();
|
||||||
|
|
Binary file not shown.
BIN
src/main/resources/native/osx/x64/hwi-1.1.2-mac-amd64-signed.zip → src/main/resources/native/osx/x64/hwi-1.2.0-mac-amd64-signed.zip
Normal file → Executable file
BIN
src/main/resources/native/osx/x64/hwi-1.1.2-mac-amd64-signed.zip → src/main/resources/native/osx/x64/hwi-1.2.0-mac-amd64-signed.zip
Normal file → Executable file
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue