mirror of https://github.com/NekoX-Dev/NekoX.git
Fix mini check
This commit is contained in:
parent
1c1ebf4c75
commit
eff7e5e352
|
@ -234,14 +234,14 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
flavor:
|
flavor:
|
||||||
- FullRelease
|
|
||||||
- FullReleaseNoGcm
|
|
||||||
- FullAppleEmojiRelease
|
|
||||||
- FullAppleEmojiReleaseNoGcm
|
|
||||||
- MiniRelease
|
- MiniRelease
|
||||||
- MiniReleaseNoGcm
|
- MiniReleaseNoGcm
|
||||||
- MiniAppleEmojiRelease
|
- MiniAppleEmojiRelease
|
||||||
- MiniAppleEmojiReleaseNoGcm
|
- MiniAppleEmojiReleaseNoGcm
|
||||||
|
- FullRelease
|
||||||
|
- FullReleaseNoGcm
|
||||||
|
- FullAppleEmojiRelease
|
||||||
|
- FullAppleEmojiReleaseNoGcm
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
@ -31,9 +31,9 @@ public class BuildVars {
|
||||||
public static String TGX_APP_HASH = "3e0cb5efcd52300aec5994fdfc5bdc16";
|
public static String TGX_APP_HASH = "3e0cb5efcd52300aec5994fdfc5bdc16";
|
||||||
|
|
||||||
public static boolean isUnknown = !BuildConfig.BUILD_TYPE.startsWith("release");
|
public static boolean isUnknown = !BuildConfig.BUILD_TYPE.startsWith("release");
|
||||||
public static boolean isMini = BuildConfig.FLAVOR.startsWith("mini");
|
|
||||||
public static boolean isPlay = BuildConfig.FLAVOR.endsWith("Play");
|
public static boolean isPlay = BuildConfig.FLAVOR.endsWith("Play");
|
||||||
public static boolean isFdroid = BuildConfig.BUILD_TYPE.toLowerCase().contains("fdroid");
|
public static boolean isFdroid = BuildConfig.BUILD_TYPE.toLowerCase().contains("fdroid");
|
||||||
|
public static boolean isMini = !BuildConfig.FLAVOR.startsWith("full");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue