Skip to content

Commit

Permalink
[loader]: Fixing application id broken by changing android.namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
twaik authored Jun 1, 2024
1 parent 676f14e commit 99efcc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell-loader/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def signingConfig = project(':app').android.signingConfigs.debug
def keyStore = java.security.KeyStore.getInstance(java.security.KeyStore.getDefaultType())
keyStore.load(new FileInputStream(signingConfig.storeFile), signingConfig.keyPassword.toCharArray())

android.defaultConfig.buildConfigField "String", "APPLICATION_ID", "\"com.termux.x11\""
android.defaultConfig.buildConfigField "String", "logTag", "\"Termux:X11 loader\""
android.defaultConfig.buildConfigField "int", "SIGNATURE", String.valueOf(Arrays.hashCode(keyStore.getCertificate(signingConfig.keyAlias).getEncoded()))
android.defaultConfig.buildConfigField "String", "CLASS_ID", "\"com.termux.x11.CmdEntryPoint\""
Expand Down

0 comments on commit 99efcc2

Please sign in to comment.