Merge branch 'dev' into renovate/kotlin-monorepo
This commit is contained in:
commit
8acac15828
11 changed files with 56 additions and 7 deletions
6
.github/workflows/android.yml
vendored
6
.github/workflows/android.yml
vendored
|
@ -18,10 +18,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set Up JDK
|
- name: Set Up JDK
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
@ -37,7 +37,7 @@ jobs:
|
||||||
run: ./gradlew assembleDebug
|
run: ./gradlew assembleDebug
|
||||||
|
|
||||||
- name: Upload APK
|
- name: Upload APK
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: app
|
name: app
|
||||||
path: ${{ env.main_project_module }}/build/outputs/apk/debug/app-debug.apk
|
path: ${{ env.main_project_module }}/build/outputs/apk/debug/app-debug.apk
|
||||||
|
|
22
.github/workflows/codeberg.yml
vendored
Normal file
22
.github/workflows/codeberg.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: Sync to Codeberg
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 */6 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
codeberg:
|
||||||
|
if: github.repository == 'VendroidEnhanced/Vendroid'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
|
||||||
|
with:
|
||||||
|
target_repo_url: "git@codeberg.org:VendroidEnhanced/Vendroid.git"
|
||||||
|
ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}
|
10
README.md
10
README.md
|
@ -1,4 +1,5 @@
|
||||||
# Vendroid
|
# VendroidEnhanced
|
||||||
|
|
||||||
|
|
||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
> This app is still in beta. If you have an issue:
|
> This app is still in beta. If you have an issue:
|
||||||
|
@ -10,6 +11,8 @@
|
||||||
> - ✅ **You can** DM me (`@nin0.dev`). You can find me in the Vencord Server;
|
> - ✅ **You can** DM me (`@nin0.dev`). You can find me in the Vencord Server;
|
||||||
> - ✅ Or preferably, open an issue in this repo.
|
> - ✅ Or preferably, open an issue in this repo.
|
||||||
|
|
||||||
|
[](https://codeberg.org/VendroidEnhanced/Vendroid)
|
||||||
|
|
||||||
Vendroid is a custom Discord client for Android. The way it works is that it loads the Discord mobile website and injects Vencord.
|
Vendroid is a custom Discord client for Android. The way it works is that it loads the Discord mobile website and injects Vencord.
|
||||||
|
|
||||||
| | |
|
| | |
|
||||||
|
@ -24,6 +27,11 @@ However, if you currently want to use a mobile mod, you can use [Aliucord](https
|
||||||
|
|
||||||
## Download
|
## Download
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[Here!](https://github.com/VendroidEnhanced/Vendroid/releases/latest/download/app-release.apk)
|
[Here!](https://github.com/VendroidEnhanced/Vendroid/releases/latest/download/app-release.apk)
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
|
@ -17,7 +17,7 @@ android {
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
|
applicationIdSuffix ".debug"
|
||||||
}
|
}
|
||||||
|
|
||||||
release {
|
release {
|
||||||
|
@ -32,7 +32,7 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'androidx.annotation:annotation:1.7.1'
|
implementation 'androidx.annotation:annotation:1.7.1'
|
||||||
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.28'
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.29'
|
||||||
implementation 'com.google.android.material:material:1.11.0'
|
implementation 'com.google.android.material:material:1.11.0'
|
||||||
implementation 'androidx.appcompat:appcompat:1.6.1'
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
||||||
implementation 'androidx.activity:activity:1.9.0'
|
implementation 'androidx.activity:activity:1.9.0'
|
||||||
|
|
6
app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
6
app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<background android:drawable="@mipmap/ic_launcher_background"/>
|
||||||
|
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||||
|
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
|
||||||
|
</adaptive-icon>
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<background android:drawable="@color/debug_background"/>
|
||||||
|
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||||
|
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
|
||||||
|
</adaptive-icon>
|
3
app/src/debug/res/values/strings.xml
Normal file
3
app/src/debug/res/values/strings.xml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<resources>
|
||||||
|
<string name="app_name">Dev Vendroid</string>
|
||||||
|
</resources>
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@mipmap/ic_launcher_background"/>
|
<background android:drawable="@color/debug_background"/>
|
||||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||||
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
|
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
|
@ -35,6 +35,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
document.documentElement.appendChild(
|
document.documentElement.appendChild(
|
||||||
Object.assign(document.createElement("link"), {
|
Object.assign(document.createElement("link"), {
|
||||||
|
@ -49,4 +50,5 @@
|
||||||
href: "https://github.com/VendroidEnhanced/plugin/releases/download/css/fixes.css"
|
href: "https://github.com/VendroidEnhanced/plugin/releases/download/css/fixes.css"
|
||||||
}));
|
}));
|
||||||
}, { once: true });
|
}, { once: true });
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
<color name="seed">#5865F2</color>
|
<color name="seed">#5865F2</color>
|
||||||
|
<color name="debug_background">#FFC800</color>
|
||||||
<color name="md_theme_light_primary">#3F4CDA</color>
|
<color name="md_theme_light_primary">#3F4CDA</color>
|
||||||
<color name="md_theme_light_onPrimary">#FFFFFF</color>
|
<color name="md_theme_light_onPrimary">#FFFFFF</color>
|
||||||
<color name="md_theme_light_primaryContainer">#E0E0FF</color>
|
<color name="md_theme_light_primaryContainer">#E0E0FF</color>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application' version '8.3.1' apply false
|
id 'com.android.application' version '8.3.1' apply false
|
||||||
|
|
||||||
id 'com.android.library' version '8.3.1' apply false
|
id 'com.android.library' version '8.3.1' apply false
|
||||||
id 'org.jetbrains.kotlin.android' version '1.9.24' apply false
|
id 'org.jetbrains.kotlin.android' version '1.9.24' apply false
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue