use official Revanced MicroG

This commit is contained in:
Fioren
2024-03-26 11:18:16 +07:00
parent d902ae3bfb
commit f31ecc32a9
3 changed files with 4 additions and 107 deletions

View File

@@ -1,70 +0,0 @@
name: Build MicroG
on:
workflow_dispatch:
jobs:
Build:
name: Build MicroG
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: inotia00/VancedMicroG
persist-credentials: false
fetch-depth: 0
- name: JDK Setup
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Cache Gradle
uses: burrunan/gradle-cache-action@v1
with:
job-id: Build
- name: Setup Java
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
- name: Setup keystore
run: |
keytool -genkey -v -keystore play-services-core/keystore.jks -storepass microg -alias microg -keypass microg -dname "CN=microg" -keyalg RSA -keysize 2048 -validity 10000
cat << EOF > play-services-core/user.gradle
android {
signingConfigs {
release {
storeFile file('keystore.jks')
storePassword 'microg'
keyAlias 'microg'
keyPassword 'microg'
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}
EOF
- name: Build project
run: |
chmod +x ./gradlew
./gradlew assemble
- name: Build MicroG
run: |
./gradlew assembleRelease
mkdir ./release
cp play-services-core/build/outputs/apk/release/play-services-core-release.apk ./release/MicroG.apk
- name: Generate release info
run: |
echo "
**Change log** :point_down:
[MicroG](https://github.com/inotia00/VancedMicroG)
"> ${{ github.workspace }}-CHANGELOG.txt
- name: Release
uses: softprops/action-gh-release@v0.1.15
with:
files: |
./release/*.apk
name: MicroG
tag_name: MicroG
body_path: ${{ github.workspace }}-CHANGELOG.txt

View File

@@ -16,9 +16,7 @@ They are open-source scripts for patching various apps like YouTube, YouTube Mus
Simply, all you need to do is choose the app you want to use from the options below: 'Revanced' or 'Revanced Extended'. Then, select your phone's CPU architecture. If you don't know what your phone's CPU architecture is, choose All Architectures. That's all there is to it.
> [!NOTE]
> If you want to use the YouTube or YouTube Music app, you need to download and install MicroG, MicroG-RE or mMicroG.
>
> I strongly recommend you should build your MicroG apk by yourself. [Read wiki](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/wiki/Frequently-Asked-Questions#q-how-do-i-use-this-repository-for-building-microg)
> If you want to use the YouTube or YouTube Music app, you need to download and install [MicroG](https://github.com/ReVanced/GmsCore/releases).
>
> If you are an advanced user and you want to use custom patches for patching apps, you should read the [Wiki](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/wiki/Frequently-Asked-Questions#q-how-do-i-use-this-repository-for-patching-my-own-app).
>
@@ -128,25 +126,9 @@ Download
---
## [MicroG:](https://github.com/inotia00/VancedMicroG)
## [MicroG ReVanced:](https://github.com/ReVanced/GmsCore)
[![Release](https://img.shields.io/github/v/release/inotia00/vancedmicrog?label=All-arch&style=for-the-badge)](https://github.com/inotia00/VancedMicroG/releases/latest/download/microg.apk)
### [Built by Github Action](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/releases/download/MicroG/MicroG.apk)
---
## [MicroG-RE:](https://github.com/WSTxda/MicroG-RE)
[![Release](https://img.shields.io/github/v/release/WSTxda/MicroG-RE?label=All-arch&style=for-the-badge)](https://github.com/WSTxda/MicroG-RE/releases)
---
## [mMicroG:](https://github.com/kazimmt/mMicroG/)
[![Release](https://img.shields.io/github/v/release/kazimmt/mMicroG?label=arm64-v8a&style=for-the-badge)](https://github.com/kazimmt/mMicroG/releases/latest/download/MicroG-arm64-v8a.apk)
[![Release](https://img.shields.io/github/v/release/kazimmt/mMicroG?label=armeabi-v7a&style=for-the-badge)](https://github.com/ikazimmt/mMicroG/releases/latest/download/MicroG-armeabi-v7a.apk)
[![Release](https://img.shields.io/github/v/release/ReVanced/GmsCore?label=All-arch&style=for-the-badge)](https://github.com/ReVanced/GmsCore/releases)
---

View File

@@ -20,21 +20,6 @@ By default, the Readme.md file uses links to download my patched apps, but if yo
---
### Q: How do I use this repository for building MicroG?
Here are the steps to help you build MicroG using [inotia00](https://github.com/inotia00/VancedMicroG) source code with GitHub Actions. I'm not implying that downloading directly from inotia00's repository is dangerous, but using prebuilt file not safe at all.
You should [fork](https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/fork) the repository, and then move to the `Action` tab
![Click Action](https://i.imgur.com/GewSCbi.png)
Click "I understand my workflows, go ahead and enable them"
![Click "I understand my workflows, go ahead and enable them"](https://i.imgur.com/OjI1Pxa.png)
Follow these steps to run the workflow for patching MicroG!
![](https://i.imgur.com/UR7JmeG.png)
---
### Q: I want to use custom patches for patching my apps. How can I do it?
You should open the folder `Revanced-And-Revanced-Extended-Non-Root/src/patches/`. It contains a lot of folders that are named after the apps youre patching. Each folder has two files: exclude-patches and include-patches. Edit these files with the patches you like, putting one patch per line, following the patches list here: