Commit f5014780 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Scripts version 2280

parent 026e54e9
...@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: https://linux- ...@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: https://linux-
---------------------------------------- ----------------------------------------
Changelog: Changelog:
###Scripts version 2280### Date: 16.04.2024 / Download update size: 15 megabytes
* minor fixes for SteamDeck + flatpak
###Scripts version 2279### Date: 16.04.2024 / Download update size: 15 megabytes ###Scripts version 2279### Date: 16.04.2024 / Download update size: 15 megabytes
* improvements to the flatpak version of PortProton: * improvements to the flatpak version of PortProton:
- fixed running games on SteamDeck in gaming mode - fixed running games on SteamDeck in gaming mode
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
----------------------------------------- -----------------------------------------
История изменений: История изменений:
###Scripts version 2280### Дата: 16.04.2024 / Размер скачиваемого обновления: 15 мегабайт
* небольшие исправления для SteamDeck + flatpak
###Scripts version 2279### Дата: 16.04.2024 / Размер скачиваемого обновления: 15 мегабайт ###Scripts version 2279### Дата: 16.04.2024 / Размер скачиваемого обновления: 15 мегабайт
* улучшения flatpak версии PortProton: * улучшения flatpak версии PortProton:
- исправлен запуск игр на SteamDeck в игровом режиме - исправлен запуск игр на SteamDeck в игровом режиме
......
...@@ -266,7 +266,7 @@ check_flatpak () { ...@@ -266,7 +266,7 @@ check_flatpak () {
return 1 return 1
fi fi
} }
export -f check_flatpak
unpack_tar_zst () { unpack_tar_zst () {
set -o pipefail set -o pipefail
...@@ -525,10 +525,7 @@ pw_init_runtime () { ...@@ -525,10 +525,7 @@ pw_init_runtime () {
else export PATH="${PW_PLUGINS_PATH}/portable/bin" else export PATH="${PW_PLUGINS_PATH}/portable/bin"
fi fi
if check_flatpak ; then check_flatpak && export PW_USE_RUNTIME="0"
[[ "${update_loc}" == "RUS" ]] && export LC_ALL=ru_RU.UTF-8
export PW_USE_RUNTIME="0"
fi
if [[ "$PW_USE_RUNTIME" != "1" ]] \ if [[ "$PW_USE_RUNTIME" != "1" ]] \
|| [[ "$PW_WINE_USE" == "USE_SYSTEM_WINE" ]] || [[ "$PW_WINE_USE" == "USE_SYSTEM_WINE" ]]
...@@ -2997,8 +2994,9 @@ gui_MangoHud () { ...@@ -2997,8 +2994,9 @@ gui_MangoHud () {
} }
portwine_create_shortcut () { portwine_create_shortcut () {
pw_create_gui_png
pw_stop_progress_bar pw_stop_progress_bar
[[ ! -e ${portwine_exe} ]] && return 1
pw_create_gui_png
if [[ "$1" == "block_name" ]] ; then if [[ "$1" == "block_name" ]] ; then
export name_desktop="${PORTPROTON_NAME}" export name_desktop="${PORTPROTON_NAME}"
......
...@@ -28,6 +28,8 @@ else ...@@ -28,6 +28,8 @@ else
fi fi
if [[ "${update_loc}" == "RUS" ]] ; then if [[ "${update_loc}" == "RUS" ]] ; then
check_flatpak && export LC_LANG=ru_RU.UTF-8
export loc_gui_pw_reinstall_pp="Переустановить PortProton" export loc_gui_pw_reinstall_pp="Переустановить PortProton"
export loc_gui_rm_pp="Удалить PortProton" export loc_gui_rm_pp="Удалить PortProton"
export loc_gui_upd_pp="Проверить обновления" export loc_gui_upd_pp="Проверить обновления"
......
#!/usr/bin/env bash #!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru) #Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2279 #SCRIPTS_NEXT_VERSION=2280
######################################################################## ########################################################################
export PW_MANGOHUD="0" export PW_MANGOHUD="0"
export DEFAULT_MANGOHUD_CONFIG="arch,cpu_mhz,cpu_temp,engine_version,gamemode,gpu_core_clock,gpu_mem_clock,gpu_name,gpu_temp,ram,resolution,vkbasalt,vram,vulkan_driver,wine" export DEFAULT_MANGOHUD_CONFIG="arch,cpu_mhz,cpu_temp,engine_version,gamemode,gpu_core_clock,gpu_mem_clock,gpu_name,gpu_temp,ram,resolution,vkbasalt,vram,vulkan_driver,wine"
......
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