forked from xuhaoyang/ClashForAndroid
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a405372
commit a594286
Showing
19 changed files
with
1,430 additions
and
605 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "clash-foss"] | ||
path = core/src/foss/golang/clash | ||
url = https://github.com/Kr328/clash.git | ||
[submodule "clash-premium"] | ||
path = core/src/premium/golang/clash | ||
url = https://github.com/Kr328/clash.git | ||
url = https://github.com/MetaCubeX/Clash.Meta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,3 @@ | ||
## Clash for Android | ||
## CFA | ||
|
||
A Graphical user interface of [clash](https://github.com/Dreamacro/clash) for Android | ||
|
||
<a href="https://play.google.com/store/apps/details?id=com.github.kr328.clash"><img width="200px" alt="Get it on Google Play" src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png"/></a> or [Releases](https://github.com/Kr328/ClashForAndroid/releases) | ||
|
||
### Feature | ||
|
||
Fully feature of [clash](https://github.com/Dreamacro/clash) ~~(Exclude `external-controller`~~ | ||
|
||
### Requirement | ||
|
||
- Android 5.0+ (minimum) | ||
- Android 7.0+ (recommend) | ||
- `armeabi-v7a` , `arm64-v8a`, `x86` or `x86_64` Architecture | ||
|
||
### License | ||
|
||
See also [LICENSE](./LICENSE) and [NOTICE](./NOTICE) | ||
|
||
### Privacy Policy | ||
|
||
See also [PRIVACY_POLICY.md](./PRIVACY_POLICY.md) | ||
|
||
### 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:assembleFossRelease | ||
``` | ||
|
||
6. Pick `app-foss-<arch>-release.apk` in `app/build/outputs/apk/foss/release/` | ||
? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule clash
updated
from c0174c to bb797d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.