diff --git a/README.md b/README.md index 20962c9b..5fcaea63 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,44 @@ -## CFA +## Clash Meta for Android -? \ No newline at end of file +A Graphical user interface of [Clash.Meta](https://github.com/MetaCubeX/Clash.Meta) for Android + +### Feature + +Feature of [Clash.Meta](https://github.com/MetaCubeX/Clash.Meta) + +### Requirement + +- Android 5.0+ (minimum) +- Android 7.0+ (recommend) +- `armeabi-v7a` , `arm64-v8a`, `x86` or `x86_64` Architecture + +### Build + +1. Update submodules + + ```bash + git submodule update --init --recursive + ``` + +2. Install **OpenJDK 11**, **Android SDK**, **CMake** and **Golang** + +3. Create `local.properties` in project root with + + ```properties + sdk.dir=/path/to/android-sdk + ``` + +4. Create `signing.properties` in project root with + + ```properties + keystore.path=/path/to/keystore/file + keystore.password= + key.alias= + key.password= + ``` + +5. Build + + ```bash + ./gradlew app:assembleMeta-AlphaRelease + ``` diff --git a/design/src/main/java/com/github/kr328/clash/design/ApkBrokenDesign.kt b/design/src/main/java/com/github/kr328/clash/design/ApkBrokenDesign.kt index 56dd6132..2657e4b1 100644 --- a/design/src/main/java/com/github/kr328/clash/design/ApkBrokenDesign.kt +++ b/design/src/main/java/com/github/kr328/clash/design/ApkBrokenDesign.kt @@ -33,21 +33,12 @@ class ApkBrokenDesign(context: Context) : Design(contex category(R.string.reinstall) - clickable( - title = R.string.google_play, - summary = R.string.google_play_url - ) { - clicked { - requests.trySend(Request(context.getString(R.string.google_play_url))) - } - } - clickable( title = R.string.github_releases, - summary = R.string.github_releases_url + summary = R.string.meta_github_url ) { clicked { - requests.trySend(Request(context.getString(R.string.github_releases_url))) + requests.trySend(Request(context.getString(R.string.meta_github_url))) } } }