forked from CastroFidel/PortWINE
		
	fix sed from creat_shortcut
This commit is contained in:
		| @@ -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}"  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user