runelite-client: create session file directory if it doesn't exist

This commit is contained in:
Adam
2017-05-14 19:52:28 -04:00
parent 7af13c6d99
commit e90e6ea2ab

View File

@@ -171,6 +171,8 @@ public class RuneLite
return;
}
SESSION_FILE.getParentFile().mkdirs();
try (FileWriter fw = new FileWriter(SESSION_FILE))
{
new Gson().toJson(accountSession, fw);