remove unnecessary name & icon replacement in .desktop

This commit is contained in:
Quokka 2025-07-28 17:01:32 +02:00
parent 0c15a71c0c
commit f2bdcd9865
No known key found for this signature in database
GPG key ID: 6A6D8BF438196519

View file

@ -30,8 +30,6 @@ prepare() {
build() {
sed -i -E "s|Exec=AppRun|Exec=${_pkgname}|" "squashfs-root/${_pkgname}.desktop"
sed -i -E "s|Name=.*$|Name=${_pkgname^}|" "squashfs-root/${_pkgname}.desktop"
sed -i -E "s|^Icon=.*$|Icon=${_pkgname}|" "squashfs-root/${_pkgname}.desktop"
# Fix permissions; .AppImage permissions are 700 for all directories
chmod -R a-x+rX "${srcdir}/squashfs-root/usr"