updated push script

This commit is contained in:
2026-05-30 10:02:16 +02:00
parent 8427d6295f
commit 48396f9cda

View File

@@ -55,8 +55,8 @@ if printf '%s' "${_archive,,}" | grep -qi "appimage"; then
"./${_archive}" --appimage-extract >/dev/null "./${_archive}" --appimage-extract >/dev/null
cp "squashfs-root/${desktop}" "${newdesktop}" cp "squashfs-root/${desktop}" "${newdesktop}"
cp "squashfs-root/${icon}" "${newicon}" cp "squashfs-root/${icon}" "${newicon}"
sed -i '/^X-AppImage-/d;/^$/d' "${newdesktop}" sed -i "/^X-AppImage-/d;/^$/d" "${newdesktop}"
sed -i 's/^Exec=.*/Exec=${_pkgname} %U/' "${newdesktop}" sed -i "s/^Exec=.*/Exec=${_pkgname} %U/" "${newdesktop}"
rm -rf $(readlink -f squashfs-root) squashfs-root rm -rf $(readlink -f squashfs-root) squashfs-root
fi fi
# Calculate checksums # Calculate checksums