From 623b5644f391d2d8e93688efc5e828cbb3d0afe0 Mon Sep 17 00:00:00 2001 From: Alexander Shulgin Date: Sun, 9 Jul 2017 20:03:13 -0600 Subject: [PATCH] build --- pom.xml | 2 +- runtime/launch4j_windows.xml | 20 +++++++++---------- .../wolandsoft/sss/pcr/server/TcpServer.java | 4 +++- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 1330725..e4f8114 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.wolandsoft.sss pc-receiver - 1.3.0.1 + 1.4.0.0 SssPcReceiver PC Receiver for Simple Secret Storage diff --git a/runtime/launch4j_windows.xml b/runtime/launch4j_windows.xml index 5693dff..8857265 100644 --- a/runtime/launch4j_windows.xml +++ b/runtime/launch4j_windows.xml @@ -2,8 +2,8 @@ true gui - pc-receiver-1.3.0.1.jar - ..\target\sssPcReceiver.exe + pc-receiver-1.4.0.0.jar + ..\target\SiestoPcReceiver.exe . @@ -28,16 +28,16 @@ 64/32 - 1.3.0.1 - 1.3.0.1 - SSS PC-Receiver + 1.4.0.0 + 1.4.0.0 + Siesto PC-Receiver Wolandsoft (Alexander Shulgin) - 1.3.0.1 - 1.3.0.1 - SSS PC-Receiver + 1.4.0.0 + 1.4.0.0 + Siesto PC-Receiver - SSS PC-Receiver - sssPcReceiver.exe + Siesto PC-Receiver + SiestoPcReceiver.exe ENGLISH_US diff --git a/src/main/java/com/wolandsoft/sss/pcr/server/TcpServer.java b/src/main/java/com/wolandsoft/sss/pcr/server/TcpServer.java index 47ee7f8..c52deeb 100644 --- a/src/main/java/com/wolandsoft/sss/pcr/server/TcpServer.java +++ b/src/main/java/com/wolandsoft/sss/pcr/server/TcpServer.java @@ -67,7 +67,9 @@ public void run() { logger.log(Level.WARNING, e.getMessage(), e); } byte[] data = baOutStream.toByteArray(); - mListener.onDataReceived(data); + if(data.length > 0) { + mListener.onDataReceived(data); + } } }