summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreveryx2022-01-05 22:45:14 +0800
committereveryx2022-01-05 22:45:14 +0800
commit9414cfd4a2413c74ce51029f1ce58f300b7f7b7b (patch)
treee12a80241727f2ea049a3eaaefe60eef265c1314
parentd273b422b3b8732344e06fc50598fe11da16083c (diff)
downloadaur-9414cfd4a2413c74ce51029f1ce58f300b7f7b7b.tar.gz
fix: icon should have a transparent background
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 19e8bd76ce10..19834c712707 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wepush
pkgdesc = 专注批量推送的小而美的工具
pkgver = 4.4.0
- pkgrel = 1
+ pkgrel = 2
url = https://rememberber.github.io/WePush/
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index deb23f22ab72..1cc26685258e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=wepush
pkgdesc="专注批量推送的小而美的工具"
pkgver=4.4.0
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'i686')
url="https://rememberber.github.io/WePush/"
license=('MIT')
@@ -69,6 +69,6 @@ package() {
_iconpath="${srcdir}/${_appname}-${pkgver}/src/main/resources/icon/logo-1024.png"
for _size in "192x192" "128x128" "96x96" "64x64" "48x48" "32x32" "24x24" "22x22" "20x20" "16x16" "8x8"; do
install -dm755 "${pkgdir}/usr/share/icons/hicolor/${_size}/apps"
- convert "${_iconpath}" -resize "${_size}" -flatten "${pkgdir}/usr/share/icons/hicolor/${_size}/apps/${pkgname}.png"
+ convert "${_iconpath}" -resize "${_size}" "${pkgdir}/usr/share/icons/hicolor/${_size}/apps/${pkgname}.png"
done
} \ No newline at end of file