From 35b449c8373a199ce202310fab51b12127cb9ffa Mon Sep 17 00:00:00 2001 From: Gunhee Lee Date: Sat, 31 Mar 2018 17:47:08 +0900 Subject: [PATCH] [client] fix the bug that the windows client makes broken exported file. --- scouter.client/src/scouter/client/util/ZipUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scouter.client/src/scouter/client/util/ZipUtil.java b/scouter.client/src/scouter/client/util/ZipUtil.java index d01422360..f9e037e0e 100644 --- a/scouter.client/src/scouter/client/util/ZipUtil.java +++ b/scouter.client/src/scouter/client/util/ZipUtil.java @@ -85,7 +85,7 @@ private static void compressZip(File file, String root, ZipOutputStream zos) thr FileInputStream fis = null; try { String zipName = file.getPath().replace(root + "\\", ""); - zipName = file.getPath().replace(root + "/", ""); + zipName = zipName.replace(root + "/", ""); System.out.println("zipname:" + zipName); // 파일을 읽어드림