diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 11a4e3c..f048a20 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -18,10 +18,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Set Up JDK
- uses: actions/setup-java@v3
+ uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
@@ -37,7 +37,7 @@ jobs:
run: ./gradlew assembleDebug
- name: Upload APK
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: app
path: ${{ env.main_project_module }}/build/outputs/apk/debug/app-debug.apk
diff --git a/.github/workflows/codeberg.yml b/.github/workflows/codeberg.yml
new file mode 100644
index 0000000..4747e8f
--- /dev/null
+++ b/.github/workflows/codeberg.yml
@@ -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 }}
diff --git a/README.md b/README.md
index 1b8e7e1..7656d66 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
-# Vendroid
+# VendroidEnhanced
+
> [!CAUTION]
> 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;
> - ✅ 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.
| | |
@@ -24,6 +27,11 @@ However, if you currently want to use a mobile mod, you can use [Aliucord](https
## Download
+
+
+
+
+
[Here!](https://github.com/VendroidEnhanced/Vendroid/releases/latest/download/app-release.apk)
## Build
diff --git a/app/build.gradle b/app/build.gradle
index c4d5679..bf909e4 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -17,7 +17,7 @@ android {
buildTypes {
debug {
-
+ applicationIdSuffix ".debug"
}
release {
@@ -32,7 +32,7 @@ android {
dependencies {
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 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.activity:activity:1.9.0'
diff --git a/app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000..8b20aae
--- /dev/null
+++ b/app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 0000000..bfdb1ed
--- /dev/null
+++ b/app/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/debug/res/values/strings.xml b/app/src/debug/res/values/strings.xml
new file mode 100644
index 0000000..a65651d
--- /dev/null
+++ b/app/src/debug/res/values/strings.xml
@@ -0,0 +1,3 @@
+
+ Dev Vendroid
+
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
index 8b20aae..bfdb1ed 100644
--- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
+++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/app/src/main/res/raw/vencord_mobile.js b/app/src/main/res/raw/vencord_mobile.js
index 79c4e7d..49ba061 100644
--- a/app/src/main/res/raw/vencord_mobile.js
+++ b/app/src/main/res/raw/vencord_mobile.js
@@ -35,6 +35,7 @@
}
};
+
document.addEventListener("DOMContentLoaded", () => {
document.documentElement.appendChild(
Object.assign(document.createElement("link"), {
@@ -49,4 +50,5 @@
href: "https://github.com/VendroidEnhanced/plugin/releases/download/css/fixes.css"
}));
}, { once: true });
+
})();
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index f976cab..c91ee5a 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -1,6 +1,7 @@
#5865F2
+ #FFC800
#3F4CDA
#FFFFFF
#E0E0FF
diff --git a/build.gradle b/build.gradle
index 423061b..8e46cac 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' 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
}
\ No newline at end of file