diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index e2bfe2a3..bcbfc435 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -4274,7 +4274,8 @@ fi done else if check_flatpak ; then - GAMESCOPE_NEED_INSTALL="$(gettext "Gamescope is not detected on the system, to install it, run the command in the terminal:\n flatpak install org.freedesktop.Platform.VulkanLayer.gamescope (install the latest version)")" + GAMESCOPE_NEED_INSTALL="$(gettext "Gamescope is not detected on the system, to install it, run the command in the terminal:\n flatpak install -y runtime/org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08\n (Can be selected and copied)")" + YAD_TEXT_SELECTION="--selectable-labels" else GAMESCOPE_NEED_INSTALL="$(gettext "Gamescope is not detected on the system, please contact the manufacturer of your distribution\n or search the Internet for information on how to install gamescope on your system.")" fi @@ -4305,7 +4306,7 @@ fi old_IFS=$IFS IFS="%" "${pw_yad}" --plug=$KEY_GS_GUI --tabnum="1" --form --columns=3 --separator=" " --text-align=center --text "$GAMESCOPE_NEED_INSTALL" \ - --gui-type-text=${GAMESCOPE_GUI_TYPE_TEXT_UP} --gui-type-layout=${GAMESCOPE_GUI_TYPE_LAYOUT_UP} \ + --gui-type-text=${GAMESCOPE_GUI_TYPE_TEXT_UP} --gui-type-layout=${GAMESCOPE_GUI_TYPE_LAYOUT_UP} $YAD_TEXT_SELECTION \ ${ADD_CHK_BOX_GS} \ 1> "${PW_TMPFS_PATH}/tmp_yad_gs_set" 2>/dev/null & IFS=$old_IFS