mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-29 21:44:26 +02:00
docs: Remove unneeded steps to build from source
This commit is contained in:
parent
48b9ac8f5b
commit
cb70082d31
@ -9,23 +9,13 @@ This page will guide you through building ReVanced Manager from source.
|
|||||||
```sh
|
```sh
|
||||||
git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager
|
git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager
|
||||||
```
|
```
|
||||||
|
3. Get dependencies
|
||||||
3. Create a GitHub personal access token with the `read:packages` scope [here](https://github.com/settings/tokens/new?scopes=read:packages&description=ReVanced)
|
|
||||||
|
|
||||||
4. Add your GitHub username and the token to `./android/gradle.properties`
|
|
||||||
|
|
||||||
```properties
|
|
||||||
gpr.user = YourUsername
|
|
||||||
gpr.key = ghp_longrandomkey
|
|
||||||
```
|
|
||||||
|
|
||||||
5. Get dependencies
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
flutter pub get
|
flutter pub get
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Delete conflicting outputs
|
4. Delete conflicting outputs
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
flutter packages pub run build_runner build --delete-conflicting-outputs
|
flutter packages pub run build_runner build --delete-conflicting-outputs
|
||||||
@ -34,7 +24,7 @@ This page will guide you through building ReVanced Manager from source.
|
|||||||
> [!Note]
|
> [!Note]
|
||||||
> Must be run every time you sync your local repository with the remote repository.
|
> Must be run every time you sync your local repository with the remote repository.
|
||||||
|
|
||||||
7. Build the APK
|
5. Build the APK
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
flutter build apk
|
flutter build apk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user