mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-11 13:45:48 -04:00
[Branding] Move directories, change tag
Need to push a new tag for builds in a cloned repo to reflect it.
This commit is contained in:
parent
11c9126eeb
commit
3b9b44816b
@ -51,7 +51,7 @@ def getVersionName = {
|
|||||||
return ("LOCAL-" + "${getDate()}")
|
return ("LOCAL-" + "${getDate()}")
|
||||||
}else {
|
}else {
|
||||||
// Used by github actions
|
// Used by github actions
|
||||||
TAG_STRING = 'gladiolus-' + "${getDate()}" + "-" + TAG_PART_COMMIT.toString().trim()
|
TAG_STRING = 'amethyst-legacy-' + "${getDate()}" + "-" + TAG_PART_COMMIT.toString().trim()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -112,7 +112,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "net.kdt.pojavlaunch"
|
applicationId "org.angelauramc.amethyst"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 34
|
targetSdkVersion 34
|
||||||
versionCode getDateSeconds()
|
versionCode getDateSeconds()
|
||||||
|
@ -101,22 +101,22 @@ import java.util.Map;
|
|||||||
public final class Tools {
|
public final class Tools {
|
||||||
public static final float BYTE_TO_MB = 1024 * 1024;
|
public static final float BYTE_TO_MB = 1024 * 1024;
|
||||||
public static final Handler MAIN_HANDLER = new Handler(Looper.getMainLooper());
|
public static final Handler MAIN_HANDLER = new Handler(Looper.getMainLooper());
|
||||||
public static String APP_NAME = "PojavLauncher";
|
public static String APP_NAME = "Amethyst";
|
||||||
|
|
||||||
public static final Gson GLOBAL_GSON = new GsonBuilder().setPrettyPrinting().create();
|
public static final Gson GLOBAL_GSON = new GsonBuilder().setPrettyPrinting().create();
|
||||||
|
|
||||||
public static final String URL_HOME = "https://pojavlauncherteam.github.io";
|
public static final String URL_HOME = "https://angelauramc.dev/wiki";
|
||||||
public static String NATIVE_LIB_DIR;
|
public static String NATIVE_LIB_DIR;
|
||||||
public static String DIR_DATA; //Initialized later to get context
|
public static String DIR_DATA; //Initialized later to get context
|
||||||
public static File DIR_CACHE;
|
public static File DIR_CACHE;
|
||||||
public static String MULTIRT_HOME;
|
public static String MULTIRT_HOME;
|
||||||
public static String LOCAL_RENDERER = null;
|
public static String LOCAL_RENDERER = null;
|
||||||
public static int DEVICE_ARCHITECTURE;
|
public static int DEVICE_ARCHITECTURE;
|
||||||
public static final String LAUNCHERPROFILES_RTPREFIX = "pojav://";
|
public static final String LAUNCHERPROFILES_RTPREFIX = "amethyst://";
|
||||||
|
|
||||||
// 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_GAME_HOME = Environment.getExternalStorageDirectory().getAbsolutePath() + "/games/PojavLauncher";
|
public static String DIR_GAME_HOME = Environment.getExternalStorageDirectory().getAbsolutePath() + "/games/Amethyst";
|
||||||
public static String DIR_GAME_NEW;
|
public static String DIR_GAME_NEW;
|
||||||
public static String GAME_PROFILES_FILE;
|
public static String GAME_PROFILES_FILE;
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ public final class Tools {
|
|||||||
if(SDK_INT >= 29) {
|
if(SDK_INT >= 29) {
|
||||||
return ctx.getExternalFilesDir(null);
|
return ctx.getExternalFilesDir(null);
|
||||||
}else{
|
}else{
|
||||||
return new File(Environment.getExternalStorageDirectory(),"games/PojavLauncher");
|
return new File(Environment.getExternalStorageDirectory(),"games/Amethyst");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user