Scripts version 2315
This commit is contained in:
parent
daec92958e
commit
ecb4dc9934
@ -2,6 +2,12 @@ You can help us in the development of the project on the website: https://linux-
|
|||||||
----------------------------------------
|
----------------------------------------
|
||||||
Changelog:
|
Changelog:
|
||||||
|
|
||||||
|
###Scripts version 2315### Date: 12.07.2024 / Download update size: 4 megabytes
|
||||||
|
* fixed the display of the PROTON_LG and WINE_LG versions in the absence of a settings file (thanks Htylol)
|
||||||
|
* added the ability to run debugging scripts from the terminal: portproton --debug (thanks to Boria138 and Htylol)
|
||||||
|
* fixed saving settings when launching shortcuts from the main menu
|
||||||
|
* fixed creation of shortcuts after installing the game/app from setup.exe
|
||||||
|
|
||||||
###Scripts version 2314### Date: 11.07.2024 / Download update size: 4 megabytes
|
###Scripts version 2314### Date: 11.07.2024 / Download update size: 4 megabytes
|
||||||
* HOTFIX - create multiple shortcuts when unpacking a prefix backup
|
* HOTFIX - create multiple shortcuts when unpacking a prefix backup
|
||||||
* fixed the disable of CAS in the vkBasalt menu (0 in the menu is -1 in the variable)
|
* fixed the disable of CAS in the vkBasalt menu (0 in the menu is -1 in the variable)
|
||||||
|
@ -2,9 +2,11 @@
|
|||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
История изменений:
|
История изменений:
|
||||||
|
|
||||||
|
###Scripts version 2315### Дата: 12.07.2024 / Размер скачиваемого обновления: 4 мегабайта
|
||||||
* исправлено отображение версии PROTON_LG и WINE_LG при отсутствии файла настроек (спасибо Htylol)
|
* исправлено отображение версии PROTON_LG и WINE_LG при отсутствии файла настроек (спасибо Htylol)
|
||||||
* добавлена возможность запуска из терминала: portproton --debug (спасибо Boria138 и Htylol)
|
* добавлена возможность запуска отладки скриптов из терминала: portproton --debug (спасибо Boria138 и Htylol)
|
||||||
* исправлено сохранение настроек при запуске ярлыков из основного меню
|
* исправлено сохранение настроек при запуске ярлыков из основного меню
|
||||||
|
* исправлено создание ярлыков после установки игры/приложения из setup.exe
|
||||||
|
|
||||||
###Scripts version 2314### Дата: 11.07.2024 / Размер скачиваемого обновления: 4 мегабайта
|
###Scripts version 2314### Дата: 11.07.2024 / Размер скачиваемого обновления: 4 мегабайта
|
||||||
* HOTFIX - создание нескольких ярлыков при распаковке резервной копии префикса
|
* HOTFIX - создание нескольких ярлыков при распаковке резервной копии префикса
|
||||||
|
@ -1278,9 +1278,10 @@ pw_init_db () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
IFS="$orig_IFS"
|
IFS="$orig_IFS"
|
||||||
|
# shellcheck source=/dev/null
|
||||||
|
source "${PORTWINE_DB_FILE}"
|
||||||
if [[ -f "${PW_FIND_DB_FILE}" ]] \
|
if [[ -f "${PW_FIND_DB_FILE}" ]] \
|
||||||
&& [[ "${PW_DISABLED_CREATE_DB}" != 1 ]] \
|
&& [[ "${PW_DISABLED_CREATE_DB}" != 1 ]] \
|
||||||
&& grep "^export PW_DISABLED_CREATE_DB=1" "${PW_FIND_DB_FILE}" &>/dev/null
|
|
||||||
then
|
then
|
||||||
try_copy_file "${PW_FIND_DB_FILE}" "${portwine_exe}".ppdb
|
try_copy_file "${PW_FIND_DB_FILE}" "${portwine_exe}".ppdb
|
||||||
PORTWINE_DB_FILE="${portwine_exe}".ppdb
|
PORTWINE_DB_FILE="${portwine_exe}".ppdb
|
||||||
@ -1469,7 +1470,7 @@ update_winetricks () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
edit_db_from_gui () {
|
edit_db_from_gui () {
|
||||||
if [[ "${PW_DISABLED_CREATE_DB}" == 1 ]] ; then
|
if [[ "${PW_DISABLED_CREATE_DB}" == "1" ]] ; then
|
||||||
print_warning "Skipped edit_db_from_gui"
|
print_warning "Skipped edit_db_from_gui"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
@ -4411,11 +4412,9 @@ portwine_create_shortcut () {
|
|||||||
export GDK_BACKEND="x11"
|
export GDK_BACKEND="x11"
|
||||||
pw_stop_progress_bar
|
pw_stop_progress_bar
|
||||||
[[ ! -e ${portwine_exe} ]] && return 1
|
[[ ! -e ${portwine_exe} ]] && return 1
|
||||||
|
unset PORTPROTON_NAME
|
||||||
pw_create_gui_png
|
pw_create_gui_png
|
||||||
|
|
||||||
print_error "portwine_exe: $portwine_exe"
|
|
||||||
print_error "PORTPROTON_NAME: ${PORTPROTON_NAME}"
|
|
||||||
|
|
||||||
if [[ "$1" == "block_name" ]] ; then
|
if [[ "$1" == "block_name" ]] ; then
|
||||||
export name_desktop="${PORTPROTON_NAME}"
|
export name_desktop="${PORTPROTON_NAME}"
|
||||||
OUTPUT=$("${pw_yad}" --title="$(gettext "Choices")" --form \
|
OUTPUT=$("${pw_yad}" --title="$(gettext "Choices")" --form \
|
||||||
|
@ -374,8 +374,9 @@ use: [--reinstall] [--autoinstall]
|
|||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
|
||||||
'--debug' )
|
'--debug' )
|
||||||
|
clear
|
||||||
export PW_DEBUG="set -x"
|
export PW_DEBUG="set -x"
|
||||||
/usr/bin/env bash -c "${PORT_WINE_PATH}/data/scripts/start.sh"
|
/usr/bin/env bash -c ${pw_full_command_line[*]} 2>&1 | tee "$PORT_WINE_PATH/scripts.log" &
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -431,7 +432,12 @@ case "${PW_VULKAN_USE}" in
|
|||||||
*) PW_DEFAULT_VULKAN_USE="$SORT_NEWEST!$SORT_STABLE!$SORT_LEGACY!$SORT_G_ZINK!$SORT_G_NINE!$SORT_OPENGL!$SORT_VULKAN" ;;
|
*) PW_DEFAULT_VULKAN_USE="$SORT_NEWEST!$SORT_STABLE!$SORT_LEGACY!$SORT_G_ZINK!$SORT_G_NINE!$SORT_OPENGL!$SORT_VULKAN" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[[ -z "${PW_COMMENT_DB}" ]] && PW_COMMENT_DB="$(gettext "Launching") <b>${PORTWINE_DB}</b>."
|
if [[ ! -z "${PW_COMMENT_DB}" ]] ; then :
|
||||||
|
elif [[ ! -z "${PORTPROTON_NAME}" ]] ; then
|
||||||
|
PW_COMMENT_DB="$(gettext "Launching") <b>${PORTPROTON_NAME}</b>"
|
||||||
|
else
|
||||||
|
PW_COMMENT_DB="$(gettext "Launching") <b>${PORTWINE_DB}</b>"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $PW_WINE_USE == PROTON_LG ]] ; then
|
if [[ $PW_WINE_USE == PROTON_LG ]] ; then
|
||||||
PW_WINE_USE="${PW_PROTON_LG_VER}"
|
PW_WINE_USE="${PW_PROTON_LG_VER}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#Author: Castro-Fidel (linux-gaming.ru)
|
#Author: Castro-Fidel (linux-gaming.ru)
|
||||||
#SCRIPTS_NEXT_VERSION=2314
|
#SCRIPTS_NEXT_VERSION=2315
|
||||||
########################################################################
|
########################################################################
|
||||||
export LANGUAGES_LIST="ru es"
|
export LANGUAGES_LIST="ru es"
|
||||||
export PW_VKBASALT="0"
|
export PW_VKBASALT="0"
|
||||||
|
Loading…
Reference in New Issue
Block a user