Rewrite add_in_steam.sh to get appid for grid

parent 445fd7a5
......@@ -79,7 +79,7 @@ change_locale () {
export LANGUAGE
case "$LANGUAGE" in
ru)
ru)
check_start_from_steam && export LC_ALL=ru_RU.UTF-8
export FULL_LN="russian"
export LANGUAGE_GIF="ru"
......@@ -89,7 +89,7 @@ change_locale () {
export FULL_LN="spanish"
export LANGUAGE_GIF="en"
;;
*)
*)
export FULL_LN="english"
export LANGUAGE_GIF="en"
;;
......@@ -3620,7 +3620,7 @@ A brief instruction:
fi
export bool_from_yad=$(( ${bool_from_yad} + 1 ))
done
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}')"
......@@ -4509,7 +4509,9 @@ portwine_create_shortcut () {
export SCVDF="shortcuts.vdf"
for STUIDPATH in "${HOME}"/.local/share/Steam/userdata/*/ ; do
create_new_dir "${STUIDPATH}/config/"
create_new_dir "${STUIDPATH}/config/grid"
export SCPATH="${STUIDPATH}/config/$SCVDF"
export SGGRIDDIR="${STUIDPATH}/config/grid"
"${PORT_SCRIPTS_PATH}/add_in_steam.sh"
done
if [[ "${PW_SKIP_RESTART_STEAM}" != 1 ]] && pgrep -i steam &>/dev/null ; then
......@@ -4533,7 +4535,7 @@ portwine_create_shortcut () {
export SKIP_CHECK_UPDATES=1
/usr/bin/env bash -c ${pw_full_command_line[*]} &
exit 0
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