Skip to content

Commit 5078caf

Browse files
committed
update to latest kp
test for directly execute apd
1 parent 57a6b7e commit 5078caf

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
COMMIT_ID: ${{ github.event.head_commit.id }}
145145
run: |
146146
if [ -n "${BOT_TOKEN}" ]; then
147-
CHANNELS=(-1002058433411 -1001910818234)
147+
CHANNELS=(-1002312454396)
148148
RELEASE_APK="${{ steps.sign_app.outputs.signedReleaseFile }}"
149149
DEBUG_APK="${{ steps.sign_debug_app.outputs.signedReleaseFile }}"
150150

app/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ android {
120120
}
121121
}
122122
buildConfigField("String", "buildKPV", "\"$kernelPatchVersion\"")
123+
applicationId = "com.example.apatch"
123124
base.archivesName = "APatch_${managerVersionCode}_${managerVersionName}_${branchName}"
124125
}
125126

@@ -216,14 +217,14 @@ fun downloadFile(url: String, destFile: File) {
216217

217218
registerDownloadTask(
218219
taskName = "downloadKpimg",
219-
srcUrl = "https://github.com/bmax121/KernelPatch/releases/download/$kernelPatchVersion/kpimg-android",
220+
srcUrl = "https://github.com/Admirepowered/KernelPatch/releases/download/$kernelPatchVersion/kpimg-android",
220221
destPath = "${project.projectDir}/src/main/assets/kpimg",
221222
project = project
222223
)
223224

224225
registerDownloadTask(
225226
taskName = "downloadKptools",
226-
srcUrl = "https://github.com/bmax121/KernelPatch/releases/download/$kernelPatchVersion/kptools-android",
227+
srcUrl = "https://github.com/Admirepowered/KernelPatch/releases/download/$kernelPatchVersion/kptools-android",
227228
destPath = "${project.projectDir}/libs/arm64-v8a/libkptools.so",
228229
project = project
229230
)

app/src/main/java/me/bmax/apatch/APatchApp.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ class APApplication : Application(), Thread.UncaughtExceptionHandler {
255255
exitProcess(0)
256256
}
257257

258-
if (!BuildConfig.DEBUG && !verifyAppSignature("1x2twMoHvfWUODv7KkRRNKBzOfEqJwRKGzJpgaz18xk=")) {
258+
if (false && !verifyAppSignature("1x2twMoHvfWUODv7KkRRNKBzOfEqJwRKGzJpgaz18xk=")) {
259259
while (true) {
260260
val intent = Intent(Intent.ACTION_DELETE)
261261
intent.data = "package:$packageName".toUri()

0 commit comments

Comments
 (0)