From cb92f260e4b17932ee55afe48a94ef155a1adeba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=D1=91pa=20Dolgorukov?= <63650851+stepan-dolgorukov@users.noreply.github.com> Date: Thu, 20 Mar 2025 19:02:39 +0500 Subject: [PATCH] one more fix for launching Zano in Ubuntu: Edit AppImage wrapper (#512) --- utils/Zano_appimage_wrapper.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/Zano_appimage_wrapper.sh b/utils/Zano_appimage_wrapper.sh index 48b34d08..5d3db32c 100755 --- a/utils/Zano_appimage_wrapper.sh +++ b/utils/Zano_appimage_wrapper.sh @@ -33,7 +33,8 @@ create_desktop_icon() echo GenericName=Zano | tee -a $target_file_name > /dev/null echo Comment=Privacy blockchain | tee -a $target_file_name > /dev/null echo Icon=${out_dir}/Zano.png | tee -a $target_file_name > /dev/null - echo Exec=$APPIMAGE --deeplink-params=\\\\\"%u\\\\\" | tee -a $target_file_name > /dev/null + echo TryExec="${APPIMAGE}" | tee -a "${target_file_name}" >/dev/null + echo Exec=$APPIMAGE --deeplink-params=\\\\\\\"%u\\\\\\\" | tee -a $target_file_name > /dev/null echo Terminal=false | tee -a $target_file_name > /dev/null echo Type=Application | tee -a $target_file_name > /dev/null echo "Categories=Qt;Utility;" | tee -a $target_file_name > /dev/null @@ -45,5 +46,6 @@ create_desktop_icon() create_desktop_icon $out_file_name xdg-mime default Zano.desktop x-scheme-handler/zano +xdg-desktop-menu install --novendor "${out_file_name}" call_app "$@"