|
@ -122,7 +122,7 @@ public final class Resources { |
|
|
private static boolean initTemp(){ |
|
|
private static boolean initTemp(){ |
|
|
Logger.log("Versuche Temp-Verzeichnis zu finden.", Type.INFO); |
|
|
Logger.log("Versuche Temp-Verzeichnis zu finden.", Type.INFO); |
|
|
|
|
|
|
|
|
tempPath = System.getProperty("java.io.tmpdir").replace('\\', '/') + "/"; |
|
|
|
|
|
|
|
|
tempPath = System.getProperty("java.io.tmpdir").replace('\\', '/') + "/yoshibot/"; |
|
|
|
|
|
|
|
|
File tempDir = new File(tempPath); |
|
|
File tempDir = new File(tempPath); |
|
|
if(!tempDir.exists() || !tempDir.isDirectory()){ |
|
|
if(!tempDir.exists() || !tempDir.isDirectory()){ |
|
|