--------------------------------------------------------------------------------
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/app/build.gradle.kts:
--------------------------------------------------------------------------------
1 | import java.util.Properties
2 |
3 | plugins {
4 | id("com.android.application")
5 | id("org.jetbrains.kotlin.android")
6 | }
7 |
8 | android {
9 | compileSdk = 33
10 |
11 | defaultConfig {
12 | applicationId = "com.weverse.bypasscheck"
13 | minSdk = 33
14 | targetSdk = 33
15 | versionCode = 10
16 | versionName = "1.0"
17 | }
18 |
19 | val properties = Properties()
20 | runCatching { properties.load(project.rootProject.file("local.properties").inputStream()) }
21 | val keystorePath = properties.getProperty("KEYSTORE_PATH") ?: System.getenv("KEYSTORE_PATH")
22 | val keystorePwd = properties.getProperty("KEYSTORE_PASS") ?: System.getenv("KEYSTORE_PASS")
23 | val alias = properties.getProperty("KEY_ALIAS") ?: System.getenv("KEY_ALIAS")
24 | val pwd = properties.getProperty("KEY_PASSWORD") ?: System.getenv("KEY_PASSWORD")
25 | if (keystorePath != null) {
26 | signingConfigs {
27 | create("release") {
28 | storeFile = file(keystorePath)
29 | storePassword = keystorePwd
30 | keyAlias = alias
31 | keyPassword = pwd
32 | enableV3Signing = true
33 | }
34 | }
35 | }
36 |
37 | buildTypes {
38 | release {
39 | isShrinkResources = true
40 | isMinifyEnabled = true
41 | proguardFiles("proguard-rules.pro")
42 | if (keystorePath != null) {
43 | signingConfig = signingConfigs.getByName("release")
44 | }
45 | }
46 | debug {
47 | if (keystorePath != null) {
48 | signingConfig = signingConfigs.getByName("release")
49 | }
50 | }
51 | }
52 |
53 | androidResources {
54 | additionalParameters("--allow-reserved-package-id", "--package-id", "0x45")
55 | }
56 |
57 | packagingOptions {
58 | resources {
59 | excludes += "/META-INF/**"
60 | excludes += "/kotlin/**"
61 | excludes += "/*.txt"
62 | excludes += "/*.bin"
63 | }
64 | }
65 |
66 | compileOptions {
67 | sourceCompatibility = JavaVersion.VERSION_11
68 | targetCompatibility = JavaVersion.VERSION_11
69 | }
70 | kotlinOptions {
71 | jvmTarget = JavaVersion.VERSION_11.toString()
72 | }
73 | }
74 |
75 | dependencies {
76 | implementation("com.github.kyuubiran:EzXHelper:1.0.3")
77 | compileOnly("de.robv.android.xposed:api:82")
78 | }
79 |
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | -keep class com.weverse.bypasscheck.MainHook
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |