|
|
@ -23,7 +23,7 @@ public final class Resources { |
|
|
|
private static String configPath; |
|
|
|
@Getter |
|
|
|
private static String audioPath; |
|
|
|
@Getter |
|
|
|
|
|
|
|
private static String tempPath; |
|
|
|
@Getter |
|
|
|
private static String activitiesPath; |
|
|
@ -137,6 +137,13 @@ public final class Resources { |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public static String getTempPath(){ |
|
|
|
File tempDir = new File(tempPath); |
|
|
|
if(!tempDir.isDirectory()) |
|
|
|
if(!tempDir.mkdir()) return null; |
|
|
|
return tempPath; |
|
|
|
} |
|
|
|
|
|
|
|
private static boolean initActivities() { |
|
|
|
activitiesPath = verifyExists(resourcePath + "activities.txt", File::isFile); |
|
|
|