Merge pull request #580 from swiesend/develop

Hide tmp file under Linux
This commit is contained in:
Sebastian Stenzel 2017-09-12 12:28:27 +02:00 committed by GitHub
commit 6d1989bbfe

View File

@ -80,7 +80,7 @@ abstract class InterProcessCommunicator implements InterProcessCommunicationProt
final String settingsPathProperty = System.getProperty("cryptomator.ipcPortPath");
if (settingsPathProperty == null) {
LOG.warn("System property cryptomator.ipcPortPath not set.");
return Paths.get("ipcPort.tmp");
return Paths.get(".ipcPort.tmp");
} else {
return Paths.get(replaceHomeDir(settingsPathProperty));
}