Commit 1aca1ec0 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'fix-for-portwine_missing_shortcut' of github.com:Htylol/PortWINE…

Merge branch 'fix-for-portwine_missing_shortcut' of github.com:Htylol/PortWINE into Htylol-fix-for-portwine_missing_shortcut
parents 3be8645b 16dc5741
......@@ -6136,9 +6136,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
}
......
......@@ -709,7 +709,13 @@ else
PW_GENERATE_BUTTONS+="--field= $(print_wrapped "${PW_DESKTOP_FILES_SHOW//".desktop"/""}" "25" "...")!${PW_NAME_D_ICON_48}.png!:FBTNR%@bash -c \"button_click --desktop "${PW_DESKTOP_FILES// /#@_@#}"\"%"
done
MAIN_GUI_ROWS="$(( ( AMOUNT_GENERATE_BUTTONS + 1 ) / MAIN_GUI_COLUMNS + 1 ))"
if [[ $AMOUNT_GENERATE_BUTTONS == 1 ]] ; then
MAIN_GUI_ROWS=1
elif (( AMOUNT_GENERATE_BUTTONS <= 5 )) ; then
MAIN_GUI_ROWS=2
else
MAIN_GUI_ROWS="$(( ( AMOUNT_GENERATE_BUTTONS + 1 ) / MAIN_GUI_COLUMNS + 1 ))"
fi
if [[ -z $PW_DESKTOP_FILES ]]
then export PW_GUI_SORT_TABS=(1 2 3 4 5)
......
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