change logdir
This commit is contained in:
parent
f62661f8cb
commit
6bbe8795cc
|
@ -233,7 +233,7 @@ public class FCLauncher {
|
|||
|
||||
// initialize FCLBridge
|
||||
FCLBridge bridge = new FCLBridge();
|
||||
bridge.setLogPath(new File(FCLPath.SHARED_COMMON_DIR).getParent() + "/latest_game.log");
|
||||
bridge.setLogPath(config.getLogDir() + "/latest_game.log");
|
||||
Thread gameThread = new Thread(() -> {
|
||||
try {
|
||||
logStartInfo(bridge, "Minecraft");
|
||||
|
|
|
@ -39,7 +39,7 @@ public class FCLPath {
|
|||
|
||||
NATIVE_LIB_DIR = context.getApplicationInfo().nativeLibraryDir;
|
||||
|
||||
LOG_DIR = context.getExternalFilesDir("log").getAbsolutePath();
|
||||
LOG_DIR = Environment.getExternalStorageDirectory().getAbsolutePath() + "/FCL/log";
|
||||
CACHE_DIR = context.getCacheDir() + "/fclauncher";
|
||||
|
||||
RUNTIME_DIR = context.getDir("runtime", 0).getAbsolutePath();
|
||||
|
|
Loading…
Reference in New Issue