Merge branch 'Htylol-assoc-mass' into devel
This commit is contained in:
commit
9df956805c
@ -7,7 +7,7 @@
|
||||
msgid ""
|
||||
msgstr "Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-09-15 15:29+0500\n"
|
||||
"POT-Creation-Date: 2024-09-20 17:00+0500\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -291,6 +291,9 @@ msgstr ""
|
||||
msgid "REMIND ME LATER"
|
||||
msgstr ""
|
||||
|
||||
msgid "EXIT"
|
||||
msgstr ""
|
||||
|
||||
msgid "Searching for .exe files... Please wait."
|
||||
msgstr ""
|
||||
|
||||
@ -317,9 +320,6 @@ msgid "d3dadapter9.so.1.0.0 - Not found in the system.\\nInstall the "
|
||||
"missing package: <b>d3dadapter9</b>"
|
||||
msgstr ""
|
||||
|
||||
msgid "EXIT"
|
||||
msgstr ""
|
||||
|
||||
msgid "You will need to check internet connection,and\\npress Repeat for "
|
||||
"repeat download"
|
||||
msgstr ""
|
||||
@ -958,10 +958,9 @@ msgstr ""
|
||||
msgid "Show temperature in Fahrenheit"
|
||||
msgstr ""
|
||||
|
||||
msgid "Show if GPU is throttling based on Power, current, temp or "
|
||||
"\"other\" (Only shows if throttling is currently happening). "
|
||||
"Currently disabled by default for Nvidia as it causes lag on 3000 "
|
||||
"series"
|
||||
msgid "Show if GPU is throttling based on Power, current, temp or other "
|
||||
"(Only shows if throttling is currently happening). Currently "
|
||||
"disabled by default for Nvidia as it causes lag on 3000 series"
|
||||
msgstr ""
|
||||
|
||||
msgid "Same as throttling_status but displays throttling in the frametime "
|
||||
@ -1246,15 +1245,14 @@ msgstr ""
|
||||
msgid "Change settings gamescope for"
|
||||
msgstr ""
|
||||
|
||||
#, sh-format
|
||||
msgid "<b>Gamescope is not detected on the system, to install it, run the "
|
||||
"command in the terminal:\\n flatpak install -y runtime/org."
|
||||
"freedesktop.Platform.VulkanLayer.gamescope/x86_64/"
|
||||
"${GAMESCOPE_VERSION}\\n (Can be selected and copied)</b>"
|
||||
"command in the terminal:\\nflatpak install -y runtime/org."
|
||||
"freedesktop.Platform.VulkanLayer.gamescope/x86_64/$"
|
||||
"%{GAMESCOPE_VERSION}%\\n(Can be selected and copied)</b>"
|
||||
msgstr ""
|
||||
|
||||
msgid "<b>Gamescope is not detected on the system, please contact the "
|
||||
"manufacturer of your distribution\\n or search the Internet for "
|
||||
"manufacturer of your distribution\\nor search the Internet for "
|
||||
"information on how to install gamescope on your system.</b>"
|
||||
msgstr ""
|
||||
|
||||
@ -1551,16 +1549,14 @@ msgstr ""
|
||||
|
||||
#, sh-format
|
||||
msgid "PortProton v. ${install_ver}\n"
|
||||
" scripts v. ${scripts_install_ver}"
|
||||
"scripts v. ${scripts_install_ver}"
|
||||
msgstr ""
|
||||
|
||||
#, sh-format
|
||||
msgid "https://linux-gaming.ru\n"
|
||||
"\n"
|
||||
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n"
|
||||
"\n"
|
||||
"This program comes with absolutely no warranty.\n"
|
||||
"See the License for details.\n"
|
||||
msgid "Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)"
|
||||
msgstr ""
|
||||
|
||||
msgid "This program comes with absolutely no warranty.\n"
|
||||
"See the License for details."
|
||||
msgstr ""
|
||||
|
||||
msgid "Author: Casro-Fidel (Mikhail Tergoev)\n"
|
||||
@ -1568,10 +1564,9 @@ msgid "Author: Casro-Fidel (Mikhail Tergoev)\n"
|
||||
"Developer assistants and testers:"
|
||||
msgstr ""
|
||||
|
||||
#, sh-format
|
||||
msgid "MIT License\n"
|
||||
"\n"
|
||||
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n"
|
||||
"Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)\n"
|
||||
"\n"
|
||||
"Permission is hereby granted, free of charge, to any person "
|
||||
"obtaining a copy\n"
|
||||
@ -1601,14 +1596,14 @@ msgid "MIT License\n"
|
||||
"ARISING FROM,\n"
|
||||
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER "
|
||||
"DEALINGS IN THE\n"
|
||||
"SOFTWARE.\n"
|
||||
"SOFTWARE."
|
||||
msgstr ""
|
||||
|
||||
msgid "The project was supported:\n"
|
||||
"https://boosty.to/portwine-linux.ru"
|
||||
msgstr ""
|
||||
|
||||
msgid "The list will be updated...\n"
|
||||
msgid "The list will be updated..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to join and help in the development of the project:"
|
||||
|
Binary file not shown.
@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-09-15 15:28+0500\n"
|
||||
"PO-Revision-Date: 2024-09-15 15:29+0500\n"
|
||||
"POT-Creation-Date: 2024-09-19 23:26+0500\n"
|
||||
"PO-Revision-Date: 2024-09-19 23:35+0500\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: es_ES\n"
|
||||
@ -259,6 +259,7 @@ msgstr "Un emulador para la consola de juegos Sega Dreamcast"
|
||||
msgid "AUTOINSTALLS"
|
||||
msgstr "INSTALACIONES AUTOMÁTICAS"
|
||||
|
||||
#, fuzzy
|
||||
msgid "EMULATORS"
|
||||
msgstr "EMULADORES"
|
||||
|
||||
@ -323,6 +324,9 @@ msgstr "NO SOCIO"
|
||||
msgid "REMIND ME LATER"
|
||||
msgstr "VUELVA MÁS TARDE"
|
||||
|
||||
msgid "EXIT"
|
||||
msgstr "SALIR"
|
||||
|
||||
msgid "Searching for .exe files... Please wait."
|
||||
msgstr "Buscando archivos .exe... Por favor, espera."
|
||||
|
||||
@ -354,9 +358,6 @@ msgstr ""
|
||||
"d3dadapter9.so.1.0.0 - No encontrado en el sistema.\n"
|
||||
"Instala el paquete faltante:<b>d3dadapter9</b>"
|
||||
|
||||
msgid "EXIT"
|
||||
msgstr "SALIR"
|
||||
|
||||
msgid ""
|
||||
"You will need to check internet connection,and\\npress Repeat for repeat "
|
||||
"download"
|
||||
@ -1165,10 +1166,11 @@ msgstr ""
|
||||
msgid "Show temperature in Fahrenheit"
|
||||
msgstr "Mostrar temperatura en Fahrenheit"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"Show if GPU is throttling based on Power, current, temp or \"other\" (Only "
|
||||
"shows if throttling is currently happening). Currently disabled by default "
|
||||
"for Nvidia as it causes lag on 3000 series"
|
||||
"Show if GPU is throttling based on Power, current, temp or other (Only shows "
|
||||
"if throttling is currently happening). Currently disabled by default for "
|
||||
"Nvidia as it causes lag on 3000 series"
|
||||
msgstr ""
|
||||
"Mostrar si la GPU está limitando basado en Potencia, corriente, temperatura "
|
||||
"u \"otro\" (Solo se muestra si actualmente está ocurriendo limitación). "
|
||||
@ -1389,6 +1391,7 @@ msgstr ""
|
||||
"cuando pierden el enfoque, por lo que esto puede usarse para permitir que la "
|
||||
"aplicación se ejecute en segundo plano. (Configuraciones de Glide)"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"dgVoodoo2 settings\\n<b>NOTE:</b> To display help for each item, simply "
|
||||
"hover over the text"
|
||||
@ -1624,21 +1627,21 @@ msgstr ""
|
||||
msgid "Change settings gamescope for"
|
||||
msgstr "Cambiar ajustes gamescope para"
|
||||
|
||||
#, sh-format
|
||||
msgid ""
|
||||
"<b>Gamescope is not detected on the system, to install it, run the command "
|
||||
"in the terminal:\\n flatpak install -y runtime/org.freedesktop.Platform."
|
||||
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Can be selected and "
|
||||
"in the terminal:\\nflatpak install -y runtime/org.freedesktop.Platform."
|
||||
"VulkanLayer.gamescope/x86_64/$%{GAMESCOPE_VERSION}%\\n(Can be selected and "
|
||||
"copied)</b>"
|
||||
msgstr ""
|
||||
" <b>Gamescope no se detecta en el sistema, para instalarlo, ejecute el "
|
||||
"comando en el terminal:\\n flatpak install -y runtime/org.freedesktop."
|
||||
"Platform.VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Se puede "
|
||||
"Platform.VulkanLayer.gamescope/x86_64/$%{GAMESCOPE_VERSION}%\\n (Se puede "
|
||||
"seleccionar y copiar)</b>."
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"<b>Gamescope is not detected on the system, please contact the manufacturer "
|
||||
"of your distribution\\n or search the Internet for information on how to "
|
||||
"of your distribution\\nor search the Internet for information on how to "
|
||||
"install gamescope on your system.</b>"
|
||||
msgstr ""
|
||||
"<b>Gamescope no se detecta en el sistema, póngase en contacto con el "
|
||||
@ -1673,6 +1676,7 @@ msgstr ""
|
||||
msgid "Mesa vulkan WSI"
|
||||
msgstr "WSI mesa volcánica"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"Overrides the WSI present mode:\n"
|
||||
"fifo - First in, first out. Limits the frame rate + no tearing. (VSync)\n"
|
||||
@ -2004,17 +2008,15 @@ msgstr "AHORRAR"
|
||||
#, sh-format
|
||||
msgid ""
|
||||
"PortProton v. ${install_ver}\n"
|
||||
" scripts v. ${scripts_install_ver}"
|
||||
"scripts v. ${scripts_install_ver}"
|
||||
msgstr ""
|
||||
|
||||
msgid "Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)"
|
||||
msgstr ""
|
||||
|
||||
#, sh-format
|
||||
msgid ""
|
||||
"https://linux-gaming.ru\n"
|
||||
"\n"
|
||||
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n"
|
||||
"\n"
|
||||
"This program comes with absolutely no warranty.\n"
|
||||
"See the License for details.\n"
|
||||
"See the License for details."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@ -2023,11 +2025,10 @@ msgid ""
|
||||
"Developer assistants and testers:"
|
||||
msgstr ""
|
||||
|
||||
#, sh-format
|
||||
msgid ""
|
||||
"MIT License\n"
|
||||
"\n"
|
||||
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n"
|
||||
"Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)\n"
|
||||
"\n"
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a "
|
||||
"copy\n"
|
||||
@ -2051,7 +2052,7 @@ msgid ""
|
||||
"FROM,\n"
|
||||
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN "
|
||||
"THE\n"
|
||||
"SOFTWARE.\n"
|
||||
"SOFTWARE."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
@ -2059,7 +2060,7 @@ msgid ""
|
||||
"https://boosty.to/portwine-linux.ru"
|
||||
msgstr ""
|
||||
|
||||
msgid "The list will be updated...\n"
|
||||
msgid "The list will be updated..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Do you want to join and help in the development of the project:"
|
||||
@ -2111,6 +2112,10 @@ msgstr ""
|
||||
msgid "THIRD PARTY LIBRARIES"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "scripts"
|
||||
#~ msgstr "Actualizar scripts:"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Fixes artifacts on AMD and Intel video cards. (Use only when necessary)."
|
||||
#~ msgstr ""
|
||||
|
Binary file not shown.
@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-09-15 15:28+0500\n"
|
||||
"PO-Revision-Date: 2024-09-15 15:28+0500\n"
|
||||
"POT-Creation-Date: 2024-09-19 23:26+0500\n"
|
||||
"PO-Revision-Date: 2024-09-19 23:32+0500\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: ru_RU\n"
|
||||
@ -320,6 +320,9 @@ msgstr "НЕ НАПОМИНАТЬ"
|
||||
msgid "REMIND ME LATER"
|
||||
msgstr "НАПОМНИТЬ ПОЗЖЕ"
|
||||
|
||||
msgid "EXIT"
|
||||
msgstr "ВЫХОД"
|
||||
|
||||
msgid "Searching for .exe files... Please wait."
|
||||
msgstr "Поиск .exe файлов... Пожалуйста, подождите."
|
||||
|
||||
@ -350,9 +353,6 @@ msgstr ""
|
||||
"d3dadapter9.so.1.0.0 - Не найден в системе.\\nУстановите недостающий пакет: "
|
||||
"<b>d3dadapter9</b>"
|
||||
|
||||
msgid "EXIT"
|
||||
msgstr "ВЫХОД"
|
||||
|
||||
msgid ""
|
||||
"You will need to check internet connection,and\\npress Repeat for repeat "
|
||||
"download"
|
||||
@ -639,7 +639,7 @@ msgstr ""
|
||||
"<b>Super + O:</b> Уменьшение резкости FSR на 1\n"
|
||||
"<b>Super + S:</b> Снимок экрана (находится в /tmp/gamescope_DATE.png)\n"
|
||||
"<b>Super + G:</b> Переключение захвата клавиатуры\n"
|
||||
"<b>Super + C:</b> Обновление буфера обмена\""
|
||||
"<b>Super + C:</b> Обновление буфера обмена"
|
||||
|
||||
msgid "Change the version of <b>WINDOWS</b> emulation"
|
||||
msgstr "Изменить версию эмуляции <b>WINDOWS</b>"
|
||||
@ -1177,9 +1177,9 @@ msgid "Show temperature in Fahrenheit"
|
||||
msgstr "Показывать температуру в градусах Фаренгейта"
|
||||
|
||||
msgid ""
|
||||
"Show if GPU is throttling based on Power, current, temp or \"other\" (Only "
|
||||
"shows if throttling is currently happening). Currently disabled by default "
|
||||
"for Nvidia as it causes lag on 3000 series"
|
||||
"Show if GPU is throttling based on Power, current, temp or other (Only shows "
|
||||
"if throttling is currently happening). Currently disabled by default for "
|
||||
"Nvidia as it causes lag on 3000 series"
|
||||
msgstr ""
|
||||
"Показать, регулируется ли графический процессор в зависимости от мощности, "
|
||||
"тока, температуры или «другого» (показывает только то, происходит ли "
|
||||
@ -1596,25 +1596,24 @@ msgstr ""
|
||||
msgid "Change settings gamescope for"
|
||||
msgstr "Изменить настройки Gamescope для"
|
||||
|
||||
#, sh-format
|
||||
msgid ""
|
||||
"<b>Gamescope is not detected on the system, to install it, run the command "
|
||||
"in the terminal:\\n flatpak install -y runtime/org.freedesktop.Platform."
|
||||
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (Can be selected and "
|
||||
"in the terminal:\\nflatpak install -y runtime/org.freedesktop.Platform."
|
||||
"VulkanLayer.gamescope/x86_64/$%{GAMESCOPE_VERSION}%\\n(Can be selected and "
|
||||
"copied)</b>"
|
||||
msgstr ""
|
||||
"<b>Gamescope не найден в системе, для его установки выполните команду в "
|
||||
"терминале:\\n flatpak install -y runtime/org.freedesktop.Platform."
|
||||
"VulkanLayer.gamescope/x86_64/${GAMESCOPE_VERSION}\\n (можно выделить и "
|
||||
"терминале:\\nflatpak install -y runtime/org.freedesktop.Platform.VulkanLayer."
|
||||
"gamescope/x86_64/$%{GAMESCOPE_VERSION}%\\n(Данный текст можно выделить и "
|
||||
"скопировать)</b>"
|
||||
|
||||
msgid ""
|
||||
"<b>Gamescope is not detected on the system, please contact the manufacturer "
|
||||
"of your distribution\\n or search the Internet for information on how to "
|
||||
"of your distribution\\nor search the Internet for information on how to "
|
||||
"install gamescope on your system.</b>"
|
||||
msgstr ""
|
||||
"<b>Gamescope не найден в системе, обратитесь к производителю вашего "
|
||||
"дистрибутива\\n или поищите в Интернете информацию о том, как установить "
|
||||
"дистрибутива\\nили поищите в Интернете информацию о том, как установить "
|
||||
"gamescope в вашей системе</b>"
|
||||
|
||||
msgid "Show resolution"
|
||||
@ -1976,26 +1975,20 @@ msgstr "СОХРАНИТЬ"
|
||||
#, sh-format
|
||||
msgid ""
|
||||
"PortProton v. ${install_ver}\n"
|
||||
" scripts v. ${scripts_install_ver}"
|
||||
"scripts v. ${scripts_install_ver}"
|
||||
msgstr ""
|
||||
"PortProton v. ${install_ver}\n"
|
||||
" версия v. ${scripts_install_ver}"
|
||||
"версия v. ${scripts_install_ver}"
|
||||
|
||||
msgid "Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)"
|
||||
msgstr "Авторские права © $%DATE% Castro-Fidel (linux-gaming.ru)"
|
||||
|
||||
#, sh-format
|
||||
msgid ""
|
||||
"https://linux-gaming.ru\n"
|
||||
"\n"
|
||||
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n"
|
||||
"\n"
|
||||
"This program comes with absolutely no warranty.\n"
|
||||
"See the License for details.\n"
|
||||
"See the License for details."
|
||||
msgstr ""
|
||||
"https://linux-gaming.ru\n"
|
||||
"\n"
|
||||
"Авторские права © $DATE Castro-Fidel (linux-gaming.ru)\n"
|
||||
"\n"
|
||||
"Эта программа поставляется без каких-либо гарантий.\n"
|
||||
"Подробнее см. в Лицензия.\n"
|
||||
"Подробнее см. в Лицензия."
|
||||
|
||||
msgid ""
|
||||
"Author: Casro-Fidel (Mikhail Tergoev)\n"
|
||||
@ -2006,11 +1999,10 @@ msgstr ""
|
||||
"\n"
|
||||
"Помощники разработчика и тестировщики:"
|
||||
|
||||
#, sh-format
|
||||
msgid ""
|
||||
"MIT License\n"
|
||||
"\n"
|
||||
"Copyright © $DATE Castro-Fidel (linux-gaming.ru)\n"
|
||||
"Copyright © $%DATE% Castro-Fidel (linux-gaming.ru)\n"
|
||||
"\n"
|
||||
"Permission is hereby granted, free of charge, to any person obtaining a "
|
||||
"copy\n"
|
||||
@ -2034,11 +2026,11 @@ msgid ""
|
||||
"FROM,\n"
|
||||
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN "
|
||||
"THE\n"
|
||||
"SOFTWARE.\n"
|
||||
"SOFTWARE."
|
||||
msgstr ""
|
||||
"Лицензия Массачусетского технологического института (MIT License)\n"
|
||||
"\n"
|
||||
"Авторские права © $DATE Castro-Fidel (linux-gaming.ru)\n"
|
||||
"Авторские права © $%DATE% Castro-Fidel (linux-gaming.ru)\n"
|
||||
"\n"
|
||||
"Настоящим предоставляется бесплатное разрешение любому лицу, получившему "
|
||||
"копию данного\n"
|
||||
@ -2068,7 +2060,7 @@ msgstr ""
|
||||
"ВОЗНИКАЮЩАЯ ИЗ\n"
|
||||
"ВНЕ ИЛИ В СВЯЗИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ ИЛИ ИСПОЛЬЗОВАНИЕМ ИЛИ ДРУГИМИ "
|
||||
"СДЕЛКАМИ В\n"
|
||||
"ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ.\n"
|
||||
"ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ."
|
||||
|
||||
msgid ""
|
||||
"The project was supported:\n"
|
||||
@ -2077,8 +2069,8 @@ msgstr ""
|
||||
"Проект поддержали:\n"
|
||||
"https://boosty.to/portwine-linux.ru"
|
||||
|
||||
msgid "The list will be updated...\n"
|
||||
msgstr "Список будет дополняться...\n"
|
||||
msgid "The list will be updated..."
|
||||
msgstr "Список будет дополняться..."
|
||||
|
||||
msgid "Do you want to join and help in the development of the project:"
|
||||
msgstr "Хотите присоединится и помочь в развитии проекта:"
|
||||
@ -2147,6 +2139,18 @@ msgstr "ПРИСОЕДЕНИТЬСЯ"
|
||||
msgid "THIRD PARTY LIBRARIES"
|
||||
msgstr "БИБЛИОТЕКИ"
|
||||
|
||||
#~ msgid "scripts"
|
||||
#~ msgstr "версия"
|
||||
|
||||
#~ msgid "MIT License"
|
||||
#~ msgstr "Лицензия Массачусетского технологического института (MIT License)"
|
||||
|
||||
#~ msgid "(Can be selected and copied)"
|
||||
#~ msgstr "(можно выделить и скопировать)"
|
||||
|
||||
#~ msgid "Copyright"
|
||||
#~ msgstr "Авторские права"
|
||||
|
||||
#~ msgid "Open game folder"
|
||||
#~ msgstr "Открыть папку с игрой"
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -53,9 +53,9 @@ if check_flatpak \
|
||||
&& [[ -f "${HOME}/.local/share/applications/PortProton.desktop" ]] ; then
|
||||
PORT_WINE_OLD_PATH="$(grep "Exec=" "${HOME}/.local/share/applications/PortProton.desktop" | awk -F'env ' '{print $2}' | awk -F'/data/scripts/' '{print $1}')"
|
||||
if [[ -d "$PORT_WINE_OLD_PATH" ]] \
|
||||
&& yad_question "$(gettext "PortProton installed by script has been detected. Do you want to transfer all the data from it to the new flatpak version of PortProton?")"
|
||||
&& yad_question "${translations[PortProton installed by script has been detected. Do you want to transfer all the data from it to the new flatpak version of PortProton?]}"
|
||||
then
|
||||
pw_start_progress_bar_block "$(gettext "Please wait...")"
|
||||
pw_start_progress_bar_block "${translations[Please wait...]}"
|
||||
|
||||
try_remove_file "${HOME}/.local/share/applications/PortProton.desktop"
|
||||
try_remove_file "${PORT_WINE_OLD_PATH}"/PortProton.desktop
|
||||
@ -100,7 +100,7 @@ if check_flatpak \
|
||||
done
|
||||
fi
|
||||
pw_stop_progress_bar
|
||||
yad_info "$(gettext "PortProton has been moved to flatpak. You can now remove the old directory:") ${PORT_WINE_OLD_PATH}"
|
||||
yad_info "${translations[PortProton has been moved to flatpak. You can now remove the old directory:]} ${PORT_WINE_OLD_PATH}"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -52,7 +52,7 @@ then
|
||||
elif [[ "$1" == *.[Ee][Xx][Ee] || "$1" == *.[Bb][Aa][Tt] || "$1" == *.[Mm][Ss][Ii] || "$1" == *.[Rr][Ee][Gg] ]]
|
||||
then
|
||||
portwine_exe="$1"
|
||||
MISSING_DESKTOP_FILE=1
|
||||
MISSING_DESKTOP_FILE="1"
|
||||
fi
|
||||
export portwine_exe
|
||||
|
||||
@ -71,13 +71,16 @@ if PORT_SCRIPTS_PATH="$(readlink -f "${0%/*}")" ; then
|
||||
else
|
||||
fatal
|
||||
fi
|
||||
export TEXTDOMAIN="PortProton"
|
||||
export TEXTDOMAINDIR="${PORT_WINE_PATH}/data/locales"
|
||||
|
||||
if ! command -v gettext &>/dev/null
|
||||
then
|
||||
gettext() { echo "$1"; }
|
||||
fi
|
||||
# export TEXTDOMAIN="PortProton"
|
||||
# export TEXTDOMAINDIR="${PORT_WINE_PATH}/data/locales"
|
||||
#
|
||||
# if ! command -v gettext &>/dev/null
|
||||
# then
|
||||
# gettext() { echo "$1"; }
|
||||
# fi
|
||||
# eval_gettext () {
|
||||
# gettext "$1" | (export PATH `envsubst --variables "$1"`; envsubst "$1")
|
||||
# }
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
source "${PORT_SCRIPTS_PATH}/functions_helper"
|
||||
@ -99,6 +102,7 @@ unset PW_PREFIX_NAME WINEPREFIX VULKAN_MOD PW_WINE_VER PW_ADD_TO_ARGS_IN_RUNTIME
|
||||
unset PW_NAME_D_NAME PW_NAME_D_ICON PW_NAME_D_EXEC PW_EXEC_FROM_DESKTOP PW_ALL_DF PW_GENERATE_BUTTONS PW_NAME_D_ICON PW_NAME_D_ICON_48
|
||||
unset MANGOHUD_CONFIG FPS_LIMIT PW_WINE_USE WINEDLLPATH WINE WINEDIR WINELOADER WINESERVER PW_USE_RUNTIME PORTWINE_CREATE_SHORTCUT_NAME MIRROR
|
||||
unset PW_LOCALE_SELECT PW_SETTINGS_INDICATION PW_GUI_START PW_AUTOINSTALL_EXE NOSTSTDIR RADV_DEBUG PW_NO_AUTO_CREATE_SHORTCUT
|
||||
unset PW_DESKTOP_FILES_REGEX
|
||||
|
||||
export PORT_WINE_TMP_PATH="${PORT_WINE_PATH}/data/tmp"
|
||||
rm -f "$PORT_WINE_TMP_PATH"/*{exe,msi,tar}*
|
||||
@ -164,6 +168,8 @@ export PW_WINELIB="${PORT_WINE_TMP_PATH}/libs${PW_LIBS_VER}"
|
||||
try_remove_dir "${PW_WINELIB}/var"
|
||||
install_ver="$(<"${PORT_WINE_TMP_PATH}/PortProton_ver")"
|
||||
export install_ver
|
||||
scripts_install_ver=$(<"${PORT_WINE_TMP_PATH}/scripts_ver")
|
||||
export scripts_install_ver
|
||||
export WINETRICKS_DOWNLOADER="curl"
|
||||
export USER_CONF="${PORT_WINE_PATH}/data/user.conf"
|
||||
check_user_conf
|
||||
@ -347,16 +353,28 @@ if [[ "${SKIP_CHECK_UPDATES}" != 1 ]] ; then
|
||||
|
||||
PW_FILESYSTEM=$(stat -f -c %T "${PORT_WINE_PATH}")
|
||||
export PW_FILESYSTEM
|
||||
else
|
||||
scripts_install_ver=$(<"${PORT_WINE_TMP_PATH}/scripts_ver")
|
||||
export scripts_install_ver
|
||||
fi
|
||||
|
||||
if [[ ! -f "${PORT_SCRIPTS_PATH}/translations/$LANGUAGE" ]] ; then
|
||||
create_translations
|
||||
fi
|
||||
|
||||
unset translations
|
||||
# shellcheck source=/dev/null
|
||||
source "${PORT_SCRIPTS_PATH}/translations/$LANGUAGE"
|
||||
|
||||
if [[ $TRANSLATIONS_VER != "$scripts_install_ver" ]] ; then
|
||||
try_remove_dir "${PORT_SCRIPTS_PATH}/translations"
|
||||
create_translations
|
||||
# shellcheck source=/dev/null
|
||||
source "${PORT_SCRIPTS_PATH}/translations/$LANGUAGE"
|
||||
fi
|
||||
|
||||
# create lock file
|
||||
if ! check_flatpak ; then
|
||||
if [[ -f "${PW_TMPFS_PATH}/portproton.lock" ]] ; then
|
||||
print_warning "Found lock file: ${PW_TMPFS_PATH}/portproton.lock"
|
||||
yad_question "$(gettext 'A running PortProton session was detected.\nDo you want to end the previous session?')" || exit 0
|
||||
yad_question "${translations[A running PortProton session was detected.\\nDo you want to end the previous session?]}" || exit 0
|
||||
fi
|
||||
touch "${PW_TMPFS_PATH}/portproton.lock"
|
||||
rm_lock_file () {
|
||||
@ -404,7 +422,7 @@ fi
|
||||
|
||||
export SKIP_CHECK_UPDATES="1"
|
||||
|
||||
[[ "$MISSING_DESKTOP_FILE" == 1 ]] && portwine_missing_shortcut
|
||||
[[ "$MISSING_DESKTOP_FILE" == "1" ]] && portwine_missing_shortcut
|
||||
|
||||
if [[ -n $(basename "${portwine_exe}" | grep .ppack) ]] ; then
|
||||
unset PW_SANDBOX_HOME_PATH
|
||||
@ -424,7 +442,7 @@ EOF
|
||||
if grep "ERROR" "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack_error &>/dev/null ; then
|
||||
try_remove_file "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack_error
|
||||
try_remove_file "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack.sh
|
||||
yad_error "$(gettext "Unpack has FAILED for prefix:") <b>\"${PW_PREFIX_NAME}\"</b>."
|
||||
yad_error "${translations[Unpack has FAILED for prefix:]} <b>\"${PW_PREFIX_NAME}\"</b>."
|
||||
exit 1
|
||||
else
|
||||
try_remove_file "${PORT_WINE_TMP_PATH}"/pp_pfx_unpack.sh
|
||||
@ -435,7 +453,7 @@ EOF
|
||||
portwine_create_shortcut
|
||||
done < "$PORT_WINE_PATH/data/prefixes/$PW_PREFIX_NAME/.create_shortcut"
|
||||
fi
|
||||
yad_info "$(gettext "Unpack is DONE for prefix:") <b>\"${PW_PREFIX_NAME}\"</b>."
|
||||
yad_info "${translations[Unpack is DONE for prefix:]} <b>\"${PW_PREFIX_NAME}\"</b>."
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
@ -483,7 +501,7 @@ use: [--repair] [--reinstall] [--autoinstall]
|
||||
'--debug' )
|
||||
clear
|
||||
export PW_DEBUG="set -x"
|
||||
/usr/bin/env bash -c ${pw_full_command_line[*]} 2>&1 | tee "$PORT_WINE_PATH/scripts-debug.log" &
|
||||
/usr/bin/env bash -c ${pw_full_command_line[@]} 2>&1 | tee "$PORT_WINE_PATH/scripts-debug.log" &
|
||||
exit 0 ;;
|
||||
|
||||
'--server-file-access' )
|
||||
@ -528,13 +546,13 @@ if [[ -d "${PORT_WINE_PATH}/data/dist/" ]] ; then
|
||||
done
|
||||
fi
|
||||
|
||||
SORT_OPENGL="$(gettext 'WineD3D OpenGL (For video cards without Vulkan)')"
|
||||
SORT_VULKAN="$(gettext 'WineD3D Vulkan (Damavand experimental)')"
|
||||
SORT_LEGACY="$(gettext 'Legacy DXVK (Vulkan v1.1)')"
|
||||
SORT_STABLE="$(gettext 'Stable DXVK, VKD3D (Vulkan v1.2)')"
|
||||
SORT_NEWEST="$(gettext 'Newest DXVK, VKD3D, D8VK (Vulkan v1.3+)')"
|
||||
SORT_G_NINE="$(gettext 'Gallium Nine (DirectX 9 for MESA)')"
|
||||
SORT_G_ZINK="$(gettext 'Gallium Zink (OpenGL to Vulkan)')"
|
||||
SORT_OPENGL="${translations[WineD3D OpenGL (For video cards without Vulkan)]}"
|
||||
SORT_VULKAN="${translations[WineD3D Vulkan (Damavand experimental)]}"
|
||||
SORT_LEGACY="${translations[Legacy DXVK (Vulkan v1.1)]}"
|
||||
SORT_STABLE="${translations[Stable DXVK, VKD3D (Vulkan v1.2)]}"
|
||||
SORT_NEWEST="${translations[Newest DXVK, VKD3D, D8VK (Vulkan v1.3+)]}"
|
||||
SORT_G_NINE="${translations[Gallium Nine (DirectX 9 for MESA)]}"
|
||||
SORT_G_ZINK="${translations[Gallium Zink (OpenGL to Vulkan)]}"
|
||||
|
||||
case "${PW_VULKAN_USE}" in
|
||||
0) PW_DEFAULT_VULKAN_USE="$SORT_OPENGL!$SORT_NEWEST!$SORT_STABLE!$SORT_LEGACY!$SORT_G_ZINK!$SORT_G_NINE!$SORT_VULKAN" ;;
|
||||
@ -548,9 +566,9 @@ esac
|
||||
|
||||
if [[ -z "${PW_COMMENT_DB}" ]] ; then
|
||||
if [[ -n "${PORTPROTON_NAME}" ]] ; then
|
||||
PW_COMMENT_DB="$(gettext "Launching") <b>${PORTPROTON_NAME}</b>"
|
||||
PW_COMMENT_DB="${translations[Launching]} <b>$(print_wrapped "${PORTPROTON_NAME}" "50")</b>"
|
||||
else
|
||||
PW_COMMENT_DB="$(gettext "Launching") <b>${PORTWINE_DB}</b>"
|
||||
PW_COMMENT_DB="${translations[Launching]} <b>$(print_wrapped "${PORTWINE_DB}" "50")</b>"
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -581,10 +599,10 @@ if [[ -f "${portwine_exe}" ]] ; then
|
||||
fi
|
||||
if [[ "${PW_GUI_DISABLED_CS}" != 1 ]] ; then
|
||||
pw_create_gui_png
|
||||
if ! grep -il "${portwine_exe}" "${HOME}/.local/share/applications"/*.desktop ; then
|
||||
PW_SHORTCUT="$(gettext "CREATE SHORTCUT")!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!$(gettext "Create shortcut for select file..."):100"
|
||||
if ! grep -il "${portwine_exe}" "${HOME}/.local/share/applications"/*.desktop &>/dev/null ; then
|
||||
PW_SHORTCUT="${translations[CREATE SHORTCUT]}!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!${translations[Create shortcut for select file...]}:100"
|
||||
else
|
||||
PW_SHORTCUT="$(gettext "DELETE SHORTCUT")!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!$(gettext "Delete shortcut for select file..."):98"
|
||||
PW_SHORTCUT="${translations[DELETE SHORTCUT]}!$PW_GUI_ICON_PATH/$BUTTON_SIZE.png!${translations[Delete shortcut for select file...]}:98"
|
||||
fi
|
||||
|
||||
export KEY_START="$RANDOM"
|
||||
@ -600,13 +618,13 @@ if [[ -f "${portwine_exe}" ]] ; then
|
||||
|
||||
"${pw_yad}" --plug=$KEY_START --tabnum=2 --form --columns="${START_GUI_NOTEBOOK_COLUMNS}" --align-buttons --homogeneous-column \
|
||||
--gui-type-layout="${START_GUI_TYPE_LAYOUT_NOTEBOOK}" \
|
||||
--field=" $(gettext "Base settings")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Edit database file for") ${PORTWINE_DB}":"FBTN" '@bash -c "button_click --start 118"' \
|
||||
--field=" $(gettext "Settings user.conf")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Settings for user.conf")":"FBTN" '@bash -c "button_click --start 128"' \
|
||||
--field=" $(gettext "Open directory")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Open directory with <b>.ppdb</b> file")":"FBTN" '@bash -c "button_click --start open_game_folder"' \
|
||||
--field=" vkBasalt"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)")":"FBTN" '@bash -c "button_click --start 120"' \
|
||||
--field=" MangoHud"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)")":"FBTN" '@bash -c "button_click --start 122"' \
|
||||
--field=" dgVoodoo2"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable dgVoodoo2 by default (This wrapper fixes many compatibility and rendering issues when running old games)")":"FBTN" '@bash -c "button_click --start 124"' \
|
||||
--field=" GameScope"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable GameScope by default (Wayland micro compositor)")":"FBTN" '@bash -c "button_click --start 126"' \
|
||||
--field=" ${translations[Base settings]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Edit database file for]} ${PORTWINE_DB}":"FBTN" '@bash -c "button_click --start 118"' \
|
||||
--field=" ${translations[Settings user.conf]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Settings for user.conf]}":"FBTN" '@bash -c "button_click --start 128"' \
|
||||
--field=" ${translations[Open directory]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Open directory with <b>.ppdb</b> file]}":"FBTN" '@bash -c "button_click --start open_game_folder"' \
|
||||
--field=" vkBasalt"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)]}":"FBTN" '@bash -c "button_click --start 120"' \
|
||||
--field=" MangoHud"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)]}":"FBTN" '@bash -c "button_click --start 122"' \
|
||||
--field=" dgVoodoo2"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable dgVoodoo2 by default (This wrapper fixes many compatibility and rendering issues when running old games)]}":"FBTN" '@bash -c "button_click --start 124"' \
|
||||
--field=" GameScope"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable GameScope by default (Wayland micro compositor)]}":"FBTN" '@bash -c "button_click --start 126"' \
|
||||
2>/dev/null &
|
||||
|
||||
if [[ "${PW_YAD_FORM_TAB}" == "1" ]] \
|
||||
@ -623,12 +641,12 @@ if [[ -f "${portwine_exe}" ]] ; then
|
||||
--width="${PW_START_SIZE_W}" --tab-pos="${PW_TAB_POSITON}" \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" --expand \
|
||||
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
||||
--tab="$(gettext "GENERAL")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--button="$(gettext "MAIN MENU")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Main menu")":128 \
|
||||
--tab="${translations[GENERAL]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="${translations[SETTINGS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--button="${translations[MAIN MENU]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Main menu]}":128 \
|
||||
--button="${PW_SHORTCUT}" \
|
||||
--button="$(gettext "DEBUG")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Launch with the creation of a .log file at the root PortProton")":102 \
|
||||
--button="$(gettext "LAUNCH")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Run file ...")":106 2>/dev/null
|
||||
--button="${translations[DEBUG]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Launch with the creation of a .log file at the root PortProton]}":102 \
|
||||
--button="${translations[LAUNCH]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Run file ...]}":106 2>/dev/null
|
||||
PW_YAD_SET="$?"
|
||||
export PW_YAD_FORM_TAB="1"
|
||||
|
||||
@ -645,13 +663,13 @@ if [[ -f "${portwine_exe}" ]] ; then
|
||||
"${pw_yad}" --plug=$KEY_START --tabnum=2 --form --columns="${START_GUI_PANED_COLUMNS}" \
|
||||
--gui-type-layout="${START_GUI_TYPE_LAYOUT_PANED}" \
|
||||
--align-buttons --homogeneous-row --homogeneous-column \
|
||||
--field=" $(gettext "Base settings")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Edit database file for") ${PORTWINE_DB}":"FBTN" '@bash -c "button_click --start 118"' \
|
||||
--field=" $(gettext "Settings user.conf")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Settings for user.conf")":"FBTN" '@bash -c "button_click --start 128"' \
|
||||
--field=" $(gettext "Open directory")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Open directory with <b>.ppdb</b> file")":"FBTN" '@bash -c "button_click --start open_game_folder"' \
|
||||
--field=" vkBasalt"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)")":"FBTN" '@bash -c "button_click --start 120"' \
|
||||
--field=" MangoHud"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)")":"FBTN" '@bash -c "button_click --start 122"' \
|
||||
--field=" dgVoodoo2"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable dgVoodoo2 by default (This wrapper fixes many compatibility and rendering issues when running old games)")":"FBTN" '@bash -c "button_click --start 124"' \
|
||||
--field=" GameScope"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Enable GameScope by default (Wayland micro compositor)")":"FBTN" '@bash -c "button_click --start 126"' \
|
||||
--field=" ${translations[Base settings]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Edit database file for]} ${PORTWINE_DB}":"FBTN" '@bash -c "button_click --start 118"' \
|
||||
--field=" ${translations[Settings user.conf]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Settings for user.conf]}":"FBTN" '@bash -c "button_click --start 128"' \
|
||||
--field=" ${translations[Open directory]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Open directory with <b>.ppdb</b> file]}":"FBTN" '@bash -c "button_click --start open_game_folder"' \
|
||||
--field=" vkBasalt"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable vkBasalt by default to improve graphics in games running on Vulkan. (The HOME hotkey disables vkbasalt)]}":"FBTN" '@bash -c "button_click --start 120"' \
|
||||
--field=" MangoHud"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable Mangohud by default (R_SHIFT + F12 keyboard shortcuts disable Mangohud)]}":"FBTN" '@bash -c "button_click --start 122"' \
|
||||
--field=" dgVoodoo2"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable dgVoodoo2 by default (This wrapper fixes many compatibility and rendering issues when running old games)]}":"FBTN" '@bash -c "button_click --start 124"' \
|
||||
--field=" GameScope"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Enable GameScope by default (Wayland micro compositor)]}":"FBTN" '@bash -c "button_click --start 126"' \
|
||||
2>/dev/null &
|
||||
|
||||
"${pw_yad}" --key=$KEY_START --paned \
|
||||
@ -659,10 +677,10 @@ if [[ -f "${portwine_exe}" ]] ; then
|
||||
--width="${PW_START_SIZE_W}" --tab-pos="${PW_TAB_POSITON}" \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" \
|
||||
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
||||
--button="$(gettext "MAIN MENU")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Main menu")":128 \
|
||||
--button="${translations[MAIN MENU]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Main menu]}":128 \
|
||||
--button="${PW_SHORTCUT}" \
|
||||
--button="$(gettext "DEBUG")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Launch with the creation of a .log file at the root PortProton")":102 \
|
||||
--button="$(gettext "LAUNCH")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"$(gettext "Run file ...")":106 2>/dev/null
|
||||
--button="${translations[DEBUG]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Launch with the creation of a .log file at the root PortProton]}":102 \
|
||||
--button="${translations[LAUNCH]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE.png"!"${translations[Run file ...]}":106 2>/dev/null
|
||||
PW_YAD_SET="$?"
|
||||
fi
|
||||
[[ -n "$PW_YAD_SET" ]] && case "$PW_YAD_SET" in
|
||||
@ -694,10 +712,10 @@ else
|
||||
gui_userconf
|
||||
fi
|
||||
|
||||
export KEY="$RANDOM"
|
||||
export KEY_MENU="$RANDOM"
|
||||
|
||||
IFS=$'\n'
|
||||
PW_GENERATE_BUTTONS="--field= $(gettext "Create shortcut...")!${PW_GUI_ICON_PATH}/find_48.svg!:FBTN%@bash -c \"button_click --normal pw_find_exe\"%"
|
||||
PW_GENERATE_BUTTONS="--field= ${translations[Create shortcut...]}!${PW_GUI_ICON_PATH}/find_48.svg!:FBTN%@bash -c \"button_click --normal pw_find_exe\"%"
|
||||
for PW_DESKTOP_FILES in ${PW_ALL_DF} ; do
|
||||
if check_flatpak ; then
|
||||
PW_NAME_D_ICON="$(grep Exec "${PORT_WINE_PATH}/${PW_DESKTOP_FILES}" | awk -F'=' '{print $2}' |
|
||||
@ -713,62 +731,87 @@ else
|
||||
resize_png "${PW_NAME_D_ICON}" "${PW_NAME_D_ICON_48//"${PORT_WINE_PATH}/data/img/"/}" "48"
|
||||
resize_png "${PW_NAME_D_ICON}" "${PW_NAME_D_ICON_128//"${PORT_WINE_PATH}/data/img/"/}" "128"
|
||||
fi
|
||||
PW_GENERATE_BUTTONS+="--field= ${PW_DESKTOP_FILES//".desktop"/""}!${PW_NAME_D_ICON_48}.png!:FBTN%@bash -c \"run_desktop_b_click "${PW_DESKTOP_FILES// /@_@}"\"%"
|
||||
if [[ $PW_DESKTOP_FILES =~ [\(\)\!\$\%\&\`\'\"\>\<\\\|\;] ]] ; then
|
||||
export PW_DESKTOP_FILES_REGEX="1"
|
||||
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES//\!/}"
|
||||
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES_SHOW//\%/}"
|
||||
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES_SHOW//\$/}"
|
||||
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES_SHOW//\&/}"
|
||||
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES_SHOW//\</}"
|
||||
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\(/#+_1#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\)/#+_2#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\!/#+_3#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\$/#+_4#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\%/#+_5#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\&/#+_6#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\`/#+_7#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\'/#+_8#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\"/#+_9#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\>/#+_10#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\</#+_11#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\\/#+_12#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\|/#+_13#}"
|
||||
PW_DESKTOP_FILES="${PW_DESKTOP_FILES//\;/#+_14#}"
|
||||
else
|
||||
PW_DESKTOP_FILES_SHOW="${PW_DESKTOP_FILES}"
|
||||
fi
|
||||
PW_GENERATE_BUTTONS+="--field= $(print_wrapped "${PW_DESKTOP_FILES_SHOW//".desktop"/""}" "20" "...")!${PW_NAME_D_ICON_48}.png!:FBTN%@bash -c \"button_click --desktop "${PW_DESKTOP_FILES// /#@_@#}"\"%"
|
||||
done
|
||||
IFS="$orig_IFS"
|
||||
|
||||
IFS="%"
|
||||
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[4]}" --form --columns="$MAIN_GUI_COLUMNS" --homogeneous-column \
|
||||
"${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[4]}" --form --columns="$MAIN_GUI_COLUMNS" --homogeneous-column \
|
||||
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \
|
||||
--align-buttons --scroll --separator=" " ${PW_GENERATE_BUTTONS} 2>/dev/null &
|
||||
IFS="$orig_IFS"
|
||||
|
||||
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[3]}" --form --columns=3 --align-buttons --separator=";" --homogeneous-column \
|
||||
"${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[3]}" --form --columns=3 --align-buttons --separator=";" --homogeneous-column \
|
||||
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \
|
||||
--field=" $(gettext "Reinstall PortProton")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_pw_reinstall_pp"' \
|
||||
--field=" $(gettext "Remove PortProton")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_rm_portproton"' \
|
||||
--field=" $(gettext "Update PortProton")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_pw_update"' \
|
||||
--field=" $(gettext "Changelog")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal open_changelog"' \
|
||||
--field=" $(gettext "Change language")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal change_loc"' \
|
||||
--field=" $(gettext "Settings user.conf")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal 128"' \
|
||||
--field=" $(gettext "Scripts from backup")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_open_scripts_from_backup"' \
|
||||
--field=" ${translations[Reinstall PortProton]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_pw_reinstall_pp"' \
|
||||
--field=" ${translations[Remove PortProton]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_rm_portproton"' \
|
||||
--field=" ${translations[Update PortProton]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_pw_update"' \
|
||||
--field=" ${translations[Changelog]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal open_changelog"' \
|
||||
--field=" ${translations[Change language]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal change_loc"' \
|
||||
--field=" ${translations[Settings user.conf]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal 128"' \
|
||||
--field=" ${translations[Scripts from backup]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_open_scripts_from_backup"' \
|
||||
--field=" Xterm"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal pw_start_cont_xterm"' \
|
||||
--field=" $(gettext "Credits")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_credits"' \
|
||||
--field=" ${translations[Credits]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"FBTN" '@bash -c "button_click --normal gui_credits"' \
|
||||
2>/dev/null &
|
||||
|
||||
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[2]}" --form --columns=3 --align-buttons --separator=";" \
|
||||
"${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[2]}" --form --columns=3 --align-buttons --separator=";" \
|
||||
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \
|
||||
--field=" 3D API : :CB" "${PW_DEFAULT_VULKAN_USE}" \
|
||||
--field=" PREFIX : :CBE" "${PW_ADD_PREFIXES_TO_GUI}" \
|
||||
--field=" WINE : :CB" "$(combobox_fix "${PW_WINE_USE}" "${PW_DEFAULT_WINE_USE}")" \
|
||||
--field="$(gettext "Create prefix backup")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"CFBTN" '@bash -c "button_click --normal pw_create_prefix_backup"' \
|
||||
--field=" Winetricks"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run winetricks to install additional libraries to the selected prefix")":"FBTN" '@bash -c "button_click --normal WINETRICKS"' \
|
||||
--field=" $(gettext "Clear prefix")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Clear the prefix to fix problems")":"FBTN" '@bash -c "button_click --normal gui_clear_pfx"' \
|
||||
--field=" $(gettext "Get other Wine")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Open the menu to download other versions of WINE or PROTON")":"FBTN" '@bash -c "button_click --normal gui_proton_downloader"' \
|
||||
--field=" $(gettext "Uninstaller")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run the program uninstaller built into wine")":"FBTN" '@bash -c "button_click --normal gui_wine_uninstaller"' \
|
||||
--field=" $(gettext "Prefix Manager") "!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run winecfg to edit the settings of the selected prefix")":"FBTN" '@bash -c "button_click --normal WINECFG"' \
|
||||
--field=" $(gettext "File Manager")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run wine file manager")":"FBTN" '@bash -c "button_click --normal WINEFILE"' \
|
||||
--field=" $(gettext "Command line")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run wine cmd")":"FBTN" '@bash -c "button_click --normal WINECMD"' \
|
||||
--field=" $(gettext "Regedit")"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"$(gettext "Run wine regedit")":"FBTN" '@bash -c "button_click --normal WINEREG"' 1> "${PW_TMPFS_PATH}/tmp_yad_form_vulkan" 2>/dev/null &
|
||||
--field="${translations[Create prefix backup]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"":"CFBTN" '@bash -c "button_click --normal pw_create_prefix_backup"' \
|
||||
--field=" Winetricks"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run winetricks to install additional libraries to the selected prefix]}":"FBTN" '@bash -c "button_click --normal WINETRICKS"' \
|
||||
--field=" ${translations[Clear prefix]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Clear the prefix to fix problems]}":"FBTN" '@bash -c "button_click --normal gui_clear_pfx"' \
|
||||
--field=" ${translations[Get other Wine]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Open the menu to download other versions of WINE or PROTON]}":"FBTN" '@bash -c "button_click --normal gui_proton_downloader"' \
|
||||
--field=" ${translations[Uninstaller]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run the program uninstaller built into wine]}":"FBTN" '@bash -c "button_click --normal gui_wine_uninstaller"' \
|
||||
--field=" ${translations[Prefix Manager]} "!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run winecfg to edit the settings of the selected prefix]}":"FBTN" '@bash -c "button_click --normal WINECFG"' \
|
||||
--field=" ${translations[File Manager]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run wine file manager]}":"FBTN" '@bash -c "button_click --normal WINEFILE"' \
|
||||
--field=" ${translations[Command line]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run wine cmd]}":"FBTN" '@bash -c "button_click --normal WINECMD"' \
|
||||
--field=" ${translations[Regedit]}"!"$PW_GUI_ICON_PATH/$BUTTON_SIZE_MM.png"!"${translations[Run wine regedit]}":"FBTN" '@bash -c "button_click --normal WINEREG"' 1> "${PW_TMPFS_PATH}/tmp_yad_form_vulkan" 2>/dev/null &
|
||||
|
||||
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[1]}" --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll --homogeneous-column \
|
||||
"${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[1]}" --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll --homogeneous-column \
|
||||
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \
|
||||
--field=" Dolphin 5.0"!"$PW_GUI_ICON_PATH/dolphin.png"!"$(gettext "Emulator for Nintendo game consoles with high compatibility")":"FBTN" '@bash -c "button_click --normal PW_DOLPHIN"' \
|
||||
--field=" MAME"!"$PW_GUI_ICON_PATH/mame.png"!"$(gettext "Multi-arcade emulator that allows you to play old arcade games")":"FBTN" '@bash -c "button_click --normal PW_MAME"' \
|
||||
--field=" RetroArch"!"$PW_GUI_ICON_PATH/retroarch.png"!"$(gettext "Multi-platform frontend for emulators with extensive settings")":"FBTN" '@bash -c "button_click --normal PW_RETROARCH"' \
|
||||
--field=" PPSSPP Windows"!"$PW_GUI_ICON_PATH/ppsspp.png"!"$(gettext "Emulator for the PlayStation Portable (PSP) game console")":"FBTN" '@bash -c "button_click --normal PW_PPSSPP"' \
|
||||
--field=" Citra"!"$PW_GUI_ICON_PATH/citra.png"!"$(gettext "Emulator for the Nintendo 3DS game console")":"FBTN" '@bash -c "button_click --normal PW_CITRA"' \
|
||||
--field=" Cemu"!"$PW_GUI_ICON_PATH/cemu.png"!"$(gettext "Emulator for the Wii U game console")":"FBTN" '@bash -c "button_click --normal PW_CEMU"' \
|
||||
--field=" ePSXe"!"$PW_GUI_ICON_PATH/epsxe.png"!"$(gettext "Emulator for the PlayStation 1 game console with high compatibility")":"FBTN" '@bash -c "button_click --normal PW_EPSXE"' \
|
||||
--field=" Project64"!"$PW_GUI_ICON_PATH/project64.png"!"$(gettext "Emulator for the Nintendo 64 game console")":"FBTN" '@bash -c "button_click --normal PW_PROJECT64"' \
|
||||
--field=" VBA-M"!"$PW_GUI_ICON_PATH/vba-m.png"!"$(gettext "Emulator for the Game Boy Advance game console")":"FBTN" '@bash -c "button_click --normal PW_VBA-M"' \
|
||||
--field=" Yabause"!"$PW_GUI_ICON_PATH/yabause.png"!"$(gettext "Emulator for the Sega Saturn game console")":"FBTN" '@bash -c "button_click --normal PW_YABAUSE"' \
|
||||
--field=" Xenia"!"$PW_GUI_ICON_PATH/xenia.png"!"$(gettext "Emulator for the Xbox 360 game console")":"FBTN" '@bash -c "button_click --normal PW_XENIA"' \
|
||||
--field=" FCEUX"!"$PW_GUI_ICON_PATH/fceux.png"!"$(gettext "Emulator for the Nintendo Entertainment System (NES or Dendy) game console")":"FBTN" '@bash -c "button_click --normal PW_FCEUX"' \
|
||||
--field=" xemu"!"$PW_GUI_ICON_PATH/xemu.png"!"$(gettext "Emulator for the Xbox game console")":"FBTN" '@bash -c "button_click --normal PW_XEMU"' \
|
||||
--field=" Demul"!"$PW_GUI_ICON_PATH/demul.png"!"$(gettext "Emulator for the Sega Dreamcast game console")":"FBTN" '@bash -c "button_click --normal PW_DEMUL"' 2>/dev/null &
|
||||
--field=" Dolphin 5.0"!"$PW_GUI_ICON_PATH/dolphin.png"!"${translations[Emulator for Nintendo game consoles with high compatibility]}":"FBTN" '@bash -c "button_click --normal PW_DOLPHIN"' \
|
||||
--field=" MAME"!"$PW_GUI_ICON_PATH/mame.png"!"${translations[Multi-arcade emulator that allows you to play old arcade games]}":"FBTN" '@bash -c "button_click --normal PW_MAME"' \
|
||||
--field=" RetroArch"!"$PW_GUI_ICON_PATH/retroarch.png"!"${translations[Multi-platform frontend for emulators with extensive settings]}":"FBTN" '@bash -c "button_click --normal PW_RETROARCH"' \
|
||||
--field=" PPSSPP Windows"!"$PW_GUI_ICON_PATH/ppsspp.png"!"${translations[Emulator for the PlayStation Portable (PSP) game console]}":"FBTN" '@bash -c "button_click --normal PW_PPSSPP"' \
|
||||
--field=" Citra"!"$PW_GUI_ICON_PATH/citra.png"!"${translations[Emulator for the Nintendo 3DS game console]}":"FBTN" '@bash -c "button_click --normal PW_CITRA"' \
|
||||
--field=" Cemu"!"$PW_GUI_ICON_PATH/cemu.png"!"${translations[Emulator for the Wii U game console]}":"FBTN" '@bash -c "button_click --normal PW_CEMU"' \
|
||||
--field=" ePSXe"!"$PW_GUI_ICON_PATH/epsxe.png"!"${translations[Emulator for the PlayStation 1 game console with high compatibility]}":"FBTN" '@bash -c "button_click --normal PW_EPSXE"' \
|
||||
--field=" Project64"!"$PW_GUI_ICON_PATH/project64.png"!"${translations[Emulator for the Nintendo 64 game console]}":"FBTN" '@bash -c "button_click --normal PW_PROJECT64"' \
|
||||
--field=" VBA-M"!"$PW_GUI_ICON_PATH/vba-m.png"!"${translations[Emulator for the Game Boy Advance game console]}":"FBTN" '@bash -c "button_click --normal PW_VBA-M"' \
|
||||
--field=" Yabause"!"$PW_GUI_ICON_PATH/yabause.png"!"${translations[Emulator for the Sega Saturn game console]}":"FBTN" '@bash -c "button_click --normal PW_YABAUSE"' \
|
||||
--field=" Xenia"!"$PW_GUI_ICON_PATH/xenia.png"!"${translations[Emulator for the Xbox 360 game console]}":"FBTN" '@bash -c "button_click --normal PW_XENIA"' \
|
||||
--field=" FCEUX"!"$PW_GUI_ICON_PATH/fceux.png"!"${translations[Emulator for the Nintendo Entertainment System (NES or Dendy) game console]}":"FBTN" '@bash -c "button_click --normal PW_FCEUX"' \
|
||||
--field=" xemu"!"$PW_GUI_ICON_PATH/xemu.png"!"${translations[Emulator for the Xbox game console]}":"FBTN" '@bash -c "button_click --normal PW_XEMU"' \
|
||||
--field=" Demul"!"$PW_GUI_ICON_PATH/demul.png"!"${translations[Emulator for the Sega Dreamcast game console]}":"FBTN" '@bash -c "button_click --normal PW_DEMUL"' 2>/dev/null &
|
||||
|
||||
"${pw_yad}" --plug=$KEY --tabnum="${PW_GUI_SORT_TABS[0]}" --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll --homogeneous-column \
|
||||
"${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[0]}" --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll --homogeneous-column \
|
||||
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" \
|
||||
--field=" Lesta Game Center"!"$PW_GUI_ICON_PATH/lgc.png"!"":"FBTN" '@bash -c "button_click --normal PW_LGC"' \
|
||||
--field=" vkPlay Games Center"!"$PW_GUI_ICON_PATH/mygames.png"!"":"FBTN" '@bash -c "button_click --normal PW_VKPLAY"' \
|
||||
@ -819,30 +862,30 @@ else
|
||||
fi
|
||||
|
||||
if [[ -z "${PW_ALL_DF}" ]] ; then
|
||||
"${pw_yad}" --key=$KEY --notebook --expand \
|
||||
"${pw_yad}" --key=$KEY_MENU --notebook --expand \
|
||||
--gui-type="settings-notebook" --active-tab="${TAB_MAIN_MENU}" \
|
||||
--width="${PW_MAIN_SIZE_W}" --height="${PW_MAIN_SIZE_H}" --no-buttons \
|
||||
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" \
|
||||
--tab-pos="bottom" \
|
||||
--tab="$(gettext "AUTOINSTALLS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "EMULATORS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "WINE SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "PORTPROTON SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "INSTALLED")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null
|
||||
--tab="${translations[AUTOINSTALLS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="${translations[EMULATORS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="${translations[WINE SETTINGS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="${translations[PORTPROTON SETTINGS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="${translations[INSTALLED]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null
|
||||
YAD_STATUS="$?"
|
||||
else
|
||||
"${pw_yad}" --key=$KEY --notebook --expand \
|
||||
"${pw_yad}" --key=$KEY_MENU --notebook --expand \
|
||||
--gui-type="settings-notebook" --active-tab="${TAB_MAIN_MENU}" \
|
||||
--width="${PW_MAIN_SIZE_W}" --height="${PW_MAIN_SIZE_H}" --no-buttons \
|
||||
--window-icon="$PW_GUI_ICON_PATH/portproton.svg" \
|
||||
--title "PortProton-${install_ver} (${scripts_install_ver}${BRANCH_VERSION})" \
|
||||
--tab-pos="bottom" \
|
||||
--tab="$(gettext "INSTALLED")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "AUTOINSTALLS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "EMULATORS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "WINE SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="$(gettext "PORTPROTON SETTINGS")"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null
|
||||
--tab="${translations[INSTALLED]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="${translations[AUTOINSTALLS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="${translations[EMULATORS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="${translations[WINE SETTINGS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" \
|
||||
--tab="${translations[PORTPROTON SETTINGS]}"!"$PW_GUI_ICON_PATH/$TAB_SIZE.png"!"" 2>/dev/null
|
||||
YAD_STATUS="$?"
|
||||
fi
|
||||
|
||||
@ -924,7 +967,7 @@ esac
|
||||
pw_start_cont_xterm) pw_start_cont_xterm ;;
|
||||
pw_find_exe) pw_find_exe ;;
|
||||
PW_*) pw_autoinstall_from_db ;;
|
||||
*.desktop) run_desktop_b_click ;;
|
||||
*.desktop) button_click --desktop ;;
|
||||
1|252|*) exit 0 ;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user