mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 03:35:46 +00:00
Enables building of APK with Optimised package name. en-gb. (#206)
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:
parent
2f01c69710
commit
02603abbdc
1 changed files with 14 additions and 6 deletions
|
@ -127,7 +127,7 @@ android {
|
||||||
applicationIdSuffix = ".relWithDebInfo"
|
applicationIdSuffix = ".relWithDebInfo"
|
||||||
isJniDebuggable = true
|
isJniDebuggable = true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Signed by debug key disallowing distribution on Play Store.
|
// Signed by debug key disallowing distribution on Play Store.
|
||||||
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
|
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
|
||||||
debug {
|
debug {
|
||||||
|
@ -140,14 +140,22 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
flavorDimensions.add("version")
|
android {
|
||||||
productFlavors {
|
flavorDimensions.add("version")
|
||||||
create("mainline") {
|
productFlavors {
|
||||||
isDefault = true
|
create("mainline") {
|
||||||
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 {
|
||||||
version = "3.22.1"
|
version = "3.22.1"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue