mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 00:29:50 -04:00
Early access of scoped storage :trollface:
This commit is contained in:
parent
b6a5ec765a
commit
c5f03607df
@ -48,7 +48,9 @@ public final class Tools
|
|||||||
// New since 3.3.1
|
// New since 3.3.1
|
||||||
public static String DIR_ACCOUNT_NEW;
|
public static String DIR_ACCOUNT_NEW;
|
||||||
public static String DIR_ACCOUNT_OLD;
|
public static String DIR_ACCOUNT_OLD;
|
||||||
public static final String DIR_GAME_HOME = Environment.getExternalStorageDirectory().getAbsolutePath() + "/games/PojavLauncher";
|
public static final String DIR_GAME_HOME = Build.VERSION.SDK_INT >= 30 ?
|
||||||
|
Environment.getExternalFilesDir().getAbsolutePath() :
|
||||||
|
Environment.getExternalStorageDirectory().getAbsolutePath() + "/games/PojavLauncher";
|
||||||
public static final String DIR_GAME_NEW = DIR_GAME_HOME + "/.minecraft";
|
public static final String DIR_GAME_NEW = DIR_GAME_HOME + "/.minecraft";
|
||||||
public static final String DIR_GAME_OLD = Environment.getExternalStorageDirectory().getAbsolutePath() + "/games/.minecraft";
|
public static final String DIR_GAME_OLD = Environment.getExternalStorageDirectory().getAbsolutePath() + "/games/.minecraft";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user