updated push script

This commit is contained in:
2026-05-30 10:04:04 +02:00
parent ea782edb61
commit ea01e5386b

View File

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