diff --git a/drongo b/drongo index 759ebb97..9cb95f2f 160000 --- a/drongo +++ b/drongo @@ -1 +1 @@ -Subproject commit 759ebb975cfe1c3636e2bdcb2c5a340a67be1c2b +Subproject commit 9cb95f2f8ca25c23021667f7be47ab9bd9846ce4 diff --git a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java index 7f43a8e7..ed59178b 100644 --- a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java +++ b/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); } diff --git a/src/main/resources/image/jade.png b/src/main/resources/image/jade.png new file mode 100644 index 00000000..7c5a0f97 Binary files /dev/null and b/src/main/resources/image/jade.png differ diff --git a/src/main/resources/image/jade@2x.png b/src/main/resources/image/jade@2x.png new file mode 100644 index 00000000..bedda598 Binary files /dev/null and b/src/main/resources/image/jade@2x.png differ diff --git a/src/main/resources/image/jade@3x.png b/src/main/resources/image/jade@3x.png new file mode 100644 index 00000000..f9e9f03e Binary files /dev/null and b/src/main/resources/image/jade@3x.png differ diff --git a/src/main/resources/native/linux/x64/hwi b/src/main/resources/native/linux/x64/hwi index d07f1229..e37a3d0e 100755 Binary files a/src/main/resources/native/linux/x64/hwi and b/src/main/resources/native/linux/x64/hwi differ diff --git a/src/main/resources/native/osx/x64/hwi-2.0.2-mac-amd64-signed.zip b/src/main/resources/native/osx/x64/hwi-2.1.0-mac-amd64-signed.zip old mode 100755 new mode 100644 similarity index 53% rename from src/main/resources/native/osx/x64/hwi-2.0.2-mac-amd64-signed.zip rename to src/main/resources/native/osx/x64/hwi-2.1.0-mac-amd64-signed.zip index 3e9923e4..6e365be4 Binary files a/src/main/resources/native/osx/x64/hwi-2.0.2-mac-amd64-signed.zip and b/src/main/resources/native/osx/x64/hwi-2.1.0-mac-amd64-signed.zip differ diff --git a/src/main/resources/native/windows/x64/hwi.exe b/src/main/resources/native/windows/x64/hwi.exe index 2afc0160..cf1e993a 100755 Binary files a/src/main/resources/native/windows/x64/hwi.exe and b/src/main/resources/native/windows/x64/hwi.exe differ