forked from CastroFidel/PortWINE
Merge branch 'Htylol-selection-text-for-gs-flatpak'
This commit is contained in:
commit
28da36d024
@ -4274,7 +4274,8 @@ fi
|
|||||||
done
|
done
|
||||||
else
|
else
|
||||||
if check_flatpak ; then
|
if check_flatpak ; then
|
||||||
GAMESCOPE_NEED_INSTALL="$(gettext "<b>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)</b>")"
|
GAMESCOPE_NEED_INSTALL="$(gettext "<b>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)</b>")"
|
||||||
|
YAD_TEXT_SELECTION="--selectable-labels"
|
||||||
else
|
else
|
||||||
GAMESCOPE_NEED_INSTALL="$(gettext "<b>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.</b>")"
|
GAMESCOPE_NEED_INSTALL="$(gettext "<b>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.</b>")"
|
||||||
fi
|
fi
|
||||||
@ -4305,7 +4306,7 @@ fi
|
|||||||
old_IFS=$IFS
|
old_IFS=$IFS
|
||||||
IFS="%"
|
IFS="%"
|
||||||
"${pw_yad}" --plug=$KEY_GS_GUI --tabnum="1" --form --columns=3 --separator=" " --text-align=center --text "$GAMESCOPE_NEED_INSTALL" \
|
"${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} \
|
${ADD_CHK_BOX_GS} \
|
||||||
1> "${PW_TMPFS_PATH}/tmp_yad_gs_set" 2>/dev/null &
|
1> "${PW_TMPFS_PATH}/tmp_yad_gs_set" 2>/dev/null &
|
||||||
IFS=$old_IFS
|
IFS=$old_IFS
|
||||||
|
Loading…
Reference in New Issue
Block a user