mirror of
https://github.com/etlegacy/etlegacy-android.git
synced 2025-04-12 04:00:48 +00:00
java: path to cached file was wrong
This commit is contained in:
parent
cbc1b2a069
commit
25bff2197a
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public class ETLMain extends SDLActivity {
|
|||
public void onFinish() {
|
||||
super.onFinish();
|
||||
try {
|
||||
Files.move(getApplication().getCacheDir().getAbsoluteFile(), new File(getExternalFilesDir(null), "pak2.pk3"));
|
||||
Files.move(file.getAbsoluteFile(), new File(getExternalFilesDir(null), "pak2.pk3"));
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue