Merge branch 'added-nouveau-zink' of github.com:Htylol/PortWINE into Htylol-added-nouveau-zink

This commit is contained in:
Mikhail Tergoev
2024-10-23 13:45:49 +03:00
4 changed files with 10 additions and 10 deletions

View File

@ -244,14 +244,11 @@ if [[ "${INSTALLING_PORT}" == 1 ]] ; then
fi
# choose gui start
case "$PW_GUI_START" in
PANED|NOTEBOOK) : ;;
*)
sed -i '/export PW_GUI_START=/d' "$USER_CONF"
echo 'export PW_GUI_START="NOTEBOOK"' >> "$USER_CONF"
export PW_GUI_START="NOTEBOOK"
;;
esac
if [[ ! $PW_GUI_START =~ (PANED|NOTEBOOK) ]] ; then
sed -i '/export PW_GUI_START=/d' "$USER_CONF"
echo 'export PW_GUI_START="NOTEBOOK"' >> "$USER_CONF"
export PW_GUI_START="NOTEBOOK"
fi
if check_flatpak ; then
if check_gamescope_session