From 2deee80f290ad49106c27560c65969abae9beb8c Mon Sep 17 00:00:00 2001 From: PavelBARABANOV Date: Mon, 4 May 2026 19:54:26 +0200 Subject: [PATCH] [android] move GENSHIN_SPOOF flag to genshinSpoof flavor (#3923) The standard build was downloading the optimized APK and vice versa due to GENSHIN_SPOOF being incorrectly defined in the mainline flavor. This should resolve the issue. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3923 Reviewed-by: crueter --- src/android/app/build.gradle.kts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts index 0519ac956d..ccc5b3cabe 100644 --- a/src/android/app/build.gradle.kts +++ b/src/android/app/build.gradle.kts @@ -192,12 +192,6 @@ android { manifestPlaceholders += mapOf("appNameBase" to "Eden") resValue("string", "app_name_suffixed", "Eden") - externalNativeBuild { - cmake { - arguments.add("-DGENSHIN_SPOOF=ON") - } - } - ndk { abiFilters += listOf("arm64-v8a") } @@ -209,6 +203,12 @@ android { resValue("string", "app_name_suffixed", "Eden Optimized") applicationId = "com.miHoYo.Yuanshen" + externalNativeBuild { + cmake { + arguments.add("-DGENSHIN_SPOOF=ON") + } + } + ndk { abiFilters += listOf("arm64-v8a") }