From 2f6a70765c62fd0a4267fa7b5fdad732bc71f4a3 Mon Sep 17 00:00:00 2001 From: fuseteam Date: Thu, 31 Mar 2022 03:02:13 -0300 Subject: [PATCH] call the wrapper correctly --- lib/clickfunc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/clickfunc b/lib/clickfunc index 3046fc4..99035b9 100644 --- a/lib/clickfunc +++ b/lib/clickfunc @@ -47,7 +47,8 @@ function prep_build () { function fetch_desktop() { ${SCRP_DIR}/desktop_trunc ${BUILD_DIR}/usr/share/applications/${PKG}.desktop > ${INSTALL_DIR}/${PKG}.desktop sed -i "/Icon=/d" ${INSTALL_DIR}/${PKG}.desktop - sed -i "s/${PKG}/${PKG}.sh/g" ${INSTALL_DIR}/${PKG}.desktop + sed -i "/Exec=/d" ${INSTALL_DIR}/${PKG}.desktop + sed -i "/^Terminal=/i Exec=${PKG}.sh" ${INSTALL_DIR}/${PKG}.desktop echo "X-Ubuntu-Touch=true" >> ${INSTALL_DIR}/${PKG}.desktop # if mirx flag echo "X-Ubuntu-XMir-Enable=true" >> ${INSTALL_DIR}/${PKG}.desktop