Skip to content

Commit

Permalink
Update instructions and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JingMatrix committed Dec 1, 2024
1 parent cc48f04 commit 7285e7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ Note for WebView based browsers users: you _only_ need to enable this module for

ChromeXt requires **Xposed framework**.

For root users, install [LSPosed](https://github.com/LSPosed/LSPosed) first,
For root users, install [LSPosed](https://github.com/JingMatrix/LSPosed) first,
pick up the latest built APK from my repo's [GitHub Actions](https://github.com/JingMatrix/ChromeXt/actions) and install it.

For non-root users,
I modify a bit [LSPatch](https://github.com/JingMatrix/LSPatch) to support `ChromeXt`; here is how to use it:
1. Download the latest `lspatch-release` from my [GitHub Actions](https://github.com/JingMatrix/LSPatch/actions).
2. Download the latest `ChromeXt.apk` from my [GitHub Actions](https://github.com/JingMatrix/ChromeXt/actions).
3. Extract previously downloaded files to get files `lspatch.jar` (with some suffix) and `ChromeXt-signed.apk`.
4. Patch your APK (taking `arm64_ChromePublic.apk` as example) using the following command: `java -jar lspatch.jar arm64_ChromePublic.apk -d -v -m ChromeXt-signed.apk --force`. If `java` environment is not available, please consider using the provided `manager` APK.
4. Patch your APK (taking `arm64_ChromePublic.apk` as example) using the following command: `java -jar lspatch.jar arm64_ChromePublic.apk -d -v -m ChromeXt-signed.apk --force --injectdex`. If `java` environment is not available, please consider using the provided `manager` APK (and check the `Inject loader dex` option).
5. Install the patched APK, which might require you to first uninstall the one on your devices.

Notes: currently _to download_ files from `GitHub Actions`, one needs to log in GitHub.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import com.ncorti.ktfmt.gradle.tasks.KtfmtFormatTask

plugins {
id("com.android.application") version "8.7.2" apply false
id("org.jetbrains.kotlin.android") version "2.0.21" apply false
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
id("com.ncorti.ktfmt.gradle") version "0.21.0"
}

Expand Down

0 comments on commit 7285e7f

Please sign in to comment.