Commit bb82628b authored by Mikhail Tergoev's avatar Mikhail Tergoev

Scripts version 2337

parent 88bc9f9a
...@@ -2,6 +2,12 @@ You can help us in the development of the project on the website: https://linux- ...@@ -2,6 +2,12 @@ You can help us in the development of the project on the website: https://linux-
---------------------------------------- ----------------------------------------
Changelog: 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 ###Scripts version 2336### / stable /Date: 08.08.2024 / Download update size: 4 megabytes
* improved verification of downloaded files * improved verification of downloaded files
......
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
###Scripts version 2337### / stable / Дата: 09.08.2024 / Размер скачиваемого обновления: 4 мегабайта ###Scripts version 2337### / stable / Дата: 09.08.2024 / Размер скачиваемого обновления: 4 мегабайта
* исправлена центровка GUI на SteamDeck (спасибо Htylol) * исправлена центровка GUI на SteamDeck (спасибо Htylol)
* добавлена ассоциация .bat файлов (спасибо Boria138) * добавлена ассоциация .bat файлов (спасибо Boria138)
* добавлены файл настроек для Vortex Mod Manager (спасибо Eljeyna): * добавлен файл настроек для Vortex Mod Manager (спасибо Eljeyna)
* исправлено создание лишнего ярлыка для лончеров LGC и WGC
###Scripts version 2336### / stable / Дата: 08.08.2024 / Размер скачиваемого обновления: 4 мегабайта ###Scripts version 2336### / stable / Дата: 08.08.2024 / Размер скачиваемого обновления: 4 мегабайта
* улучшение работы верификации скачанных файлов * улучшение работы верификации скачанных файлов
......
...@@ -4789,7 +4789,10 @@ portwine_create_shortcut () { ...@@ -4789,7 +4789,10 @@ portwine_create_shortcut () {
} }
pw_auto_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 unset LINKS
for link_file in "${PORT_WINE_PATH}"/data/prefixes/*/drive_c/users/*/Desktop/*.lnk for link_file in "${PORT_WINE_PATH}"/data/prefixes/*/drive_c/users/*/Desktop/*.lnk
......
...@@ -39,7 +39,7 @@ fi ...@@ -39,7 +39,7 @@ fi
if ! check_flatpak ; then if ! check_flatpak ; then
update-desktop-database -q "${HOME}/.local/share/applications" 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 fi
if [[ -f /usr/bin/portproton ]] \ if [[ -f /usr/bin/portproton ]] \
......
#!/usr/bin/env bash #!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru) #Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2336 #SCRIPTS_NEXT_VERSION=2337
#SCRIPTS_STABLE_VERSION=2336 #SCRIPTS_STABLE_VERSION=2336
######################################################################## ########################################################################
export LANGUAGES_LIST="ru es" export LANGUAGES_LIST="ru es"
......
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