Fixed bug for portwine_missing_shortcut

This commit is contained in:
2024-11-05 07:01:39 +05:00
parent 8f160515be
commit 16dc574121
2 changed files with 13 additions and 4 deletions

View File

@ -6030,9 +6030,12 @@ portwine_missing_shortcut () {
if [[ $? -eq "0" ]] ; then
portwine_delete_shortcut
fi
if [[ -n "$TAB_MAIN_MENU" ]]
then restart_pp
else exit 0
if [[ -n $AI_SKIP ]]
then
unset TAB_MAIN_MENU
restart_pp
else
exit 0
fi
}