mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Make dir if not exists
This commit is contained in:
parent
67c57eb202
commit
9e299f045c
@ -85,6 +85,9 @@ public class InventoryMonitor implements SetupListener {
|
||||
|
||||
// We get more connectivity issues. Cleaning tor cache files helps usually for those problems.
|
||||
File torDir = new File(appDir, "tor");
|
||||
if (!torDir.exists()) {
|
||||
torDir.mkdir();
|
||||
}
|
||||
TorSetup torSetup = new TorSetup(torDir);
|
||||
torSetup.cleanupTorFiles(() -> {
|
||||
networkNode = getNetworkNode(torDir);
|
||||
|
Loading…
Reference in New Issue
Block a user