Scripts version 2233

This commit is contained in:
Mikhail Tergoev
2023-11-26 14:27:27 +03:00
parent 97f9b10c67
commit b4fec2bcba
5 changed files with 11 additions and 5 deletions

View File

@ -548,6 +548,8 @@ portwine_create_shortcut () {
fi
if [[ "${PW_FOUND_VDF}" == "TRUE" ]] && [[ "${create_menu_steam_shortcut}" == "TRUE" ]] ; then
export STEAM_SCRIPTS="${PORT_WINE_PATH}/steam_scripts"
create_new_dir "${STEAM_SCRIPTS}"
echo "#!/usr/bin/env bash" > "${STEAM_SCRIPTS}/${name_desktop}.sh"
echo "export START_FROM_STEAM=1" >> "${STEAM_SCRIPTS}/${name_desktop}.sh"
echo "export LD_PRELOAD=" >> "${STEAM_SCRIPTS}/${name_desktop}.sh"