Commit ba3146aa authored by Mikhail Tergoev's avatar Mikhail Tergoev

Scripts version 2310

parent 5a0a0091
......@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2310### Date: 23.06.2024 / Download update size: 4 megabytes
* HOTFIX - create shortcut for .exe files
###Scripts version 2309### Date: 23.06.2024 / Download update size: 205 megabytes
* updated PROTON_LG to version "9-7"
* added the ability to run .exe files from the terminal with relative paths (thanks to Boria138)
......
......@@ -2,6 +2,9 @@
-----------------------------------------
История изменений:
###Scripts version 2310### Дата: 23.06.2024 / Размер скачиваемого обновления: 4 мегабайта
* HOTFIX - создание ярлыка для .exe файлов
###Scripts version 2309### Дата: 23.06.2024 / Размер скачиваемого обновления: 205 мегабайта
* обновлен PROTON_LG до версии "9-7"
* добавлена возможность запуска .exe файлов из терминала с относительными путями (спасибо Boria138)
......
......@@ -1786,10 +1786,11 @@ start_portwine () {
sed -i /'dxgi.customVendorId =/c dxgi.customVendorId = 10de' "${DXVK_CONFIG_FILE}"
sed -i /'dxgi.hideAmdGpu =/c dxgi.hideAmdGpu = True' "${DXVK_CONFIG_FILE}"
sed -i /'dxgi.hideNvidiaGpu =/c dxgi.hideNvidiaGpu = False' "${DXVK_CONFIG_FILE}"
export WINE_HIDE_NVIDIA_GPU=0
export WINE_HIDE_AMD_GPU=1
export DXVK_NVAPI_DRIVER_VERSION=53713
export DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1
export WINE_HIDE_NVIDIA_GPU="0"
export WINE_HIDE_AMD_GPU="1"
export DXVK_NVAPI_DRIVER_VERSION="53713"
export DXVK_NVAPI_ALLOW_OTHER_DRIVERS="1"
export WINEHAGS="1"
elif [[ "${1}" == 0 ]] ; then
sed -i /'dxgi.customDeviceDesc =/c # dxgi.customDeviceDesc =' "${DXVK_CONFIG_FILE}"
sed -i /'dxgi.customDeviceId =/c # dxgi.customDeviceId =' "${DXVK_CONFIG_FILE}"
......@@ -3912,13 +3913,13 @@ portwine_create_shortcut () {
if [[ "$PW_YAD_OUT" == "0" ]] ; then
if [[ "$1" == "block_name" ]]
then name_desktop="$PORTWINE_CREATE_SHORTCUT_NAME"
else name_desktop=$(echo "$OUTPUT" | awk -F'|' '{print $2}')
else name_desktop=$(echo "$OUTPUT" | awk -F'|' '{print $1}')
fi
name_desktop="$(echo "${name_desktop}" | sed "s/\`//g" | sed "s/\"//g" | sed "s/'//g")"
name_desktop_png="${name_desktop// /_}"
create_menu_desktop_shortcut=$(echo "$OUTPUT" | awk -F'|' '{print $3}')
create_desktop_desktop_shortcut=$(echo "$OUTPUT" | awk -F'|' '{print $4}')
create_menu_steam_shortcut=$(echo "$OUTPUT" | awk -F'|' '{print $5}')
create_menu_desktop_shortcut=$(echo "$OUTPUT" | awk -F'|' '{print $2}')
create_desktop_desktop_shortcut=$(echo "$OUTPUT" | awk -F'|' '{print $3}')
create_menu_steam_shortcut=$(echo "$OUTPUT" | awk -F'|' '{print $4}')
try_remove_file "${PORT_WINE_PATH}/${name_desktop}.desktop"
......
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2309
#SCRIPTS_NEXT_VERSION=2310
########################################################################
export LANGUAGES_LIST="ru es"
export PW_MANGOHUD="0"
......
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