Scripts version 2080
This commit is contained in:
parent
d13c62e068
commit
b36c15db02
@ -2,6 +2,11 @@ You can help us in the development of the project on the website: https://boosty
|
|||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
Changelog:
|
Changelog:
|
||||||
|
|
||||||
|
###Scripts version 2080###
|
||||||
|
* added progress display of winetricks and library downloads during prefix update
|
||||||
|
* added display of the startup process with log output on the fly when using the DEBUG mode
|
||||||
|
* removed from DEBUG information output that does not affect the operation of PortProton (gstreamer, ntlm, kerberos)
|
||||||
|
|
||||||
###Scripts version 2079###
|
###Scripts version 2079###
|
||||||
* fixed DLSS work on some systems
|
* fixed DLSS work on some systems
|
||||||
* reduced boot logo by 30%
|
* reduced boot logo by 30%
|
||||||
|
@ -2,6 +2,11 @@
|
|||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
История изменений:
|
История изменений:
|
||||||
|
|
||||||
|
###Scripts version 2080###
|
||||||
|
* добавлено отображение прогресса работы winetricks и скачивания библиотек во время обновления префикса
|
||||||
|
* добавлено отображение процесса запуска с выводом лога на лету при использовании режима DEBUG
|
||||||
|
* убран из DEBUG вывод информации не влияющий на работу PortProton (gstreamer, ntlm, kerberos)
|
||||||
|
|
||||||
###Scripts version 2079###
|
###Scripts version 2079###
|
||||||
* исправлена возможность запуска DLSS на некоторых системах и играх
|
* исправлена возможность запуска DLSS на некоторых системах и играх
|
||||||
* уменьшено загрузочное лого на 30%
|
* уменьшено загрузочное лого на 30%
|
||||||
|
@ -46,7 +46,7 @@ then
|
|||||||
export port_start7="Запустить winetricks"
|
export port_start7="Запустить winetricks"
|
||||||
export port_start8="DXVK"
|
export port_start8="DXVK"
|
||||||
|
|
||||||
export port_debug="Не торопитесь!\nПосле окончания работы ${portname}, нажмите ОК."
|
export port_debug="Не торопитесь! После окончания работы ${portname}, нажмите STOP."
|
||||||
|
|
||||||
export loc_creat_shortcut="Создать ярлык для запускаемого файла."
|
export loc_creat_shortcut="Создать ярлык для запускаемого файла."
|
||||||
export loc_debug="Запуск c созданием .log файла в корне ${portname}"
|
export loc_debug="Запуск c созданием .log файла в корне ${portname}"
|
||||||
@ -148,7 +148,7 @@ then
|
|||||||
export port_start7="Run winetricks"
|
export port_start7="Run winetricks"
|
||||||
export port_start8="DXVK"
|
export port_start8="DXVK"
|
||||||
|
|
||||||
export port_debug="Please wait!\nAfter finishing the ${portname}, click OK."
|
export port_debug="Please wait! After finishing the ${portname}, click STOP."
|
||||||
|
|
||||||
export PW_WAYLAND_INFO="Attention! You are running $portname in a Wayland session, some features may not be available!\nRestarting your session in X11 is recommended!"
|
export PW_WAYLAND_INFO="Attention! You are running $portname in a Wayland session, some features may not be available!\nRestarting your session in X11 is recommended!"
|
||||||
|
|
||||||
|
@ -13,9 +13,9 @@ then
|
|||||||
mv -f "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!install.exe" "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!.exe"
|
mv -f "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!install.exe" "${PORT_WINE_PATH}/data/pfx_dotnet/drive_c/Program Files (x86)/OSU/osu!.exe"
|
||||||
fi
|
fi
|
||||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/OSU/osu!.exe"
|
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/OSU/osu!.exe"
|
||||||
portwine_create_shortcut
|
# pw_run "${PW_AUTOINSTALL_EXE}"
|
||||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
|
||||||
pw_stop_progress_bar
|
pw_stop_progress_bar
|
||||||
|
portwine_create_shortcut
|
||||||
kill_portwine
|
kill_portwine
|
||||||
fi
|
fi
|
||||||
stop_portwine
|
stop_portwine
|
||||||
|
@ -474,7 +474,7 @@ start_portwine () {
|
|||||||
# init_wine_ver
|
# init_wine_ver
|
||||||
# fi
|
# fi
|
||||||
${pw_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" \
|
${pw_runtime} env PATH="${PATH}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" \
|
||||||
"${PORT_WINE_TMP_PATH}/winetricks" -q -r -f ${PW_DLL_NEED_INSTALL} 2>&1 | tr /n /r | grep -i "" &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
|
"${PORT_WINE_TMP_PATH}/winetricks" -q -r -f ${PW_DLL_NEED_INSTALL} &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
|
||||||
# if [ "${PW_WINE_VER_FROM_DB}" != "${PW_PROTON_STEAM_VER}" ] ; then
|
# if [ "${PW_WINE_VER_FROM_DB}" != "${PW_PROTON_STEAM_VER}" ] ; then
|
||||||
# export PW_SILENT_RESTART=1
|
# export PW_SILENT_RESTART=1
|
||||||
# /usr/bin/env bash ${pw_full_command_line[*]} &
|
# /usr/bin/env bash ${pw_full_command_line[*]} &
|
||||||
|
@ -178,12 +178,31 @@ portwine_start_debug () {
|
|||||||
export DXVK_HUD="full"
|
export DXVK_HUD="full"
|
||||||
|
|
||||||
portwine_launch &
|
portwine_launch &
|
||||||
sleep 1 && zenity --info --title "DEBUG" --text "${port_debug}" --no-wrap &> /dev/null && kill_portwine
|
sleep 3
|
||||||
sed -i '/gstreamer-1.0/d' "${PORT_WINE_PATH}/${portname}.log"
|
pw_stop_progress_bar_cover
|
||||||
sed -i '/winemenubuilder.exe/d' "${PORT_WINE_PATH}/${portname}.log"
|
unset PW_TIMER
|
||||||
|
while read -r line || [[ ! -z `pgrep -a yad | grep "yad_new --text-info --tail --button="STOP":0 --title="DEBUG"" | awk '{print $1}'` ]] ; do
|
||||||
|
sleep 0.005
|
||||||
|
if [[ ! -z "${line}" ]] && [[ -z "`echo "${line}" | grep -i "gstreamer"`" ]] \
|
||||||
|
&& [[ -z "`echo "${line}" | grep -i "kerberos"`" ]] \
|
||||||
|
&& [[ -z "`echo "${line}" | grep -i "ntlm"`" ]]
|
||||||
|
then
|
||||||
|
echo "# ${line}"
|
||||||
|
fi
|
||||||
|
if [[ "${PW_TIMER}" != 1 ]] ; then
|
||||||
|
sleep 3
|
||||||
|
PW_TIMER=1
|
||||||
|
fi
|
||||||
|
done < "${PORT_WINE_PATH}/${portname}.log" | "${pw_yad_new}" --text-info --tail --button="STOP":0 --title="DEBUG" \
|
||||||
|
--skip-taskbar --center --width=800 --height=400 --text "${port_debug}" &&
|
||||||
|
kill_portwine
|
||||||
|
# sleep 1 && zenity --info --title "DEBUG" --text "${port_debug}" --no-wrap &> /dev/null && kill_portwine
|
||||||
sed -i '/.fx$/d' "${PORT_WINE_PATH}/${portname}.log"
|
sed -i '/.fx$/d' "${PORT_WINE_PATH}/${portname}.log"
|
||||||
|
sed -i '/GStreamer/d' "${PORT_WINE_PATH}/${portname}.log"
|
||||||
|
sed -i '/kerberos/d' "${PORT_WINE_PATH}/${portname}.log"
|
||||||
|
sed -i '/ntlm/d' "${PORT_WINE_PATH}/${portname}.log"
|
||||||
|
sed -i '/winemenubuilder.exe/d' "${PORT_WINE_PATH}/${portname}.log"
|
||||||
sed -i '/HACK_does_openvr_work/d' "${PORT_WINE_PATH}/${portname}.log"
|
sed -i '/HACK_does_openvr_work/d' "${PORT_WINE_PATH}/${portname}.log"
|
||||||
sed -i '/dlopen failed - libgamemode.so/d' "${PORT_WINE_PATH}/${portname}.log"
|
|
||||||
sed -i '/Uploading is disabled/d' "${PORT_WINE_PATH}/${portname}.log"
|
sed -i '/Uploading is disabled/d' "${PORT_WINE_PATH}/${portname}.log"
|
||||||
deb_text=$(cat "${PORT_WINE_PATH}/${portname}.log" | awk '! a[$0]++')
|
deb_text=$(cat "${PORT_WINE_PATH}/${portname}.log" | awk '! a[$0]++')
|
||||||
echo "$deb_text" > "${PORT_WINE_PATH}/${portname}.log"
|
echo "$deb_text" > "${PORT_WINE_PATH}/${portname}.log"
|
||||||
@ -222,11 +241,19 @@ pw_winetricks () {
|
|||||||
start_portwine
|
start_portwine
|
||||||
pw_stop_progress_bar
|
pw_stop_progress_bar
|
||||||
echo "WINETRICKS..." > "${PORT_WINE_TMP_PATH}/update_pfx_log"
|
echo "WINETRICKS..." > "${PORT_WINE_TMP_PATH}/update_pfx_log"
|
||||||
while [[ -f "${PORT_WINE_TMP_PATH}/update_pfx_log" ]] ; do
|
unset PW_TIMER
|
||||||
sleep 1
|
while read -r line || [[ ! -z `pgrep -a yad | grep "yad_new --text-info --tail --no-buttons --title="WINETRICKS"" | awk '{print $1}'` ]] ; do
|
||||||
while read -r line ; do
|
sleep 0.005
|
||||||
echo "# ${line}"
|
if [[ ! -z "${line}" ]] && [[ -z "`echo "${line}" | grep -i "gstreamer"`" ]] \
|
||||||
done
|
&& [[ -z "`echo "${line}" | grep -i "kerberos"`" ]] \
|
||||||
|
&& [[ -z "`echo "${line}" | grep -i "ntlm"`" ]]
|
||||||
|
then
|
||||||
|
echo "# ${line}"
|
||||||
|
fi
|
||||||
|
if [[ "${PW_TIMER}" != 1 ]] ; then
|
||||||
|
sleep 3
|
||||||
|
PW_TIMER=1
|
||||||
|
fi
|
||||||
done < "${PORT_WINE_TMP_PATH}/update_pfx_log" | "${pw_yad_new}" --text-info --tail --no-buttons --title="WINETRICKS" \
|
done < "${PORT_WINE_TMP_PATH}/update_pfx_log" | "${pw_yad_new}" --text-info --tail --no-buttons --title="WINETRICKS" \
|
||||||
--auto-close --skip-taskbar --width=$PW_GIF_SIZE_X --height=$PW_GIF_SIZE_Y &
|
--auto-close --skip-taskbar --width=$PW_GIF_SIZE_X --height=$PW_GIF_SIZE_Y &
|
||||||
"${PORT_WINE_TMP_PATH}/winetricks" -q -r -f &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
|
"${PORT_WINE_TMP_PATH}/winetricks" -q -r -f &>>"${PORT_WINE_TMP_PATH}/update_pfx_log"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/env bash
|
#!/bin/env bash
|
||||||
#Author: Castro-Fidel (PortWINE-Linux.ru)
|
#Author: Castro-Fidel (PortWINE-Linux.ru)
|
||||||
#SCRIPTS_NEXT_VERSION=2079
|
#SCRIPTS_NEXT_VERSION=2080
|
||||||
#PORT_NEXT_VERSION=97
|
#PORT_NEXT_VERSION=97
|
||||||
########################################################################
|
########################################################################
|
||||||
export PW_MANGOHUD=1
|
export PW_MANGOHUD=1
|
||||||
|
@ -48,12 +48,20 @@ pw_update_pfx_cover_gui () {
|
|||||||
PW_GIF_SIZE_X=`file "${PW_GIF_FILE}" | awk '{print $7 + 40}'`
|
PW_GIF_SIZE_X=`file "${PW_GIF_FILE}" | awk '{print $7 + 40}'`
|
||||||
PW_GIF_SIZE_Y=`file "${PW_GIF_FILE}" | awk '{print $9 + 80}'`
|
PW_GIF_SIZE_Y=`file "${PW_GIF_FILE}" | awk '{print $9 + 80}'`
|
||||||
echo "UPDATE PREFIX..." > "${PORT_WINE_TMP_PATH}/update_pfx_log"
|
echo "UPDATE PREFIX..." > "${PORT_WINE_TMP_PATH}/update_pfx_log"
|
||||||
while [[ -f "${PORT_WINE_TMP_PATH}/update_pfx_log" ]] ; do
|
unset PW_TIMER
|
||||||
sleep 1
|
while read -r line || [[ ! -z `pgrep -a yad | grep "yad_new --notebook --key="$PW_KEY_PROGRESS_BAR"" | awk '{print $1}'` ]] ; do
|
||||||
while read -r gui_line ; do
|
sleep 0.005
|
||||||
echo "# ${gui_line}"
|
if [[ ! -z "${line}" ]] && [[ -z "`echo "${line}" | grep -i "gstreamer"`" ]] \
|
||||||
done
|
&& [[ -z "`echo "${line}" | grep -i "kerberos"`" ]] \
|
||||||
done < "${PORT_WINE_TMP_PATH}/update_pfx_log" | "${pw_yad_new}" --plug=$PW_KEY_PROGRESS_BAR --tabnum="2" --text-info --tail &
|
&& [[ -z "`echo "${line}" | grep -i "ntlm"`" ]]
|
||||||
|
then
|
||||||
|
echo "# ${line}"
|
||||||
|
fi
|
||||||
|
if [[ "${PW_TIMER}" != 1 ]] ; then
|
||||||
|
sleep 3
|
||||||
|
PW_TIMER=1
|
||||||
|
fi
|
||||||
|
done < "${PORT_WINE_TMP_PATH}/update_pfx_log" | "${pw_yad_new}" --plug=$PW_KEY_PROGRESS_BAR --tabnum="2" --text-info --tail &
|
||||||
"${pw_yad_new}" --plug=$PW_KEY_PROGRESS_BAR --tabnum="1" --picture --filename="${PW_GIF_FILE}" --image-on-top &
|
"${pw_yad_new}" --plug=$PW_KEY_PROGRESS_BAR --tabnum="1" --picture --filename="${PW_GIF_FILE}" --image-on-top &
|
||||||
|
|
||||||
"${pw_yad_new}" --notebook --key="$PW_KEY_PROGRESS_BAR" --tab=LOGO --tab=TERMINAL --no-buttons --undecorated \
|
"${pw_yad_new}" --notebook --key="$PW_KEY_PROGRESS_BAR" --tab=LOGO --tab=TERMINAL --no-buttons --undecorated \
|
||||||
@ -77,8 +85,7 @@ pw_start_progress_bar_block () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pw_stop_progress_bar () {
|
pw_stop_progress_bar () {
|
||||||
for PW_KILL_YAD_PID in "$PW_YAD_PID_PROGRESS_BAR_BLOCK" "$PW_YAD_PID_PROGRESS_BAR_CS" "$PW_YAD_PID_PFX_COVER_UI" \
|
for PW_KILL_YAD_PID in "$PW_YAD_PID_PROGRESS_BAR_BLOCK" "$PW_YAD_PID_PROGRESS_BAR_CS" "$PW_YAD_PID_PFX_COVER_UI" "$PW_YAD_PID_PROGRESS_BAR_COVER"
|
||||||
"$PW_YAD_PID_PROGRESS_BAR_COVER" "${PW_YAD_PID_PROGRESS_BAR_COVER}"
|
|
||||||
do
|
do
|
||||||
kill -s SIGUSR1 "$PW_KILL_YAD_PID" > /dev/null 2>&1
|
kill -s SIGUSR1 "$PW_KILL_YAD_PID" > /dev/null 2>&1
|
||||||
done
|
done
|
||||||
@ -86,6 +93,11 @@ pw_stop_progress_bar () {
|
|||||||
}
|
}
|
||||||
export -f pw_stop_progress_bar
|
export -f pw_stop_progress_bar
|
||||||
|
|
||||||
|
pw_stop_progress_bar_cover () {
|
||||||
|
kill -s KILL "$PW_YAD_PID_PROGRESS_BAR_COVER" > /dev/null 2>&1
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
open_changelog () {
|
open_changelog () {
|
||||||
"${pw_yad}" --title="Changelog" --borders=10 --no-buttons --text-align=center \
|
"${pw_yad}" --title="Changelog" --borders=10 --no-buttons --text-align=center \
|
||||||
--text-info --show-uri --wrap --center --width=1200 --height=550 --uri-color=red \
|
--text-info --show-uri --wrap --center --width=1200 --height=550 --uri-color=red \
|
||||||
|
Loading…
Reference in New Issue
Block a user