diff --git a/src/com/sheepit/client/Configuration.java b/src/com/sheepit/client/Configuration.java index 1a4c8c8..3e182b5 100644 --- a/src/com/sheepit/client/Configuration.java +++ b/src/com/sheepit/client/Configuration.java @@ -195,6 +195,12 @@ public class Configuration { this.workingDirectory.delete(); // hoho this.workingDirectory.mkdir(); this.workingDirectory.deleteOnExit(); + + // since there is no working directory and the client will be working in the system temp directory, + // we can also set up a 'permanent' directory for immutable files (like renderer binary) + + this.storageDirectory = new File(this.workingDirectory.getParent() + File.separator + "sheepit_binary_cache"); + this.storageDirectory.mkdir(); } catch (IOException e) { e.printStackTrace();