mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
upgrade to hwi-2.1.0 with usb taproot signing and jade support
This commit is contained in:
parent
dd5278f442
commit
cd1509749a
8 changed files with 4 additions and 4 deletions
2
drongo
2
drongo
|
@ -1 +1 @@
|
|||
Subproject commit 759ebb975cfe1c3636e2bdcb2c5a340a67be1c2b
|
||||
Subproject commit 9cb95f2f8ca25c23021667f7be47ab9bd9846ce4
|
|
@ -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
Normal file
BIN
src/main/resources/image/jade.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
src/main/resources/image/jade@2x.png
Normal file
BIN
src/main/resources/image/jade@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
BIN
src/main/resources/image/jade@3x.png
Normal file
BIN
src/main/resources/image/jade@3x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
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
Executable file → Normal file
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
Executable file → Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue