Commit 5b95d0c0 authored by Mikhail Tergoev's avatar Mikhail Tergoev

fix sed from creat_shortcut

parent 88d4f20a
......@@ -44,13 +44,27 @@ start_settings=`zenity --title "${ss_title}" --text "${ss_text}" --list --radio
if [ ! -z $hud_settings ]; then
for hud_set in $hud_settings
do
export dxvk_ogl_var="${hud_set}"
echo "${hud_set}" >> "${config_path}/dxvk_on_shortcut"
done
export dxvk_ogl_var=${dxvk_ogl_var} | sed -i "s/|/,/g"
sed -i "s/|/,/g" "${config_path}/dxvk_on_shortcut"
read "hud_set" < "${config_path}/dxvk_on_shortcut"
export dxvk_ogl_var="$hud_set"
else
dxvk_ogl_var="0"
fi ;;
esac
if [ ! -z $hud_settings ]; then
for hud_set in $hud_settings
do
echo "${hud_set}" >> "${config_path}/dxvk_on"
done
sed -i "s/|/,/g" "${config_path}/dxvk_on"
else
echo "0" > "${config_path}/dxvk_on"
fi ;;
########################################################################
cp -f "${PORTPROTON_IMG}" "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png"
name_desktop="${PORTPROTON_NAME}"
......
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