djoeni 3 년 전
부모
커밋
814097ab19
2개의 변경된 파일45개의 추가작업 그리고 13개의 파일을 삭제
  1. 43 2
      README.md
  2. 2 11
      design/src/main/java/com/github/kr328/clash/design/ApkBrokenDesign.kt

+ 43 - 2
README.md

@@ -1,3 +1,44 @@
-## CFA
+## Clash Meta for Android
 
-?
+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 store password>
+   key.alias=<key alias>
+   key.password=<key password>
+   ```
+
+5. Build
+
+   ```bash
+   ./gradlew app:assembleMeta-AlphaRelease
+   ```

+ 2 - 11
design/src/main/java/com/github/kr328/clash/design/ApkBrokenDesign.kt

@@ -33,21 +33,12 @@ class ApkBrokenDesign(context: Context) : Design<ApkBrokenDesign.Request>(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)))
                 }
             }
         }