Enables building of APK with Optimised package name. en-gb. (#206)
All checks were successful
eden-build / source (push) Successful in 3m24s
eden-build / android (push) Successful in 24m41s
eden-build / linux (push) Successful in 22m11s
eden-build / windows (msvc) (push) Successful in 29m28s

Build with: ./gradlew assembleGenshinSpoofRelease
Using com.miHoYo.Yuanshen to enable device dependent features such as AI frame generation.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/206
Co-authored-by: Bix <xq9zp7f2@proton.me>
Co-committed-by: Bix <xq9zp7f2@proton.me>
This commit is contained in:
Bix 2025-06-21 19:35:18 +00:00 committed by JPikachu
parent 2f01c69710
commit 02603abbdc

View file

@ -140,13 +140,21 @@ android {
} }
} }
android {
flavorDimensions.add("version") flavorDimensions.add("version")
productFlavors { productFlavors {
create("mainline") { create("mainline") {
isDefault = true
dimension = "version" dimension = "version"
// No need to set applicationId here
}
create("genshinSpoof") {
dimension = "version"
applicationId = "com.miHoYo.Yuanshen" // Correct use of applicationId inside the flavor block
} }
} }
}
externalNativeBuild { externalNativeBuild {
cmake { cmake {