From 14b7a2b814cb43dfa101fcb9065fbf67f27c0bc7 Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 15 Jan 2020 22:20:27 +0100 Subject: [PATCH] Fix last commit --- src/clientP2P/ClientP2P.java | 2 +- src/serverP2P/ServerP2P.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clientP2P/ClientP2P.java b/src/clientP2P/ClientP2P.java index b32aa63..7a74036 100644 --- a/src/clientP2P/ClientP2P.java +++ b/src/clientP2P/ClientP2P.java @@ -26,7 +26,7 @@ public class ClientP2P { } else if (os.equals("Mac")||os.equals("Mac OS X") { /* Apple MacOS X User Data Directory * https://developer.apple.com/library/archive/qa/qa1170/_index.html */ - d = System.getProperty("user.home") + "/Library/"; + d = System.getProperty("user.home") + "/Library"; } else { d = "."; } diff --git a/src/serverP2P/ServerP2P.java b/src/serverP2P/ServerP2P.java index 6587423..7725619 100644 --- a/src/serverP2P/ServerP2P.java +++ b/src/serverP2P/ServerP2P.java @@ -25,7 +25,7 @@ public class ServerP2P { } else if (os.equals("Mac")||os.equals("Mac OS X") { /* Apple MacOS X User Data Directory * https://developer.apple.com/library/archive/qa/qa1170/_index.html */ - d = System.getProperty("user.home") + "/Library/"; + d = System.getProperty("user.home") + "/Library"; } else { d = "."; }