mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2025-01-05 23:35:55 +01:00
Fix mini check
This commit is contained in:
parent
1c1ebf4c75
commit
eff7e5e352
8
.github/workflows/debug.yml
vendored
8
.github/workflows/debug.yml
vendored
@ -234,14 +234,14 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
flavor:
|
||||
- FullRelease
|
||||
- FullReleaseNoGcm
|
||||
- FullAppleEmojiRelease
|
||||
- FullAppleEmojiReleaseNoGcm
|
||||
- MiniRelease
|
||||
- MiniReleaseNoGcm
|
||||
- MiniAppleEmojiRelease
|
||||
- MiniAppleEmojiReleaseNoGcm
|
||||
- FullRelease
|
||||
- FullReleaseNoGcm
|
||||
- FullAppleEmojiRelease
|
||||
- FullAppleEmojiReleaseNoGcm
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
@ -31,9 +31,9 @@ public class BuildVars {
|
||||
public static String TGX_APP_HASH = "3e0cb5efcd52300aec5994fdfc5bdc16";
|
||||
|
||||
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 isFdroid = BuildConfig.BUILD_TYPE.toLowerCase().contains("fdroid");
|
||||
public static boolean isMini = !BuildConfig.FLAVOR.startsWith("full");
|
||||
|
||||
static {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user