sed -i "s|$FILE_SHA256SUM\(.*\)|$FILE_SHA256SUM\1 L5-$LAST_LAUNCH|""$PORT_WINE_TMP_PATH/statistics"
else
sed -i "s|$FILE_SHA256SUM\(.*\)${line2[5]}|$FILE_SHA256SUM\1 L5-$LAST_LAUNCH|""$PORT_WINE_TMP_PATH/statistics"
fi
fi
fi
...
...
@@ -6032,12 +6027,12 @@ gui_userconf () {
DESKTOP_WITH_TIME="disabled"
fi
if [[ -n "$SORT_WITH_TIME" ]] \
&& [[ "$SORT_WITH_TIME" == "disabled" ]]
then
SORT_WITH_TIME="disabled"
if [[ $SORT_WITH_TIME == "lastlaunch" ]] ; then
SORT_WITH_TIME=${translations[According to last launch]}
elif [[ $SORT_WITH_TIME == "bytime" ]] ; then
SORT_WITH_TIME=${translations[By time]}
else
SORT_WITH_TIME="enabled"
SORT_WITH_TIME="disabled"
fi
if [[ $PW_WINE_DPI_VALUE == "recommended" ]] ; then
...
...
@@ -6074,7 +6069,7 @@ gui_userconf () {
--field="${translations[Select PortProton theme]}!${translations[Allows you to select a theme for PortProton]} :CB" "$(combobox_fix "$GUI_THEME" "${translations[default]}!${translations[compact]}!${translations[classic]}")" \
--field="${translations[Select gtk theme]}!${translations[Allows you to select a theme for GTK.]} :CB" "$(combobox_fix "$GTK_THEME" "${YAD_GTK_THEME}Adwaita:${translations[light]}!Adwaita:${translations[dark]}!${translations[default]}")" \
--field="${translations[Time display]}!${translations[Displays time spent in an application or game]} :CB" "$(combobox_fix --disabled "$DESKTOP_WITH_TIME" "${translations[Show in hours and minutes]}!${translations[Show in days, hours, minutes]}")" \
--field="${translations[Sort shortcuts by time]}!${translations[This setting sorts the shortcuts in the main menu depending on the time spent in the application or game]} :CB" "$(combobox_fix --disabled "$SORT_WITH_TIME" "enabled")" \
--field="${translations[Sort shortcuts by]}!${translations[This setting sorts the shortcuts in the main menu]} :CB" "$(combobox_fix --disabled "$SORT_WITH_TIME" "${translations[According to last launch]}!${translations[By time]}")" \