Commit a55ead10 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'steam-grid' of github.com:Boria138/PortWINE into Boria138-steam-grid

parents 96007f6f 51d35065
...@@ -79,7 +79,7 @@ change_locale () { ...@@ -79,7 +79,7 @@ change_locale () {
export LANGUAGE export LANGUAGE
case "$LANGUAGE" in case "$LANGUAGE" in
ru) ru)
check_start_from_steam && export LC_ALL=ru_RU.UTF-8 check_start_from_steam && export LC_ALL=ru_RU.UTF-8
export FULL_LN="russian" export FULL_LN="russian"
export LANGUAGE_GIF="ru" export LANGUAGE_GIF="ru"
...@@ -89,7 +89,7 @@ change_locale () { ...@@ -89,7 +89,7 @@ change_locale () {
export FULL_LN="spanish" export FULL_LN="spanish"
export LANGUAGE_GIF="en" export LANGUAGE_GIF="en"
;; ;;
*) *)
export FULL_LN="english" export FULL_LN="english"
export LANGUAGE_GIF="en" export LANGUAGE_GIF="en"
;; ;;
...@@ -3656,7 +3656,7 @@ A brief instruction: ...@@ -3656,7 +3656,7 @@ A brief instruction:
fi fi
export bool_from_yad=$(( ${bool_from_yad} + 1 )) export bool_from_yad=$(( ${bool_from_yad} + 1 ))
done done
PW_ADD_SETTINGS=$(head -n 1 "${PW_TMPFS_PATH}/tmp_output_yad_fps_limit") PW_ADD_SETTINGS=$(head -n 1 "${PW_TMPFS_PATH}/tmp_output_yad_fps_limit")
PW_WINDOWS_VER="$(echo ${PW_ADD_SETTINGS} | awk -F"%" '{print $1}')" PW_WINDOWS_VER="$(echo ${PW_ADD_SETTINGS} | awk -F"%" '{print $1}')"
...@@ -4545,7 +4545,9 @@ portwine_create_shortcut () { ...@@ -4545,7 +4545,9 @@ portwine_create_shortcut () {
export SCVDF="shortcuts.vdf" export SCVDF="shortcuts.vdf"
for STUIDPATH in "${HOME}"/.local/share/Steam/userdata/*/ ; do for STUIDPATH in "${HOME}"/.local/share/Steam/userdata/*/ ; do
create_new_dir "${STUIDPATH}/config/" create_new_dir "${STUIDPATH}/config/"
create_new_dir "${STUIDPATH}/config/grid"
export SCPATH="${STUIDPATH}/config/$SCVDF" export SCPATH="${STUIDPATH}/config/$SCVDF"
export SGGRIDDIR="${STUIDPATH}/config/grid"
"${PORT_SCRIPTS_PATH}/add_in_steam.sh" "${PORT_SCRIPTS_PATH}/add_in_steam.sh"
done done
if [[ "${PW_SKIP_RESTART_STEAM}" != 1 ]] && pgrep -i steam &>/dev/null ; then if [[ "${PW_SKIP_RESTART_STEAM}" != 1 ]] && pgrep -i steam &>/dev/null ; then
...@@ -4569,7 +4571,7 @@ portwine_create_shortcut () { ...@@ -4569,7 +4571,7 @@ portwine_create_shortcut () {
export SKIP_CHECK_UPDATES=1 export SKIP_CHECK_UPDATES=1
/usr/bin/env bash -c ${pw_full_command_line[*]} & /usr/bin/env bash -c ${pw_full_command_line[*]} &
exit 0 exit 0
fi fi
fi fi
} }
......
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