Last active
September 19, 2024 16:23
-
-
Save stasadev/b7accac06b203a4cd44302589812404b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| diff --git a/.SRCINFO b/.SRCINFO | |
| index a75ea2a..f8581d5 100644 | |
| --- a/.SRCINFO | |
| +++ b/.SRCINFO | |
| @@ -11,8 +11,10 @@ pkgbase = universal-android-debloater-bin | |
| provides = universal-android-debloater | |
| conflicts = universal-android-debloater | |
| source = https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/releases/download/v1.1.0/uad-ng-noselfupdate-linux.tar.gz | |
| - source = uad_gui.desktop | |
| + source = uad-ng.desktop | |
| + source = https://raw.githubusercontent.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/main/resources/assets/logo-dark.png | |
| sha256sums = ba315387d251be0f969bd8a26b6cd7584eef4083a9e5b9e9761732ce28bda477 | |
| - sha256sums = e55f259fab5e09d6e91412dbfa74859f609615606422b0e3c937cc774eaedbf3 | |
| + sha256sums = 95a2d196427cb2428b0aa913b98925f64f11c5d6d12a1df1f7f02b9448352cc5 | |
| + sha256sums = 019c4df893dca5b54557c381881d7946b7a53ebf5b610cc04d61c2980c1a22ec | |
| pkgname = universal-android-debloater-bin | |
| diff --git a/.gitignore b/.gitignore | |
| index 7c30ce6..aeef3a3 100644 | |
| --- a/.gitignore | |
| +++ b/.gitignore | |
| @@ -4,6 +4,5 @@ | |
| # But not these files... | |
| !PKGBUILD | |
| !.SRCINFO | |
| -!uad_gui.desktop | |
| -!uad_gui-noselfupdate-linux.tar.gz.sig | |
| +!uad-ng.desktop | |
| !.gitignore | |
| diff --git a/PKGBUILD b/PKGBUILD | |
| index d69719d..8546958 100644 | |
| --- a/PKGBUILD | |
| +++ b/PKGBUILD | |
| @@ -10,9 +10,11 @@ depends=('android-tools' 'fontconfig' 'vulkan-icd-loader') | |
| provides=('universal-android-debloater') | |
| conflicts=('universal-android-debloater') | |
| source=("$url/releases/download/v$pkgver/uad-ng-noselfupdate-linux.tar.gz" | |
| - "uad_gui.desktop") | |
| + "uad-ng.desktop" | |
| + "$(echo "$url" | sed 's|https://github.com/|https://raw.githubusercontent.com/|')/main/resources/assets/logo-dark.png") | |
| sha256sums=('ba315387d251be0f969bd8a26b6cd7584eef4083a9e5b9e9761732ce28bda477' | |
| - 'f56cc6dd5fba16f1309dc6c0c67252fcbcefbddc15a11c11a4f80d361758ac06') | |
| + '95a2d196427cb2428b0aa913b98925f64f11c5d6d12a1df1f7f02b9448352cc5' | |
| + '019c4df893dca5b54557c381881d7946b7a53ebf5b610cc04d61c2980c1a22ec') | |
| prepare() { | |
| mv uad-ng-noselfupdate-linux uad-ng | |
| @@ -20,5 +22,6 @@ prepare() { | |
| package() { | |
| install -Dm755 uad-ng -t "$pkgdir/usr/bin" | |
| - install -Dm644 "$srcdir/uad_gui.desktop" -t "$pkgdir/usr/share/applications" | |
| -} | |
| \ No newline at end of file | |
| + install -Dm644 "$srcdir/logo-dark.png" "$pkgdir/usr/share/pixmaps/uad-ng.png" | |
| + install -Dm644 "$srcdir/uad-ng.desktop" -t "$pkgdir/usr/share/applications" | |
| +} | |
| diff --git a/uad_gui.desktop b/uad-ng.desktop | |
| similarity index 86% | |
| rename from uad_gui.desktop | |
| rename to uad-ng.desktop | |
| index 4929ac3..23007d1 100755 | |
| --- a/uad_gui.desktop | |
| +++ b/uad-ng.desktop | |
| @@ -1,8 +1,8 @@ | |
| [Desktop Entry] | |
| Type=Application | |
| -Icon=android-sdk | |
| +Icon=uad-ng | |
| Name=Universal Android Debloater | |
| -Exec=uad_gui | |
| +Exec=uad-ng | |
| Terminal=false | |
| Hidden=false | |
| Categories=Development; Utility |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment