Browse Source

upgrade to hwi-2.1.0 with usb taproot signing and jade support

terminal
Craig Raw 3 years ago
parent
commit
cd1509749a
  1. 2
      drongo
  2. 6
      src/main/java/com/sparrowwallet/sparrow/io/Hwi.java
  3. BIN
      src/main/resources/image/jade.png
  4. BIN
      src/main/resources/image/jade@2x.png
  5. BIN
      src/main/resources/image/jade@3x.png
  6. BIN
      src/main/resources/native/linux/x64/hwi
  7. BIN
      src/main/resources/native/osx/x64/hwi-2.1.0-mac-amd64-signed.zip
  8. BIN
      src/main/resources/native/windows/x64/hwi.exe

2
drongo

@ -1 +1 @@
Subproject commit 759ebb975cfe1c3636e2bdcb2c5a340a67be1c2b
Subproject commit 9cb95f2f8ca25c23021667f7be47ab9bd9846ce4

6
src/main/java/com/sparrowwallet/sparrow/io/Hwi.java

@ -33,7 +33,7 @@ public class Hwi {
private static final Logger log = LoggerFactory.getLogger(Hwi.class);
private static final String HWI_HOME_DIR = "hwi";
private static final String HWI_VERSION_PREFIX = "hwi-";
private static final String HWI_VERSION = "2.0.2";
private static final String HWI_VERSION = "2.1.0";
private static final String HWI_VERSION_DIR = HWI_VERSION_PREFIX + HWI_VERSION;
private static boolean isPromptActive = false;
@ -337,7 +337,7 @@ public class Hwi {
Path tempExecPath;
if(platform == Platform.WINDOWS) {
inputStream = Hwi.class.getResourceAsStream("/native/windows/x64/hwi.exe");
tempExecPath = Files.createTempFile(HWI_VERSION_DIR, null);
tempExecPath = Files.createTempFile(getHwiHomeDir().toPath(), HWI_VERSION_DIR, null);
} else {
inputStream = Hwi.class.getResourceAsStream("/native/linux/x64/hwi");
tempExecPath = Files.createTempFile(HWI_VERSION_DIR, null, PosixFilePermissions.asFileAttribute(ownerExecutableWritable));
@ -368,7 +368,7 @@ public class Hwi {
}
private File getHwiHomeDir() {
if(Platform.getCurrent() == Platform.OSX) {
if(Platform.getCurrent() == Platform.OSX || Platform.getCurrent() == Platform.WINDOWS) {
return new File(Storage.getSparrowDir(), HWI_HOME_DIR);
}

BIN
src/main/resources/image/jade.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
src/main/resources/image/jade@2x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
src/main/resources/image/jade@3x.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
src/main/resources/native/linux/x64/hwi

Binary file not shown.

BIN
src/main/resources/native/osx/x64/hwi-2.0.2-mac-amd64-signed.zip → src/main/resources/native/osx/x64/hwi-2.1.0-mac-amd64-signed.zip

Binary file not shown.

BIN
src/main/resources/native/windows/x64/hwi.exe

Binary file not shown.
Loading…
Cancel
Save