Commit eb6fbf6a authored by Mikhail Tergoev's avatar Mikhail Tergoev

Scripts version 2307

parent b0303d87
...@@ -2,6 +2,11 @@ You can help us in the development of the project on the website: https://linux- ...@@ -2,6 +2,11 @@ You can help us in the development of the project on the website: https://linux-
---------------------------------------- ----------------------------------------
Changelog: Changelog:
###Scripts version 2307### Date: 18.06.2024 / Download update size: 4 megabytes
* fixed auto-installation of Battle NET
* refactoring scripts to optimize the interface (thanks Htylol)
* replacing copying libraries into a prefix with creating symbolic links
###Scripts version 2306### Date: 14.06.2024 / Download update size: 4 megabytes ###Scripts version 2306### Date: 14.06.2024 / Download update size: 4 megabytes
* the yad version has been updated to improve the interface settings (thanks Htylol) * the yad version has been updated to improve the interface settings (thanks Htylol)
* the language selection interface has been updated (thanks to Boria138) * the language selection interface has been updated (thanks to Boria138)
......
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
----------------------------------------- -----------------------------------------
История изменений: История изменений:
###Scripts version 2307### Дата: 18.06.2024 / Размер скачиваемого обновления: 4 мегабайта
* исправлена автоустановка BattleNET
* рефакторинг скриптов для отпимизации работы интерфейса (спасибо Htylol)
* замена копирования библиотек в префикс на создание символьных ссылок
###Scripts version 2306### Дата: 14.06.2024 / Размер скачиваемого обновления: 4 мегабайта ###Scripts version 2306### Дата: 14.06.2024 / Размер скачиваемого обновления: 4 мегабайта
* обновлена версия yad - для улучшения настройки интерфейса (спасибо Htylol) * обновлена версия yad - для улучшения настройки интерфейса (спасибо Htylol)
* обновлен интерфейс выбора языка (спасибо Boria138) * обновлен интерфейс выбора языка (спасибо Boria138)
......
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru) # Author: Castro-Fidel (linux-gaming.ru)
######################################################################## ########################################################################
[[ "$LANGUAGE" == "ru" ]] && export BN_LOC=ruRU || export BN_LOC=enUS export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Battle.net-Setup.exe"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Battle.net-Setup-${BN_LOC}.exe"
export PW_WINE_USE="WINE_LG" export PW_WINE_USE="WINE_LG"
export PW_VULKAN_USE="1"
export LAUNCH_PARAMETERS=""
export WINEDLLOVERRIDES="locationapi="
export PW_WINE_FULLSCREEN_FSR="0"
export PW_USE_EAC_AND_BE="0"
start_portwine start_portwine
if try_download "https://battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP" "${PW_AUTOINSTALL_EXE}" no_mirror if try_download "https://battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP" "${PW_AUTOINSTALL_EXE}" no_mirror
......
...@@ -76,7 +76,7 @@ unset CHK_SYMLINK_FILE PW_MESA_GL_VERSION_OVERRIDE PW_VKD3D_FEATURE_LEVEL PATH_T ...@@ -76,7 +76,7 @@ unset CHK_SYMLINK_FILE PW_MESA_GL_VERSION_OVERRIDE PW_VKD3D_FEATURE_LEVEL PATH_T
unset PW_PREFIX_NAME WINEPREFIX VULKAN_MOD PW_WINE_VER PW_ADD_TO_ARGS_IN_RUNTIME PW_GAMEMODERUN_SLR AMD_VULKAN_ICD PW_WINE_CPU_TOPOLOGY unset PW_PREFIX_NAME WINEPREFIX VULKAN_MOD PW_WINE_VER PW_ADD_TO_ARGS_IN_RUNTIME PW_GAMEMODERUN_SLR AMD_VULKAN_ICD PW_WINE_CPU_TOPOLOGY
unset PW_NAME_D_NAME PW_NAME_D_ICON PW_NAME_D_EXEC PW_EXEC_FROM_DESKTOP PW_ALL_DF PW_GENERATE_BUTTONS PW_NAME_D_ICON PW_NAME_D_ICON_48 unset PW_NAME_D_NAME PW_NAME_D_ICON PW_NAME_D_EXEC PW_EXEC_FROM_DESKTOP PW_ALL_DF PW_GENERATE_BUTTONS PW_NAME_D_ICON PW_NAME_D_ICON_48
unset MANGOHUD_CONFIG FPS_LIMIT PW_WINE_USE WINEDLLPATH WINE WINEDIR WINELOADER WINESERVER PW_USE_RUNTIME PORTWINE_CREATE_SHORTCUT_NAME MIRROR unset MANGOHUD_CONFIG FPS_LIMIT PW_WINE_USE WINEDLLPATH WINE WINEDIR WINELOADER WINESERVER PW_USE_RUNTIME PORTWINE_CREATE_SHORTCUT_NAME MIRROR
unset PW_LOCALE_SELECT PW_SETTINGS_INDICATION PW_GUI_START unset PW_LOCALE_SELECT PW_SETTINGS_INDICATION PW_GUI_START PW_AUTOINSTALL_EXE
export PORT_WINE_TMP_PATH="${PORT_WINE_PATH}/data/tmp" export PORT_WINE_TMP_PATH="${PORT_WINE_PATH}/data/tmp"
rm -f "$PORT_WINE_TMP_PATH"/*{exe,msi,tar}* rm -f "$PORT_WINE_TMP_PATH"/*{exe,msi,tar}*
...@@ -487,7 +487,7 @@ if [[ -f "${portwine_exe}" ]] ; then ...@@ -487,7 +487,7 @@ if [[ -f "${portwine_exe}" ]] ; then
PW_YAD_SET="$?" PW_YAD_SET="$?"
if [[ "$PW_YAD_SET" == "1" || "$PW_YAD_SET" == "252" ]] ; then exit 0 ; fi if [[ "$PW_YAD_SET" == "1" || "$PW_YAD_SET" == "252" ]] ; then exit 0 ; fi
if [[ $(<"${PORT_WINE_TMP_PATH}//tmp_yad_form") != "" ]]; then if [[ $(<"${PORT_WINE_TMP_PATH}/tmp_yad_form") != "" ]]; then
PW_YAD_SET=$(head -n 1 "${PORT_WINE_TMP_PATH}/tmp_yad_form" | awk '{print $1}') PW_YAD_SET=$(head -n 1 "${PORT_WINE_TMP_PATH}/tmp_yad_form" | awk '{print $1}')
export PW_YAD_SET export PW_YAD_SET
export PW_YAD_FORM_TAB="1" export PW_YAD_FORM_TAB="1"
......
#!/usr/bin/env bash #!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru) #Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2306 #SCRIPTS_NEXT_VERSION=2307
######################################################################## ########################################################################
export LANGUAGES_LIST="ru es" export LANGUAGES_LIST="ru es"
export PW_MANGOHUD="0" export PW_MANGOHUD="0"
......
...@@ -6,7 +6,7 @@ box>grid>switch>slider {min-height: 0px; min-width: 22px} ...@@ -6,7 +6,7 @@ box>grid>switch>slider {min-height: 0px; min-width: 22px}
scale>contents>trough>slider {min-height: 24px; min-width: 24px} scale>contents>trough>slider {min-height: 24px; min-width: 24px}
box>box>grid>label {margin: 0px 10px 0px 0px} box>box>grid>label {margin: 0px 10px 0px 0px}
separator {margin: 0px 0px 0px 0px; background-size:0px} separator {margin: 0px 0px 0px 0px; background-size:0px}
window>box>box>image {margin: -10px 5px 0px 5px} /*иконка запуска ярлыка*/ window>box>box>image {margin: -30px 5px 0px 5px} /*иконка запуска ярлыка*/
window>box>label {margin:5px 0px 10px 0px} /*текст запуска ярлыка*/ window>box>label {margin:5px 0px 10px 0px} /*текст запуска ярлыка*/
check {min-height: 24px; min-width: 24px} check {min-height: 24px; min-width: 24px}
box>grid>entry {margin: 0px 10px 0px 0px} box>grid>entry {margin: 0px 10px 0px 0px}
......
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