Commit 7f4b3e5a authored by Mikhail Tergoev's avatar Mikhail Tergoev

disabled create shortcut for unins*.exe files

parent 9356649c
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment