Spaces:
Configuration error
Configuration error
VHSgunzo commited on
Commit ·
835440d
1
Parent(s): 003a3b6
v0.78.2.2
Browse filesFiles changed (6)
- CHANGELOG.md+10
- lutris-wine+1-1
- lux-wine+182-191
- lwrap/PKGBUILD+2-2
- lwrap/lwrap.install+24-6
- main.zip+2-2
123# v0.78.2.1* Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages12345678910111213# v0.78.2.2* Add ability to create config for `msi`, `reg`, `bat` and `lnk`* Update DB script for `The Honkers Railway` `v1.6.0`* Update DB script for `Zona`* Replace all GUI on `Zenity` with `YAD`* Downgrade `Zenity` to `v3.44.2` in `lwrun`* Temporary replace `mesa` with `mesa-tkg-git` in `lwrun` (mesa v23.3.2 is broken)* Minor fixes# v0.78.2.1* Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
1LW_VERSION="0.78.2.1"1LW_VERSION="0.78.2.2"
123456224 unmodified lines231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314503 unmodified lines8188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868871758 unmodified lines264626472648264926502651265226532654265526562657781 unmodified lines34393440344134423443344434453446344734483449345034513452672 unmodified lines412541264127412841294130413141324133413441354136413741384139101 unmodified lines4241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642671411 unmodified lines567956805681568256835684568556866 unmodified lines5693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756111 unmodified lines58685869587058715872587358745 unmodified lines58805881588258835884588558863 unmodified lines58905891589258935894589558965897589821 unmodified lines592059215922592359245925592659275928592953 unmodified lines598359845985598659875988598912 unmodified lines6002600360046005600660076008600960107 unmodified lines601860196020602160226023602411 unmodified lines6036603760386039604060416042604360447 unmodified lines605260536054605560566057605812 unmodified lines607160726073607460756076607760786079#!/usr/bin/env bashexport LW_VERSION="0.78.2.1"export LW_DEVELOPERS="VHSgunzo"export RED='\033[1;91m'224 unmodified lines}print_error() {if [[ "$1" == "yad" && -n "$2" && -n "$3" ]] || [[ "$1" == "notify" && -n "$2" && -n "$3" ]]thenecho -e "${RED}[ ERROR ][$(date +"%Y.%m.%d %T")]: $3 $RESETCOLOR"elif [[ "$1" == "yad" && -n "$2" && ! -n "$3" ]] || [[ "$1" == "notify" && -n "$2" && ! -n "$3" ]]thenecho -e "${RED}[ ERROR ][$(date +"%Y.%m.%d %T")]: $2 $RESETCOLOR"elseecho -e "${RED}[ ERROR ][$(date +"%Y.%m.%d %T")]: $1 $RESETCOLOR"fiif [[ "$1" == "yad" && -n "$2" && -n "$3" && "$NO_YAD" != 1 ]]thenyad --window-icon="$LW_DEF_ICO" --image="dialog-error" --button="OK:0" --title="$2" --text="$3" \--center --on-top --fixed --timeout="30" --timeout-indicator="top" --selectable-labels Lux Wineelif [[ "$1" == "yad" && -n "$2" && ! -n "$3" && "$NO_YAD" != 1 ]]thenyad --window-icon="$LW_DEF_ICO" --image="dialog-error" --button="OK:0" --title="Lux Wine Error" \--text="$2" --center --on-top --fixed --timeout="30" --timeout-indicator="top" --selectable-labels Lux Wineelif [[ "$1" == "notify" && -n "$2" && -n "$3" && "$NO_NOTIFY" != 1 && "$NOT_TERM" == 1 ]]thennotify-send -i "$LW_DEF_ICO" -a 'Lux Wine Error' "$2" "$3" &elif [[ "$1" == "notify" && -n "$2" && ! -n "$3" && "$NO_NOTIFY" != 1 && "$NOT_TERM" == 1 ]]thennotify-send -i "$LW_DEF_ICO" -a 'Lux Wine Error' "$2" &fi}print_info() {if [ "$QUIET_MODE" != 1 ]thenif [[ "$1" == "yad" && -n "$2" && -n "$3" ]] || [[ "$1" == "notify" && -n "$2" && -n "$3" ]]thenecho -e "${GREEN}[ INFO ][$(date +"%Y.%m.%d %T")]: $3 $RESETCOLOR"elif [[ "$1" == "yad" && -n "$2" && ! -n "$3" ]] || [[ "$1" == "notify" && -n "$2" && ! -n "$3" ]]thenecho -e "${GREEN}[ INFO ][$(date +"%Y.%m.%d %T")]: $2 $RESETCOLOR"elseecho -e "${GREEN}[ INFO ][$(date +"%Y.%m.%d %T")]: $1 $RESETCOLOR"fiif [[ "$1" == "yad" && -n "$2" && -n "$3" && "$NO_YAD" != 1 ]]thenyad --window-icon="$LW_DEF_ICO" --image="dialog-information" --button="OK:0" --title="$2" --text="$3" \--center --on-top --fixed --timeout="30" --timeout-indicator="top" --selectable-labels Lux Wineelif [[ "$1" == "yad" && -n "$2" && ! -n "$3" && "$NO_YAD" != 1 ]]thenyad --window-icon="$LW_DEF_ICO" --image="dialog-information" --button="OK:0" --title="Lux Wine Info" \--text="$2" --center --on-top --fixed --timeout="30" --timeout-indicator="top" --selectable-labels Lux Wineelif [[ "$1" == "notify" && -n "$2" && -n "$3" && "$NO_NOTIFY" != 1 && "$NOT_TERM" == 1 ]]thennotify-send -i "$LW_DEF_ICO" -a 'Lux Wine Info' "$2" "$3" &elif [[ "$1" == "notify" && -n "$2" && ! -n "$3" && "$NO_NOTIFY" != 1 && "$NOT_TERM" == 1 ]]thennotify-send -i "$LW_DEF_ICO" -a 'Lux Wine Info' "$2" &fifi}print_question() {[ "$NO_YAD" != 1 ]||return 0if [[ -n "$1" && -n "$2" ]]thenyad --window-icon="$LW_DEF_ICO" --image="dialog-question" --button="NO:1" --button="YES:0" --title="$1" \--text="$2" --center --on-top --fixed --selectable-labels Lux Wineelif [[ -n "$1" && ! -n "$2" ]]thenyad --window-icon="$LW_DEF_ICO" --image="dialog-question" --button="NO:1" --button="YES:0" \--title="Lux Wine Question" --text="$1" --center --on-top --fixed --selectable-labels Lux Winefi}print_input() {if [[ -n "$1" && -n "$2" && -n "$3" ]]thenyad --window-icon="$LW_DEF_ICO" --entry --button="EXIT:1" --button="OK:0" --title="$1" --text="$2" \--center --on-top --fixed --entry-text="$3"elif [[ -n "$1" && -n "$2" && ! -n "$3" ]]thenyad --window-icon="$LW_DEF_ICO" --entry --button="EXIT:1" --button="OK:0" --title="Lux Wine Input" \--text="$1" --center --on-top --fixed --entry-text="$2"fi}503 unmodified lines}unpack_tar_xz() {set -o pipefailtry_mkdir "$2"TAR_NAME="$(basename "$1")"tar -Jxf "$1" -C "$2"|settingbar_nostdout "Unpacking $TAR_NAME" "Unpacking $TAR_NAME is in progress. Please wait..."[ "${PIPESTATUS[0]}" != 0 ] && print_error "File $TAR_NAME unpacked with error!" && return 1 || return 0}unpack_tar_gz() {set -o pipefailtry_mkdir "$2"TAR_NAME="$(basename "$1")"tar -xzvf "$1" -C "$2"|settingbar_nostdout "Unpacking $TAR_NAME" "Unpacking $TAR_NAME is in progress. Please wait..."[ "${PIPESTATUS[0]}" != 0 ] && print_error "File $TAR_NAME unpacked with error!" && return 1 || return 0}unpack_tar_zst() {set -o pipefailtry_mkdir "$2"TAR_NAME="$(basename "$1")"tar --use-compress-program=unzstd -xvf "$1" -C "$2"|settingbar_nostdout "Unpacking $TAR_NAME" "Unpacking $TAR_NAME is in progress. Please wait..."[ "${PIPESTATUS[0]}" != 0 ] && print_error "File $TAR_NAME unpacked with error!" && return 1 || return 0}unpack_tar() {set -o pipefailtry_mkdir "$2"TAR_NAME="$(basename "$1")"tar -xvf "$1" -C "$2"|settingbar_nostdout "$TAR_NAME" "Unpacking $TAR_NAME is in progress. Please wait..."[ "${PIPESTATUS[0]}" != 0 ] && print_error "File $TAR_NAME unpacked with error!" && return 1 || return 0}settingbar() {SETTBARKEY="$RANDOM"SETTOUTFILE="/tmp/lwsettout$SETTBARKEY"if [[ -n "$1" && -n "$2" ]]thentee "$SETTOUTFILE"|& zenity --window-icon="$LW_DEF_ICO_PTH" --progress --pulsate --auto-close \--width=650 --height=40 --no-cancel --title="$1" --text="$2" "$SETTBARKEY" Lux Wine &elif [[ -n "$1" && ! -n "$2" ]]thentee "$SETTOUTFILE"|& zenity --window-icon="$LW_DEF_ICO_PTH" --progress --pulsate --auto-close \--width=650 --height=40 --no-cancel --title="Settings" --text="$1" "$SETTBARKEY" Lux Wine &elsetee "$SETTOUTFILE"|& zenity --window-icon="$LW_DEF_ICO_PTH" --progress --pulsate --auto-close \--width=650 --height=40 --no-cancel --title="Settings" --text="Updating parameters is in progress. Please wait..." "$SETTBARKEY" Lux Wine &fisleep 0.1tail --pid="$!" -q -f "$SETTOUTFILE"try_rm "$SETTOUTFILE"}settingbar_nostdout() {if [[ -n "$1" && -n "$2" ]]thenzenity --window-icon="$LW_DEF_ICO_PTH" --progress --pulsate --auto-close \--width=650 --height=40 --no-cancel --title="$1" --text="$2" Lux Wineelif [[ -n "$1" && ! -n "$2" ]]thenzenity --window-icon="$LW_DEF_ICO_PTH" --progress --pulsate --auto-close \--width=650 --height=40 --no-cancel --title="Settings" --text="$1" Lux Wineelsezenity --window-icon="$LW_DEF_ICO_PTH" --progress --pulsate --auto-close \--width=650 --height=40 --no-cancel --title="Settings" --text="Updating parameters is in progress. Please wait..." Lux Winefi}shell_is_death() {1758 unmodified linesexport_all_functionsif ! [[ "${DEPRECATE_INIT[@]}" =~ "$1" ]] || [ ! -n "$1" ]thenif [ ! -n "$SETT_INIT" ] && [[ -n "$(pgrep -fa 'zenity'|grep -w 'Runtime initialization'|awk '{print$1}')" \|| -n "$(pgrep -fa 'zenity'|grep -w 'Updating parameters'|awk '{print$1}')" ]]thenprint_info yad "Initialization is in progress! Please wait..."while pgrep -fa 'zenity'|grep -w 'Runtime initialization' &>/dev/null ; do sleep 1 ; donewhile pgrep -fa 'zenity'|grep -w 'Updating parameters' &>/dev/null ; do sleep 1 ; donefi[[ -n "$SETT_INIT" || "$1" == "-init" ]] && \initbar && rm -rf "$LW_DIR/.lwcfgchksum"781 unmodified lineslu_exit() {check_tray; check_wine_pids; check_exes; check_luwine_sh_pidif [[ -n "$WINE_PIDS" || -n "$EXE_PIDS" || -n "$TRAY_PID" || -n "$LW_SH_PID" \|| -n "$(pgrep -fa 'yad'|grep 'Lux Wine'|awk '{print$1}')" \|| -n "$(pgrep -fa 'zenity'|grep 'Lux Wine'|awk '{print$1}')" ]]thentouch /tmp/FORCE_EXITlu_killshell "$@"lu_killexelu_killwine "$@"kill $(pgrep -fa 'zenity'|grep 'Lux Wine'|awk '{print$1}') 2>/dev/nullkill $(pgrep -fa 'yad'|grep 'Lux Wine'|awk '{print$1}') 2>/dev/nullkill $(pgrep -fa 'Winetricks'|awk '{print$1}') 2>/dev/nullpkill winetricks 2>/dev/null672 unmodified linesget_wine_git_lst() {[ -n "$WGUIDW" ]||local WGUIDW=$RANDOMif [[ ! -n "$PGE_GIT_LIST" || ! -n "$WLU_GIT_LIST" || ! -n "$WK4_GIT_LIST" || ! -n "$WGE_GIT_LIST" ]]thencatlist() { cat /tmp/${1}GITLIST$WGUIDW 2>/dev/null ; }print_info notify "Сhecking new Wine versions on GitHub..."(get_wlu_releases 1>"/tmp/WLUGITLIST$WGUIDW" &get_pge_releases 1>"/tmp/PGEGITLIST$WGUIDW" &get_wge_releases 1>"/tmp/WGEGITLIST$WGUIDW" &get_wk4_releases 1>"/tmp/WK4GITLIST$WGUIDW" &wait)|settingbar_nostdout "Сhecking GitHub" "Сhecking new Wine versions on GitHub..."WLU_GIT_LIST="$(catlist 'WLU')"PGE_GIT_LIST="$(catlist 'PGE')"WGE_GIT_LIST="$(catlist 'WGE')"101 unmodified lines}if [ -n "$(echo "$WDEL_SET"|head -1)" ]then(IFS=$'\n' ; for WINE_DEL in $(echo "$WDEL_SET"|sedspaces)doif [[ -d "$LW_RUNTIME_DIR/dxvk/$WINE_DEL" \|| -d "$LW_RUNTIME_DIR/vkd3d/$WINE_DEL" \|| -d "$LW_RUNTIME_DIR/dxvk-nvapi/$WINE_DEL" ]]thenif print_question "Remove DXVK, DXVK-NVAPI and VKD3D from ${WINE_DEL}?"thenrm_pd3dllsed -i "/DXVK_NVAPI_VERSION='$WINE_DEL'/d;/DXVK_VERSION='$WINE_DEL'/d;/VKD3D_VERSION='$WINE_DEL'/d" "$LW_CFG" 2>/dev/nullprint_info notify "Removing DXVK, DXVK-NVAPI and VKD3D from $WINE_DEL completed!"elserm_pd3dllWINE_VERSION="$WINE_DEL" WINEDIR="$LW_WINE_DIR/$WINE_DEL" get_proton_d3dlib 'cp'unset P_DXVK P_NVAPI P_VKD3Dfifitry_rm "$LW_WINE_DIR/$WINE_DEL"print_info notify "Removing $WINE_DEL completed!"[ "$WINE_VERSION" == "$WINE_DEL" ] && touch "/tmp/WINEINUSEDEL$WGUIDW"done)|settingbar "Wine Manager" "Deletion is in progress. Please wait..."if [ -f "/tmp/WINEINUSEDEL$WGUIDW" ]thenif [[ -n "$(ls -1 -t "$LW_WINE_DIR" 2>/dev/null|grep -v '.*.tar.*'|head -1)" || -n "$SYS_WINE" ]]1411 unmodified linesLWRUNTIMELST="dxvk vkd3d dxvk-nvapi wine_nvml d3d_extras dgvoodoo2 battleye_runtime eac_runtime winetricks"check_winepfxif [ "$2" == "all" ]thenupd_all|settingbar "Runtime Updater" "Updating Lux Wine Runtime is in progress. Please wait..."elif [[ ! -n "$2" || "$2" == "openupdtr" ]]thenif [ ! -n "$(pgrep -fa yad|grep "Runtime Updater"|awk '{print$1}')" ]; then :6 unmodified lines--text-align=center --center --window-icon="$LW_DEF_ICO" \--width=400 --height=500 --button="UPDATE ALL:2" --button="EXIT:1" --button="OK:0" 2>/dev/null)"if [ "$?" == "2" ]thenupd_all|settingbar "Runtime Updater" "Updating Lux Wine Runtime is in progress. Please wait..."elif [ -n "$(echo "$LW_RUN_UPD"|head -1)" ]thenLW_RUN_UPD="$(echo "$LW_RUN_UPD"|sed '/^TRUE$/d'|sed '/^$/d')"(IFS=$'\n' ; for LWRUNUPD in $LW_RUN_UPDdocase "$LWRUNUPD" inbattleye_runtime) upd_battleye &sleep 0.2 ;;eac_runtime) upd_eac &sleep 0.2 ;;d3d_extras) upd_d3d_extras &sleep 0.2 ;;dgvoodoo2) upd_dgvoodoo2 &sleep 0.2 ;;dxvk) upd_dxvk &sleep 0.2 ;;dxvk-nvapi) upd_dxvk_nvapi &sleep 0.2 ;;vkd3d) upd_vkd3d &sleep 0.2 ;;wine_nvml) upd_wine_nvml &sleep 0.2 ;;winetricks) upd_winetricks &sleep 0.2 ;;esacdonewait)|settingbar "Runtime Updater" "Updating Lux Wine Runtime is in progress. Please wait..."print_info notify "Runtime update completed!"fielse(while [[ -n "$2" ]]docase "$2" inbat|battleye|battleye_runtime) upd_battleye &sleep 0.2 ;;eac|eac_runtime) upd_eac &sleep 0.2 ;;d3d|d3d_extras|d3d-extras) upd_d3d_extras &sleep 0.2 ;;dg|dgvoodoo2) upd_dgvoodoo2 &sleep 0.2 ;;dx|dxvk) upd_dxvk &sleep 0.2 ;;dxnv|dxvk-nvapi|dxvk_nvapi) upd_dxvk_nvapi &sleep 0.2 ;;vkd|vkd3d) upd_vkd3d &sleep 0.2 ;;nvml|wine_nvml) upd_wine_nvml &sleep 0.2 ;;wtrx|winetricks) upd_winetricks &sleep 0.2 ;;*) print_error "Invalid argument: '$2'" ;;esacshiftdonewait)|settingbar "Runtime Updater" "Updating Lux Wine Runtime is in progress. Please wait..."print_info notify "Runtime update completed!"fi}111 unmodified linesexport SORTU="sort -u"export -f print_var print_error print_info check_tray check_wine_pids check_luwine_pid check_vkd3dconfig try_rm check_themes import_cenv sedspaces \check_luwine_sh_pid check_exes check_compositor try_mkdir check_symlink check_netcore try_download check_cpu_limit ld_lib_upd wait_kill_exe \unpack_tar_xz unpack_tar_gz unpack_tar settingbar shell_is_death exe_is_death exes_is_death wine_is_death try_cp check_us_switcher check_proton_d3dlib \compositor_sw check_winetricks check_musthave_dll check_other_fixes wdllover_upd reg_edit exe2png gamma_sw vkd3dcfg_upd check_downloader \create_shortcut lu_debug clear_log dis_debug_msg dis_cmd_msg import_luwine_wcfg check_def_wine lu_prerun lu_run lu_prestart try_mv path_upd select_lwpfx \lu_start lu_cmd lu_shell lu_regedit lu_control lu_winecfg lu_taskmgr lu_uninstaller winetricks lu_openpfx lu_exit lu_killshell check_dxr winepfx_init \5 unmodified linesruntime_manager upd_battleye is_exe_exist which_exe try_ln_wine_build_dll find_vk_icd btntls_run get_app_exe check_driprime greptardlurl get_wlu_releases \upd_d3d_extras upd_dgvoodoo2 upd_dxvk upd_dxvk_nvapi upd_vkd3d upd_all is_loadbar lu_runapp lu_lsapp set_wine_version get_pge_releases get_wge_releases \check_wined3d check_vkbasalt_eff check_luwine_wcfg_cenv check_videodrv check_startfile check_def_config get_wk4_releases \settingbar_nostdout check_freespace initbar check_network_status print_question print_input loadbar_cover check_first_run check_eac check_loadbar_cover \check_db_script stop_loadbar check_wmonover wmonover_upd check_exe_wcfg_cenv lu_appcfg try_fix_wrtx try_shutdown_wine check_steamapps is_winepfx \check_display check_restore_resol resol_sw check_restore_gamma dis_displ_sw restore_resol check_virt_desktop check_vkbasalt_cfg exeargs_upd check_exe_args \check_wine_nvml check_resizable_bar check_latencyflex get_proton_d3dlib makesquash_zstd makesquash_xz lu_pfxbackup lu_pfxrestore lu_backupmnt lu_backupunmnt \3 unmodified linesinitbar() {INIPRGRS="/tmp/iniprgrs$LWPID"touch "$INIPRGRS"while [ -f "$INIPRGRS" ]; do echo; sleep 0.1; done| \zenity --window-icon="$LW_DEF_ICO_PTH" --progress --title="Runtime initialization" --width=650 --height=40 --no-cancel \--text="Initialization is in progress. Please wait..." --pulsate --auto-close Lux Wine &>/dev/null &}check_loadbar_cover() {21 unmodified lines[ -n "$1" ] && \GIF_FILE="$1" || \GIF_FILE="$LOADBARGIF"GIF_SIZE_X="$(file "$GIF_FILE" 2>/dev/null|awk '{print $7 + 20}')"GIF_SIZE_Y="$(file "$GIF_FILE" 2>/dev/null|awk '{print $9 + 20}')"yad --picture --filename="$GIF_FILE" $(is_exe_exist wmctrl||echo "--close-on-unfocus") \--no-buttons --undecorated --on-top --center --skip-taskbar \--width="$GIF_SIZE_X" --height="$GIF_SIZE_Y" Lux Wine &>/dev/null &LOADBARPID="$!"if is_loadbar && \53 unmodified linesmakesquash_zstd() {unset squashsource squashpath squashmane extension compres_lvlset -o pipefailif [ ! -n "$3" ]; then extension='sfs' ; else extension=$3 ; fiif [ ! -n "$4" ]; then compres_lvl=1 ; else compres_lvl=$4 ; fiif [[ -f "$1" || -d "$1" || -L "$1" ]]12 unmodified linesthensquashmane="$(basename "$squashsource").$(date +"%Y.%m.%d.%H%M%S").zst.$extension"print_info "Making SquashFS ZSTD image : [ $squashmane ]\n[ FROM ]: [ $squashsource ] [ COMPRESS LVL ]: $compres_lvl \n[ TO ]: [ ${squashpath}$squashmane ]"mksquashfs "$squashsource" "${squashpath}$squashmane" -noappend -b 1M -comp zstd -Xcompression-level $compres_lvl -no-xattrs|\settingbar_nostdout "Making SquashFS ZSTD image : $squashmane" "From : $squashsource \nTo : ${squashpath}$squashmane \nCompression level : $compres_lvl"[ "${PIPESTATUS[0]}" != 0 ] && print_error yad "Failed to squashing" "From : $squashsource \nTo : ${squashpath}$squashmane" \&& return 1 || print_info "Making SquashFS ZSTD image completed!" && return 0elseprint_error yad "ZSTD Squashing..." "mksquashfs not found in your system!"7 unmodified linesmakesquash_xz() {unset squashsource squashpath squashmane extensionset -o pipefailif [ ! -n "$3" ]; then extension='sfs' ; else extension=$3 ; fiif [[ -f "$1" || -d "$1" || -L "$1" ]]then11 unmodified linesthensquashmane="$(basename "$squashsource").$(date +"%Y.%m.%d.%H%M%S").xz.$extension"print_info "Making SquashFS XZ image : [ $squashmane ]\n[ FROM ]: [ $squashsource ]\n[ TO ]: [ ${squashpath}$squashmane ]"mksquashfs "$squashsource" "${squashpath}$squashmane" -noappend -b 1M -comp xz -no-xattrs|\settingbar_nostdout "Making SquashFS XZ image : $squashmane" "From : $squashsource \nTo : ${squashpath}$squashmane"[ "${PIPESTATUS[0]}" != 0 ] && print_error yad "Failed to squashing" "From : $squashsource \nTo : ${squashpath}$squashmane" \&& return 1 || print_info "Making SquashFS XZ image completed!" && return 0elseprint_error yad "XZ Squashing..." "mksquashfs not found in your system!"7 unmodified linesunpack_squash() {unset unsquashsource unsquashpath unsquashmaneset -o pipefailif [[ -f "$1" || -L "$1" ]]thenunsquashsource="$(readlink -f "$1")"12 unmodified lines[ -n "$3" ] && unsquashmane="$3"||\unsquashmane="$(echo "$unsquashimage"|awk -F'.' '{print $1}')"print_info "Unsquashing image : [ $unsquashimage ]\n[ FROM ]: [ $unsquashsource ]\n[ TO ]: [ ${unsquashpath}$unsquashmane ]"unsquashfs -f -d "${unsquashpath}$unsquashmane" "$unsquashsource"|\settingbar_nostdout "Unsquashing image : $unsquashimage" "From : $unsquashsource \nTo : ${unsquashpath}$unsquashmane"[ "${PIPESTATUS[0]}" != 0 ] && print_error yad "Failed to unsquashing" "From :'$unsquashsource' \nTo : ${unsquashpath}$unsquashmane" \&& return 1 || print_info "Unsquashing image completed!" && return 0elseprint_error yad "Unsquashing..." "unsquashfs not found in your system!"123456224 unmodified lines231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308503 unmodified lines8128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708711758 unmodified lines263026312632263326342635263626372638263926402641781 unmodified lines342334243425342634273428342934303431343234333434672 unmodified lines410741084109411041114112411341144115411641174118411941204121412241234124101 unmodified lines4226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442551411 unmodified lines56675668566956705671567256736 unmodified lines5680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749111 unmodified lines58615862586358645865586658675 unmodified lines58735874587558765877587858793 unmodified lines5883588458855886588758885889589021 unmodified lines5912591359145915591659175918591959205921592253 unmodified lines59765977597859795980598112 unmodified lines59945995599659975998599960006001600260037 unmodified lines60116012601360146015601611 unmodified lines6028602960306031603260336034603560367 unmodified lines60446045604660476048604912 unmodified lines606260636064606560666067606860696070#!/usr/bin/env bashexport LW_VERSION="0.78.2.2"export LW_DEVELOPERS="VHSgunzo"export RED='\033[1;91m'224 unmodified lines}print_error() {local yad_args=(--window-icon="$LW_DEF_ICO" --image="dialog-error" --button="OK:0"--center --on-top --fixed --timeout="30" --timeout-indicator="top"--selectable-labels)if [[ "$1" == "yad" && -n "$2" && -n "$3" ]] || [[ "$1" == "notify" && -n "$2" && -n "$3" ]]then echo -e "${RED}[ ERROR ][$(date +"%Y.%m.%d %T")]: $3 $RESETCOLOR"elif [[ "$1" == "yad" && -n "$2" && ! -n "$3" ]] || [[ "$1" == "notify" && -n "$2" && ! -n "$3" ]]then echo -e "${RED}[ ERROR ][$(date +"%Y.%m.%d %T")]: $2 $RESETCOLOR"else echo -e "${RED}[ ERROR ][$(date +"%Y.%m.%d %T")]: $1 $RESETCOLOR"fiif [[ "$1" == "yad" && -n "$2" && -n "$3" && "$NO_YAD" != 1 ]]then yad "${yad_args[@]}" --title="$2" --text="$3" Lux Wineelif [[ "$1" == "yad" && -n "$2" && ! -n "$3" && "$NO_YAD" != 1 ]]then yad "${yad_args[@]}" --title="Lux Wine Error" --text="$2" Lux Wineelif [[ "$1" == "notify" && -n "$2" && -n "$3" && "$NO_NOTIFY" != 1 && "$NOT_TERM" == 1 ]]then notify-send -i "$LW_DEF_ICO" -a 'Lux Wine Error' "$2" "$3" &elif [[ "$1" == "notify" && -n "$2" && ! -n "$3" && "$NO_NOTIFY" != 1 && "$NOT_TERM" == 1 ]]then notify-send -i "$LW_DEF_ICO" -a 'Lux Wine Error' "$2" &fi}print_info() {if [ "$QUIET_MODE" != 1 ]thenlocal yad_args=(--window-icon="$LW_DEF_ICO" --image="dialog-information" --button="OK:0"--center --on-top --fixed --timeout="30" --timeout-indicator="top"--selectable-labels)if [[ "$1" == "yad" && -n "$2" && -n "$3" ]] || [[ "$1" == "notify" && -n "$2" && -n "$3" ]]then echo -e "${GREEN}[ INFO ][$(date +"%Y.%m.%d %T")]: $3 $RESETCOLOR"elif [[ "$1" == "yad" && -n "$2" && ! -n "$3" ]] || [[ "$1" == "notify" && -n "$2" && ! -n "$3" ]]then echo -e "${GREEN}[ INFO ][$(date +"%Y.%m.%d %T")]: $2 $RESETCOLOR"else echo -e "${GREEN}[ INFO ][$(date +"%Y.%m.%d %T")]: $1 $RESETCOLOR"fiif [[ "$1" == "yad" && -n "$2" && -n "$3" && "$NO_YAD" != 1 ]]then yad "${yad_args[@]}" --title="$2" --text="$3" Lux Wineelif [[ "$1" == "yad" && -n "$2" && ! -n "$3" && "$NO_YAD" != 1 ]]then yad "${yad_args[@]}" --title="Lux Wine Info" --text="$2" Lux Wineelif [[ "$1" == "notify" && -n "$2" && -n "$3" && "$NO_NOTIFY" != 1 && "$NOT_TERM" == 1 ]]then notify-send -i "$LW_DEF_ICO" -a 'Lux Wine Info' "$2" "$3" &elif [[ "$1" == "notify" && -n "$2" && ! -n "$3" && "$NO_NOTIFY" != 1 && "$NOT_TERM" == 1 ]]then notify-send -i "$LW_DEF_ICO" -a 'Lux Wine Info' "$2" &fifi}print_question() {[ "$NO_YAD" != 1 ]||return 0local yad_args=(--window-icon="$LW_DEF_ICO" --image="dialog-question"--button="NO:1" --button="YES:0"--center --on-top --fixed --selectable-labels)if [[ -n "$1" && -n "$2" ]]then yad "${yad_args[@]}" --title="$1" --text="$2" Lux Wineelif [[ -n "$1" && ! -n "$2" ]]then yad "${yad_args[@]}" --title="Lux Wine Question" --text="$1" Lux Winefi}print_input() {local yad_args=(--window-icon="$LW_DEF_ICO" --entry--button="EXIT:1" --button="OK:0"--center --on-top --fixed)if [[ -n "$1" && -n "$2" && -n "$3" ]]then yad "${yad_args[@]}" --title="$1" --text="$2" --entry-text="$3"elif [[ -n "$1" && -n "$2" && ! -n "$3" ]]then yad "${yad_args[@]}" --title="Lux Wine Input" --text="$1" --entry-text="$2"fi}503 unmodified lines}unpack_tar_xz() {try_mkdir "$2"TAR_NAME="$(basename "$1")"settingbar --text="Unpacking $TAR_NAME is in progress. Please wait..." \tar -Jxf "$1" -C "$2"[ "$?" != 0 ] && print_error "File $TAR_NAME unpacked with error!" && return 1 || return 0}unpack_tar_gz() {try_mkdir "$2"TAR_NAME="$(basename "$1")"settingbar --text="Unpacking $TAR_NAME is in progress. Please wait..." \tar -xzvf "$1" -C "$2"[ "$?" != 0 ] && print_error "File $TAR_NAME unpacked with error!" && return 1 || return 0}unpack_tar_zst() {try_mkdir "$2"TAR_NAME="$(basename "$1")"settingbar --text="Unpacking $TAR_NAME is in progress. Please wait..." \tar --use-compress-program=unzstd -xvf "$1" -C "$2"[ "$?" != 0 ] && print_error "File $TAR_NAME unpacked with error!" && return 1 || return 0}unpack_tar() {set -o pipefailtry_mkdir "$2"TAR_NAME="$(basename "$1")"settingbar --text="Unpacking $TAR_NAME is in progress. Please wait..." \tar -xvf "$1" -C "$2"[ "$?" != 0 ] && print_error "File $TAR_NAME unpacked with error!" && return 1 || return 0}settingbar() {local ret=1local yad_args=(--icon="$LW_DEF_ICO_PTH" --progress --pulsate--width=650 --height=40 --undecorated --skip-taskbar--no-buttons --text-align center --auto-close--center --fixed --on-top)if [[ "$1" =~ '--text=' ]]then yad_args+=("$1") ; shiftelse yad_args+=(--text="Updating parameters is in progress. Please wait...")fi"$@" &local exec_pid="$!"(while kill -0 "$!" &>/dev/nulldo echo -e "#\n" ; sleep 0.1 2>/dev/nulldone)|yad "${yad_args[@]}" Lux Wine &>/dev/null &local yad_pid="$!"wait "$exec_pid" &>/dev/nullret="$?"kill "$yad_pid" &>/dev/nullreturn "$ret"}shell_is_death() {1758 unmodified linesexport_all_functionsif ! [[ "${DEPRECATE_INIT[@]}" =~ "$1" ]] || [ ! -n "$1" ]thenif [ ! -n "$SETT_INIT" ] && [[ -n "$(pgrep -fa 'yad'|grep -w 'Runtime initialization'|awk '{print$1}')" \|| -n "$(pgrep -fa 'yad'|grep -w 'Updating parameters'|awk '{print$1}')" ]]thenprint_info yad "Initialization is in progress! Please wait..."while pgrep -fa 'yad'|grep -w 'Runtime initialization' &>/dev/null ; do sleep 1 ; donewhile pgrep -fa 'yad'|grep -w 'Updating parameters' &>/dev/null ; do sleep 1 ; donefi[[ -n "$SETT_INIT" || "$1" == "-init" ]] && \initbar && rm -rf "$LW_DIR/.lwcfgchksum"781 unmodified lineslu_exit() {check_tray; check_wine_pids; check_exes; check_luwine_sh_pidif [[ -n "$WINE_PIDS" || -n "$EXE_PIDS" || -n "$TRAY_PID" || -n "$LW_SH_PID" \|| -n "$(pgrep -fa 'yad'|grep 'Lux Wine'|awk '{print$1}')" ]]thentouch /tmp/FORCE_EXITlu_killshell "$@"lu_killexelu_killwine "$@"kill $(pgrep -fa 'yad'|grep 'Lux Wine'|awk '{print$1}') 2>/dev/nullkill $(pgrep -fa 'Winetricks'|awk '{print$1}') 2>/dev/nullpkill winetricks 2>/dev/null672 unmodified linesget_wine_git_lst() {[ -n "$WGUIDW" ]||local WGUIDW=$RANDOMget_wine_releases() (get_wlu_releases 1>"/tmp/WLUGITLIST$WGUIDW" &get_pge_releases 1>"/tmp/PGEGITLIST$WGUIDW" &get_wge_releases 1>"/tmp/WGEGITLIST$WGUIDW" &get_wk4_releases 1>"/tmp/WK4GITLIST$WGUIDW" &wait)if [[ ! -n "$PGE_GIT_LIST" || ! -n "$WLU_GIT_LIST" || ! -n "$WK4_GIT_LIST" || ! -n "$WGE_GIT_LIST" ]]thencatlist() { cat /tmp/${1}GITLIST$WGUIDW 2>/dev/null ; }print_info notify "Сhecking new Wine versions on GitHub..."settingbar --text="Сhecking new Wine versions on GitHub..." get_wine_releasesWLU_GIT_LIST="$(catlist 'WLU')"PGE_GIT_LIST="$(catlist 'PGE')"WGE_GIT_LIST="$(catlist 'WGE')"101 unmodified lines}if [ -n "$(echo "$WDEL_SET"|head -1)" ]thenwine_rm() (IFS=$'\n' ; for WINE_DEL in $(echo "$WDEL_SET"|sedspaces)doif [[ -d "$LW_RUNTIME_DIR/dxvk/$WINE_DEL" \|| -d "$LW_RUNTIME_DIR/vkd3d/$WINE_DEL" \|| -d "$LW_RUNTIME_DIR/dxvk-nvapi/$WINE_DEL" ]]thenif print_question "Remove DXVK, DXVK-NVAPI and VKD3D from ${WINE_DEL}?"thenrm_pd3dllsed -i "/DXVK_NVAPI_VERSION='$WINE_DEL'/d;/DXVK_VERSION='$WINE_DEL'/d;/VKD3D_VERSION='$WINE_DEL'/d" "$LW_CFG" 2>/dev/nullprint_info notify "Removing DXVK, DXVK-NVAPI and VKD3D from $WINE_DEL completed!"elserm_pd3dllWINE_VERSION="$WINE_DEL" WINEDIR="$LW_WINE_DIR/$WINE_DEL" get_proton_d3dlib 'cp'unset P_DXVK P_NVAPI P_VKD3Dfifitry_rm "$LW_WINE_DIR/$WINE_DEL"print_info notify "Removing $WINE_DEL completed!"[ "$WINE_VERSION" == "$WINE_DEL" ] && touch "/tmp/WINEINUSEDEL$WGUIDW"done)settingbar --text="Deletion is in progress. Please wait..." wine_rmif [ -f "/tmp/WINEINUSEDEL$WGUIDW" ]thenif [[ -n "$(ls -1 -t "$LW_WINE_DIR" 2>/dev/null|grep -v '.*.tar.*'|head -1)" || -n "$SYS_WINE" ]]1411 unmodified linesLWRUNTIMELST="dxvk vkd3d dxvk-nvapi wine_nvml d3d_extras dgvoodoo2 battleye_runtime eac_runtime winetricks"check_winepfxif [ "$2" == "all" ]then settingbar --text="Updating Lux Wine Runtime is in progress. Please wait..." upd_allelif [[ ! -n "$2" || "$2" == "openupdtr" ]]thenif [ ! -n "$(pgrep -fa yad|grep "Runtime Updater"|awk '{print$1}')" ]; then :6 unmodified lines--text-align=center --center --window-icon="$LW_DEF_ICO" \--width=400 --height=500 --button="UPDATE ALL:2" --button="EXIT:1" --button="OK:0" 2>/dev/null)"if [ "$?" == "2" ]then settingbar --text="Updating Lux Wine Runtime is in progress. Please wait..." upd_allelif [ -n "$(echo "$LW_RUN_UPD"|head -1)" ]thenLW_RUN_UPD="$(echo "$LW_RUN_UPD"|sed '/^TRUE$/d'|sed '/^$/d')"upd_loop() (IFS=$'\n' ; for LWRUNUPD in $LW_RUN_UPDdocase "$LWRUNUPD" inbattleye_runtime) upd_battleye &sleep 0.2 ;;eac_runtime) upd_eac &sleep 0.2 ;;d3d_extras) upd_d3d_extras &sleep 0.2 ;;dgvoodoo2) upd_dgvoodoo2 &sleep 0.2 ;;dxvk) upd_dxvk &sleep 0.2 ;;dxvk-nvapi) upd_dxvk_nvapi &sleep 0.2 ;;vkd3d) upd_vkd3d &sleep 0.2 ;;wine_nvml) upd_wine_nvml &sleep 0.2 ;;winetricks) upd_winetricks &sleep 0.2 ;;esacdonewait)settingbar --text="Updating Lux Wine Runtime is in progress. Please wait..." upd_loopprint_info notify "Runtime update completed!"fielseshiftupd_loop() (while [ -n "$1" ]docase "$1" inbat|battleye|battleye_runtime) upd_battleye &sleep 0.2 ;;eac|eac_runtime) upd_eac &sleep 0.2 ;;d3d|d3d_extras|d3d-extras) upd_d3d_extras &sleep 0.2 ;;dg|dgvoodoo2) upd_dgvoodoo2 &sleep 0.2 ;;dx|dxvk) upd_dxvk &sleep 0.2 ;;dxnv|dxvk-nvapi|dxvk_nvapi) upd_dxvk_nvapi &sleep 0.2 ;;vkd|vkd3d) upd_vkd3d &sleep 0.2 ;;nvml|wine_nvml) upd_wine_nvml &sleep 0.2 ;;wtrx|winetricks) upd_winetricks &sleep 0.2 ;;*) print_error "Invalid argument: '$1'" ;;esacshiftdonewait)settingbar --text="Updating Lux Wine Runtime is in progress. Please wait..." upd_loop "$@"print_info notify "Runtime update completed!"fi}111 unmodified linesexport SORTU="sort -u"export -f print_var print_error print_info check_tray check_wine_pids check_luwine_pid check_vkd3dconfig try_rm check_themes import_cenv sedspaces \check_luwine_sh_pid check_exes check_compositor try_mkdir check_symlink check_netcore try_download check_cpu_limit ld_lib_upd wait_kill_exe \unpack_tar_xz unpack_tar_gz unpack_tar shell_is_death exe_is_death exes_is_death wine_is_death try_cp check_us_switcher check_proton_d3dlib \compositor_sw check_winetricks check_musthave_dll check_other_fixes wdllover_upd reg_edit exe2png gamma_sw vkd3dcfg_upd check_downloader \create_shortcut lu_debug clear_log dis_debug_msg dis_cmd_msg import_luwine_wcfg check_def_wine lu_prerun lu_run lu_prestart try_mv path_upd select_lwpfx \lu_start lu_cmd lu_shell lu_regedit lu_control lu_winecfg lu_taskmgr lu_uninstaller winetricks lu_openpfx lu_exit lu_killshell check_dxr winepfx_init \5 unmodified linesruntime_manager upd_battleye is_exe_exist which_exe try_ln_wine_build_dll find_vk_icd btntls_run get_app_exe check_driprime greptardlurl get_wlu_releases \upd_d3d_extras upd_dgvoodoo2 upd_dxvk upd_dxvk_nvapi upd_vkd3d upd_all is_loadbar lu_runapp lu_lsapp set_wine_version get_pge_releases get_wge_releases \check_wined3d check_vkbasalt_eff check_luwine_wcfg_cenv check_videodrv check_startfile check_def_config get_wk4_releases \settingbar check_freespace initbar check_network_status print_question print_input loadbar_cover check_first_run check_eac check_loadbar_cover \check_db_script stop_loadbar check_wmonover wmonover_upd check_exe_wcfg_cenv lu_appcfg try_fix_wrtx try_shutdown_wine check_steamapps is_winepfx \check_display check_restore_resol resol_sw check_restore_gamma dis_displ_sw restore_resol check_virt_desktop check_vkbasalt_cfg exeargs_upd check_exe_args \check_wine_nvml check_resizable_bar check_latencyflex get_proton_d3dlib makesquash_zstd makesquash_xz lu_pfxbackup lu_pfxrestore lu_backupmnt lu_backupunmnt \3 unmodified linesinitbar() {INIPRGRS="/tmp/iniprgrs$LWPID"touch "$INIPRGRS"initbar_loop() { while [ -f "$INIPRGRS" ]; do sleep 0.1; done ; }settingbar --text="Runtime initialization is in progress. Please wait..." initbar_loop &}check_loadbar_cover() {21 unmodified lines[ -n "$1" ] && \GIF_FILE="$1" || \GIF_FILE="$LOADBARGIF"GIF_FILE_INFO="$(file "$GIF_FILE" 2>/dev/null)"GIF_SIZE_X="$(awk '{print $7 + 20}'<<<"$GIF_FILE_INFO")"GIF_SIZE_Y="$(awk '{print $9 + 20}'<<<"$GIF_FILE_INFO")"yad --picture --filename="$GIF_FILE" $(is_exe_exist wmctrl||echo "--close-on-unfocus") \--no-buttons --undecorated --center --skip-taskbar \--width="$GIF_SIZE_X" --height="$GIF_SIZE_Y" Lux Wine &>/dev/null &LOADBARPID="$!"if is_loadbar && \53 unmodified linesmakesquash_zstd() {unset squashsource squashpath squashmane extension compres_lvlif [ ! -n "$3" ]; then extension='sfs' ; else extension=$3 ; fiif [ ! -n "$4" ]; then compres_lvl=1 ; else compres_lvl=$4 ; fiif [[ -f "$1" || -d "$1" || -L "$1" ]]12 unmodified linesthensquashmane="$(basename "$squashsource").$(date +"%Y.%m.%d.%H%M%S").zst.$extension"print_info "Making SquashFS ZSTD image : [ $squashmane ]\n[ FROM ]: [ $squashsource ] [ COMPRESS LVL ]: $compres_lvl \n[ TO ]: [ ${squashpath}$squashmane ]"settingbar \--text="Making SquashFS ZSTD image : $squashmane\nFrom : $squashsource \nTo : ${squashpath}$squashmane \nCompression level : $compres_lvl" \mksquashfs "$squashsource" "${squashpath}$squashmane" -noappend -b 1M -comp zstd -Xcompression-level $compres_lvl -no-xattrs[ "$?" != 0 ] && print_error yad "Failed to squashing" "From : $squashsource \nTo : ${squashpath}$squashmane" \&& return 1 || print_info "Making SquashFS ZSTD image completed!" && return 0elseprint_error yad "ZSTD Squashing..." "mksquashfs not found in your system!"7 unmodified linesmakesquash_xz() {unset squashsource squashpath squashmane extensionif [ ! -n "$3" ]; then extension='sfs' ; else extension=$3 ; fiif [[ -f "$1" || -d "$1" || -L "$1" ]]then11 unmodified linesthensquashmane="$(basename "$squashsource").$(date +"%Y.%m.%d.%H%M%S").xz.$extension"print_info "Making SquashFS XZ image : [ $squashmane ]\n[ FROM ]: [ $squashsource ]\n[ TO ]: [ ${squashpath}$squashmane ]"settingbar --text="Making SquashFS XZ image : $squashmane\nFrom : $squashsource \nTo : ${squashpath}$squashmane" \mksquashfs "$squashsource" "${squashpath}$squashmane" -noappend -b 1M -comp xz -no-xattrs[ "$?" != 0 ] && print_error yad "Failed to squashing" "From : $squashsource \nTo : ${squashpath}$squashmane" \&& return 1 || print_info "Making SquashFS XZ image completed!" && return 0elseprint_error yad "XZ Squashing..." "mksquashfs not found in your system!"7 unmodified linesunpack_squash() {unset unsquashsource unsquashpath unsquashmaneif [[ -f "$1" || -L "$1" ]]thenunsquashsource="$(readlink -f "$1")"12 unmodified lines[ -n "$3" ] && unsquashmane="$3"||\unsquashmane="$(echo "$unsquashimage"|awk -F'.' '{print $1}')"print_info "Unsquashing image : [ $unsquashimage ]\n[ FROM ]: [ $unsquashsource ]\n[ TO ]: [ ${unsquashpath}$unsquashmane ]"settingbar --text="Unsquashing image : $unsquashimage\nFrom : $unsquashsource \nTo : ${unsquashpath}$unsquashmane" \unsquashfs -f -d "${unsquashpath}$unsquashmane" "$unsquashsource"[ "$?" != 0 ] && print_error yad "Failed to unsquashing" "From :'$unsquashsource' \nTo : ${unsquashpath}$unsquashmane" \&& return 1 || print_info "Unsquashing image completed!" && return 0elseprint_error yad "Unsquashing..." "unsquashfs not found in your system!"
1 unmodified line23456781 unmodified line101112131415161 unmodified linepkgname='lwrap'pkgver='0.78.2'pkgrel='1'pkgdesc='Lux Wine wrapper for RunImage container'arch=('x86_64')url='https://github.com/VHSgunzo/lux-wine'1 unmodified linedepends=('aria2' 'qt5-tools' 'xterm' 'xorg-fonts-100dpi' 'xorg-fonts-75dpi' 'firefox' 'intel-media-driver''xorg-fonts-cyrillic' 'xorg-fonts-type1' 'xorg-fonts-misc' 'cabextract' 'exo' 'xapp' 'pulseaudio''perl' 'unzip' 'xorg-xmessage' 'zenity' 'yad' 'xkb-switch' 'imagemagick' 'qt5ct' 'syslog-ng''icoextract' 'lib32-vkbasalt' 'mangohud' 'lib32-mangohud' 'latencyflex-wine-git' 'steam' 'gamescope''vkbasalt' 'gamemode' 'lib32-gamemode' 'giflib' 'lib32-giflib' 'libpng' 'appmenu-gtk-module''lib32-libpng' 'libldap' 'lib32-libldap' 'gnutls' 'lib32-gnutls' 'bash' 'gawk' 'steam-native-runtime'1 unmodified line23456781 unmodified line101112131415161 unmodified linepkgname='lwrap'pkgver='0.78.2'pkgrel='2'pkgdesc='Lux Wine wrapper for RunImage container'arch=('x86_64')url='https://github.com/VHSgunzo/lux-wine'1 unmodified linedepends=('aria2' 'qt5-tools' 'xterm' 'xorg-fonts-100dpi' 'xorg-fonts-75dpi' 'firefox' 'intel-media-driver''xorg-fonts-cyrillic' 'xorg-fonts-type1' 'xorg-fonts-misc' 'cabextract' 'exo' 'xapp' 'pulseaudio''perl' 'unzip' 'xorg-xmessage' 'yad' 'xkb-switch' 'imagemagick' 'qt5ct' 'syslog-ng''icoextract' 'lib32-vkbasalt' 'mangohud' 'lib32-mangohud' 'latencyflex-wine-git' 'steam' 'gamescope''vkbasalt' 'gamemode' 'lib32-gamemode' 'giflib' 'lib32-giflib' 'libpng' 'appmenu-gtk-module''lib32-libpng' 'libldap' 'lib32-libldap' 'gnutls' 'lib32-gnutls' 'bash' 'gawk' 'steam-native-runtime'
12313 unmodified lines171819202122232425262728## arg 1: the new package version# pre_install() {# true13 unmodified lines## arg 1: the new package version## arg 2: the old package versionpost_upgrade() {if pac -Q python-xlib &>/dev/nullthenrm -f /var/lib/pacman/db.lckyes|pac -Rsn python-xlibtouch /var/lib/pacman/db.lckfi}## arg 1: the old package version123456789101112131415161713 unmodified lines31323334353637383940414243444546pkg_tool() {unset pacdblck_existpacdblck='/var/lib/pacman/db.lck'if [ -f "$pacdblck" ]thenpacdblck_exist=1rm -f "$pacdblck"fiLANG= sh -c "$@"[ "$pacdblck_exist" == 1 ] && \touch "$pacdblck"}export -f pkg_tool## arg 1: the new package version# pre_install() {# true13 unmodified lines## arg 1: the new package version## arg 2: the old package versionpost_upgrade() {pac -Q python-xlib &>/dev/null && \pkg_tool 'yes|pac -Rsn python-xlib'pac -Q zenity 2>/dev/null|grep -q '4.0.0' && \pkg_tool 'yes|sudo downgrade zenity=3.44.2'pac -Q mesa 2>/dev/null|grep -q '23.3.2' && \pkg_tool 'yes|pac -Sy mesa-tkg-git && yes|pac -S lib32-mesa-tkg-git'return 0}## arg 1: the old package version
123version https://git-lfs.github.com/spec/v1oid sha256:c76f19ba8fed1fae8c22692cff6ed6d7b253e578c3d5b58edeb7b164c0c08f9esize 575681123version https://git-lfs.github.com/spec/v1oid sha256:56e652aeae8e508002bbe16773c60e8f60754246b8574e2f0ce7ce3b8ff5057fsize 575946
CHANGELOG.md+10
lutris-wine+1-1
lux-wine+182-191
lwrap/PKGBUILD+2-2
lwrap/lwrap.install+24-6
main.zip+2-2