From ad3defa164eb588c9b07ce1d044648681bc00066 Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Mon, 30 Sep 2024 12:58:01 +0300 Subject: [PATCH] changeloge to text-info for gamescope session --- data_from_portwine/changelog_en | 18 ++++++------------ data_from_portwine/scripts/functions_helper | 12 ++++++------ 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/data_from_portwine/changelog_en b/data_from_portwine/changelog_en index 04897ca..6b2859b 100755 --- a/data_from_portwine/changelog_en +++ b/data_from_portwine/changelog_en @@ -10,11 +10,9 @@ Changelog: * added auto-installation "Star Conflict" (thanks to Chal55rus) * added auto-installation "Blood and Soul" (thanks to Chal55rus) * updated auto-installation "World of Sea Battle" (thanks valokardin) -* for "World of Sea Battle" language switching in the game has been fixed and the -"DOTNET" prefix is ​​no longer required +* for "World of Sea Battle" language switching in the game has been fixed and the "DOTNET" prefix is ​​no longer required * fixed determination of the selection of settings files when the exe file is a symbolic link -* added returns to the main menu after canceling the reinstallation/uninstallation of PP, -clearing the prefix and uninstalling programs (thanks to Htylol) +* added returns to the main menu after canceling the reinstallation/uninstallation of PP, clearing the prefix and uninstalling programs (thanks to Htylol) * fixed launch of games/programs when using disabling the graphical interface (GUI_DISABLED_CS) ###Scripts version 2356### / stable / Date: 28.09.2024 / Download update size: 4 megabytes @@ -54,11 +52,9 @@ clearing the prefix and uninstalling programs (thanks to Htylol) * added a translation cache, which greatly improves the responsiveness of the interface (thanks to Htylol) * fixed launching shortcuts from special. symbols in the title (thanks to Htylol) -* limited number of characters for shortcut names in the "installed" -tab (fixes overly wide menu) (thanks to Htylol) +* limited number of characters for shortcut names in the "installed" tab (fixes overly wide menu) (thanks to Htylol) * disabled decoration for HoYoPlay launcher (fixes window capacity) (thanks to Boria138) -* Crossout installation has been moved to a separate prefix and decoration -for the launcher has been disabled (corrects the capacity in the window) +* Crossout installation has been moved to a separate prefix and decoration for the launcher has been disabled (corrects the capacity in the window) ###Scripts version 2349### / Date: 18.09.2024 / Download update size: 4 megabytes * fixed video driver path forwarding for future versions of ALT Linux (p11) @@ -86,10 +82,8 @@ for the launcher has been disabled (corrects the capacity in the window) * added reset settings for mangohud and vkbasalt * fixed mangohud preview if it is disabled * user.conf settings have been moved from the editdb settings and portproton settings, - * a separate graphical interface has been made for user.conf, with the ability to - launch settings from the main menu and when starting a game/program - * added return to the main menu after creating a backup, winetricks, wine download, - etc., and added return to the last active tabs + * a separate graphical interface has been made for user.conf, with the ability to launch settings from the main menu and when starting a game/program + * added return to the main menu after creating a backup, winetricks, wine download, etc., and added return to the last active tabs * added intermediate returns (to the previous active window) * updated translations (Spanish, Russian) * added the ability to open the game/program directory from the settings tab diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 47ca78c..955bbae 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -1891,14 +1891,14 @@ pw_port_update () { xcsd="${translations[UPDATING NOW]}" unset PW_CHANGE_BRANCH else - curl -s --list-only "${URL_FOR_CHANGELOG}/${PW_CHANGELOG_FILE}" | tee "${PORT_WINE_TMP_PATH}/curent_var_ver" - CHANGLOG_NEWS=$(sed "/Scripts version ${scripts_install_ver}/,$ d" "${PORT_WINE_TMP_PATH}/curent_var_ver" | sed '1,/---/ d' ) - "${pw_yad}" --title "${translations[Update scripts:]} v.(${scripts_install_ver}${BRANCH_VERSION})" --window-icon="$PW_GUI_ICON_PATH/portproton.svg" \ - --form --separator='%%%' --width=1000 --height=500 \ - --field=":TXT" "${CHANGLOG_NEWS}" \ + curl -s --list-only "${URL_FOR_CHANGELOG}/${PW_CHANGELOG_FILE}" > "${PORT_WINE_TMP_PATH}/curent_var_ver" + sed -i "/Scripts version ${scripts_install_ver}/,$ d" "${PORT_WINE_TMP_PATH}/curent_var_ver" + + "${pw_yad}" --title "${translations[Update scripts:]} v.(${scripts_install_ver}${BRANCH_VERSION})" \ + --window-icon="$PW_GUI_ICON_PATH/portproton.svg" --width=1280 --height=720 --text-info --wrap --scroll \ --button="${translations[DO NOT REMIND ME]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":16 \ --button="${translations[REMIND ME LATER]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":18 \ - --button="${translations[UPDATING NOW]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":20 2>/dev/null + --button="${translations[UPDATING NOW]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":20 < "${PORT_WINE_TMP_PATH}/curent_var_ver" 2>/dev/null YAD_STATUS="$?" # --button="${translations[EXIT]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"":252 \