diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 255e8866..7d898fbb 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -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"