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 "$@"