From 7f4b3e5aa0853a6e60eae43275e0c703d0790264 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Fri, 9 Jan 2026 16:12:33 +0300 Subject: [PATCH] disabled create shortcut for unins*.exe files --- data_from_portwine/scripts/functions_helper | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"