disabled create shortcut for unins*.exe files

This commit is contained in:
Mikhail Tergoev
2026-01-09 16:12:33 +03:00
parent 9356649ce0
commit 7f4b3e5aa0

View File

@@ -6880,7 +6880,11 @@ portwine_create_shortcut () {
export GDK_BACKEND="x11"
pw_stop_progress_bar
pw_exit_tray
[[ ! -e ${portwine_exe} ]] && return 1
if [[ ! -e $portwine_exe ]]
then return 1
elif [[ $portwine_exe =~ (unins0|uninstall|remove) ]]
then return 0
fi
pw_create_gui_png
check_variables PW_SHORTCUT_MENU "TRUE"