From bb82628be74c3559a51f90d0a799029c413402c7 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Fri, 9 Aug 2024 15:05:57 +0300 Subject: [PATCH] Scripts version 2337 --- data_from_portwine/changelog_en | 6 ++++++ data_from_portwine/changelog_ru | 3 ++- data_from_portwine/scripts/functions_helper | 5 ++++- data_from_portwine/scripts/setup.sh | 2 +- data_from_portwine/scripts/var | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/data_from_portwine/changelog_en b/data_from_portwine/changelog_en index a979153..21281e6 100755 --- a/data_from_portwine/changelog_en +++ b/data_from_portwine/changelog_en @@ -2,6 +2,12 @@ You can help us in the development of the project on the website: https://linux- ---------------------------------------- Changelog: +###Scripts version 2337### / stable /Date: 09.08.2024 / Download update size: 4 megabytes +* fixed GUI alignment on SteamDeck (thanks to Htylol) +* added .bat file association (thanks to Boria138) +* added settings file for Vortex Mod Manager (thanks Eljeyna) +* fixed creation of an extra shortcut for LGC and WGC launchers + ###Scripts version 2336### / stable /Date: 08.08.2024 / Download update size: 4 megabytes * improved verification of downloaded files diff --git a/data_from_portwine/changelog_ru b/data_from_portwine/changelog_ru index 63e4bde..7023313 100755 --- a/data_from_portwine/changelog_ru +++ b/data_from_portwine/changelog_ru @@ -5,7 +5,8 @@ ###Scripts version 2337### / stable / Дата: 09.08.2024 / Размер скачиваемого обновления: 4 мегабайта * исправлена центровка GUI на SteamDeck (спасибо Htylol) * добавлена ассоциация .bat файлов (спасибо Boria138) -* добавлены файл настроек для Vortex Mod Manager (спасибо Eljeyna): +* добавлен файл настроек для Vortex Mod Manager (спасибо Eljeyna) +* исправлено создание лишнего ярлыка для лончеров LGC и WGC ###Scripts version 2336### / stable / Дата: 08.08.2024 / Размер скачиваемого обновления: 4 мегабайта * улучшение работы верификации скачанных файлов diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 9221ac7..3a2ed19 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -4789,7 +4789,10 @@ portwine_create_shortcut () { } pw_auto_create_shortcut () { - [[ "${PW_CHECK_AUTOINSTALL}" == 1 ]] && return 0 + if [[ "${PW_CHECK_AUTOINSTALL}" == 1 ]] \ + || echo "${portwine_exe}" | grep "gc_api.exe" &>/dev/null # skip lgc and wgc api + then return 0 + fi unset LINKS for link_file in "${PORT_WINE_PATH}"/data/prefixes/*/drive_c/users/*/Desktop/*.lnk diff --git a/data_from_portwine/scripts/setup.sh b/data_from_portwine/scripts/setup.sh index a9fa8d1..fd5d316 100755 --- a/data_from_portwine/scripts/setup.sh +++ b/data_from_portwine/scripts/setup.sh @@ -39,7 +39,7 @@ fi if ! check_flatpak ; then update-desktop-database -q "${HOME}/.local/share/applications" - xdg-mime default PortProton.desktop "application/x-ms-dos-executable;application/x-wine-extension-msp;application/x-msi;application/x-msdos-program" + xdg-mime default PortProton.desktop "application/x-ms-dos-executable;application/x-wine-extension-msp;application/x-msi;application/x-msdos-program;text/win-bat;" fi if [[ -f /usr/bin/portproton ]] \ diff --git a/data_from_portwine/scripts/var b/data_from_portwine/scripts/var index 4442aa4..ba752f0 100755 --- a/data_from_portwine/scripts/var +++ b/data_from_portwine/scripts/var @@ -1,6 +1,6 @@ #!/usr/bin/env bash #Author: Castro-Fidel (linux-gaming.ru) -#SCRIPTS_NEXT_VERSION=2336 +#SCRIPTS_NEXT_VERSION=2337 #SCRIPTS_STABLE_VERSION=2336 ######################################################################## export LANGUAGES_LIST="ru es"