forked from CastroFidel/PortWINE
Scripts version 2191
This commit is contained in:
@ -50,7 +50,7 @@ pw_update_pfx_cover_gui () {
|
||||
PW_GIF_SIZE_Y=`file "${PW_GIF_FILE}" | awk '{print $9 + 80}'`
|
||||
echo "UPDATE PREFIX..." > "${PORT_WINE_TMP_PATH}/update_pfx_log"
|
||||
unset PW_TIMER
|
||||
while read -r line || [[ ! -z `pgrep -a yad | grep "yad_new --notebook --key="$PW_KEY_PROGRESS_BAR"" | awk '{print $1}'` ]] ; do
|
||||
while read -r line || [[ ! -z `pgrep -a yad | grep "yad_v12_3 --notebook --key="$PW_KEY_PROGRESS_BAR"" | awk '{print $1}'` ]] ; do
|
||||
sleep 0.005
|
||||
if [[ ! -z "${line}" ]] && [[ -z "`echo "${line}" | grep -i "gstreamer"`" ]] \
|
||||
&& [[ -z "`echo "${line}" | grep -i "kerberos"`" ]] \
|
||||
@ -62,10 +62,10 @@ pw_update_pfx_cover_gui () {
|
||||
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 &
|
||||
done < "${PORT_WINE_TMP_PATH}/update_pfx_log" | "${pw_yad_v12_3}" --plug=$PW_KEY_PROGRESS_BAR --tabnum="2" --text-info --tail &
|
||||
"${pw_yad_v12_3}" --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_v12_3}" --notebook --key="$PW_KEY_PROGRESS_BAR" --tab=LOGO --tab=TERMINAL --no-buttons --undecorated \
|
||||
--center --auto-close --skip-taskbar --width=$PW_GIF_SIZE_X --height=$PW_GIF_SIZE_Y --tab-pos=bottom &
|
||||
export PW_YAD_PID_PFX_COVER_UI="$!"
|
||||
return 0
|
||||
@ -109,8 +109,8 @@ open_changelog () {
|
||||
export -f open_changelog
|
||||
|
||||
pw_tray_icon () {
|
||||
if [ ! -z "`pgrep -a yad_new | grep "\-\-notification" | awk '{print $1}'`" ] ; then
|
||||
kill -s SIGUSR1 "`pgrep -a yad_new | grep "\-\-notification" | awk '{print $1}'`"
|
||||
if [ ! -z "`pgrep -a yad_v12_3 | grep "\-\-notification" | awk '{print $1}'`" ] ; then
|
||||
kill -s SIGUSR1 "`pgrep -a yad_v12_3 | grep "\-\-notification" | awk '{print $1}'`"
|
||||
fi
|
||||
|
||||
tray_icon_click () {
|
||||
@ -134,7 +134,7 @@ pw_tray_icon () {
|
||||
}
|
||||
export -f tray_icon_click_exit
|
||||
|
||||
"${pw_yad_new}" --notification --no-middle \
|
||||
"${pw_yad_v12_3}" --notification --no-middle \
|
||||
--window-icon="$PW_GUI_ICON_PATH/port_proton.png" \
|
||||
--image="$PW_GUI_ICON_PATH/port_proton.png" \
|
||||
--command="bash -c tray_icon_click" \
|
||||
@ -171,7 +171,7 @@ pw_gui_for_edit_db () {
|
||||
edit_db_field_add $@
|
||||
old_IFS=$IFS
|
||||
IFS="%"
|
||||
"${pw_yad_new}" --plug=$KEY_EDIT_DB_GUI --tabnum="1" --form --separator=" " --columns=4 ${ADD_CHK_BOX_EDIT_DB} \
|
||||
"${pw_yad_v12_3}" --plug=$KEY_EDIT_DB_GUI --tabnum="1" --form --separator=" " --columns=4 ${ADD_CHK_BOX_EDIT_DB} \
|
||||
1> "${PORT_WINE_TMP_PATH}/tmp_output_yad_edit_db" &
|
||||
IFS=$old_IFS
|
||||
|
||||
@ -180,7 +180,7 @@ pw_gui_for_edit_db () {
|
||||
"XP") ADD_WINVER_EDIT_DB="XP!7!10" ;;
|
||||
*) ADD_WINVER_EDIT_DB="10!7!XP" ;;
|
||||
esac
|
||||
"${pw_yad_new}" --plug=$KEY_EDIT_DB_GUI --tabnum="2" --form --separator="%" --columns=1 \
|
||||
"${pw_yad_v12_3}" --plug=$KEY_EDIT_DB_GUI --tabnum="2" --form --separator="%" --columns=1 \
|
||||
--field="${loc_gui_ver_windows}!${loc_gui_ver_windows_help} :CB" "${ADD_WINVER_EDIT_DB}" \
|
||||
--field="${loc_gui_aut_winetricks}!${loc_gui_aut_winetricks_help} :CBE" "${PW_DLL_INSTALL}!vcrun2019 corefonts lucida" \
|
||||
--field="${loc_gui_winedllover}!${loc_gui_winedllover_help} :CBE" "${WINEDLLOVERRIDES}!libglesv2=!d3dx9_36,d3dx9_42=n,b;mfc120=b,n" \
|
||||
@ -189,7 +189,7 @@ pw_gui_for_edit_db () {
|
||||
--field=":LBL" "" \
|
||||
--field="${loc_gui_mango_fps}!${loc_gui_mango_fps_help} :SCL" ${FPS_LIMIT_VAR} 2>/dev/null 1> "${PORT_WINE_TMP_PATH}/tmp_output_yad_fps_limit" &
|
||||
|
||||
"${pw_yad_new}" --paned --key="$KEY_EDIT_DB_GUI" --title "EDIT_DB" --text-align=center --height="550" \
|
||||
"${pw_yad_v12_3}" --paned --key="$KEY_EDIT_DB_GUI" --title "EDIT_DB" --text-align=center --height="650" \
|
||||
--text "${loc_gui_edit_db} <b>${PORTWINE_DB}</b>\n ${loc_gui_edit_db_help}" --separator=" " --borders=10 --center \
|
||||
--window-icon="$PW_GUI_ICON_PATH/port_proton.png" \
|
||||
--button="${loc_gui_cancel}"!!"${loc_gui_cancel_help}":1 \
|
||||
@ -405,16 +405,16 @@ gui_vkBasalt () {
|
||||
fi
|
||||
export old_IFS=$IFS
|
||||
export IFS="%"
|
||||
"${pw_yad_new}" --plug=$KEY_FX_GUI --tabnum="1" --form --columns=5 --separator=" " \
|
||||
"${pw_yad_v12_3}" --plug=$KEY_FX_GUI --tabnum="1" --form --columns=5 --separator=" " \
|
||||
--text-align=center --text="$loc_gui_vkbasalt_top" \
|
||||
${ADD_GUI_FX} 1> "${PORT_WINE_TMP_PATH}/tmp_yad_basalt_set" &
|
||||
export IFS="${old_IFS}"
|
||||
|
||||
"${pw_yad_new}" --plug=$KEY_FX_GUI --tabnum="2" --separator=" " --form \
|
||||
"${pw_yad_v12_3}" --plug=$KEY_FX_GUI --tabnum="2" --separator=" " --form \
|
||||
--field="AMD FidelityFX - Contrast Adaptive Sharpening"!"$loc_gui_ffx_cas":SCL "${VKBASALT_FFX_CAS_GUI}" \
|
||||
1> "${PORT_WINE_TMP_PATH}/tmp_yad_cas_set" &
|
||||
|
||||
"${pw_yad_new}" --paned --key="$KEY_FX_GUI" --height="500" --title="vkBasalt" --center --borders=10 \
|
||||
"${pw_yad_v12_3}" --paned --key="$KEY_FX_GUI" --height="700" --title="vkBasalt" --center --borders=10 \
|
||||
--separator=" " --window-icon="$PW_GUI_ICON_PATH/port_proton.png" \
|
||||
--button="$loc_gui_cancel"!!"$loc_gui_cancel_help":1 \
|
||||
--button="$loc_gui_disabled_vkbas"!!"$loc_gui_disabled_vkbas_help":180 \
|
||||
|
Reference in New Issue
Block a user