From dfbc3c244f81b6335bae7fd52d8fb0eaab242f5e Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Thu, 25 Apr 2024 22:16:11 +0300 Subject: [PATCH] fix ppdb for vkPlay and WoSB --- data_from_portwine/scripts/portwine_db/VKPlayLoader | 2 +- data_from_portwine/scripts/pw_autoinstall/PW_WOSB | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data_from_portwine/scripts/portwine_db/VKPlayLoader b/data_from_portwine/scripts/portwine_db/VKPlayLoader index c32471f..ede207a 100755 --- a/data_from_portwine/scripts/portwine_db/VKPlayLoader +++ b/data_from_portwine/scripts/portwine_db/VKPlayLoader @@ -3,7 +3,7 @@ #VKPlayLoader.exe #Rating=5 #####################examples########################### -if [[ "${update_loc}" == "RUS" ]] ; then +if [[ "$LANGUAGE" == "ru" ]] ; then export PW_COMMENT_DB="Если вы используете Wayland, для перехвата управления в Atomic Heart\nнеобходимо свернуть в трей сам VK Play Игровой центр" else export PW_COMMENT_DB="If you use Wayland, to intercept control in Atomic Heart\n,you need to collapse the VK Play Game Center itself into the tray" diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_WOSB b/data_from_portwine/scripts/pw_autoinstall/PW_WOSB index 4b94ec2..f9985cd 100755 --- a/data_from_portwine/scripts/pw_autoinstall/PW_WOSB +++ b/data_from_portwine/scripts/pw_autoinstall/PW_WOSB @@ -19,7 +19,7 @@ then pw_stop_progress_bar kill_portwine - if [[ "${update_loc}" == "RUS" ]] ; then +if [[ "$LANGUAGE" == "ru" ]] ; then export portwine_exe="$WINEPREFIX/drive_c/users/$USER/AppData/Local/Wosb Launcher/launcher.exe" export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle RU" pw_create_unique_exe "wosb_launcher_ru"