info before unpack and wine_run_install

This commit is contained in:
Mikhail Tergoev 2025-02-17 13:29:36 +03:00
parent ec2d89343e
commit 4de5117841

@ -219,6 +219,7 @@ create_new_dir () {
} }
unpack () { unpack () {
print_info "Запуск распаковки архива $1"
case $1 in case $1 in
*.tar.xz) local command="tar -Jxhf";; *.tar.xz) local command="tar -Jxhf";;
*.tar.gz) local command="tar -xhzf" ;; *.tar.gz) local command="tar -xhzf" ;;
@ -757,11 +758,12 @@ wine_run () {
} }
wine_run_install () { wine_run_install () {
print_info "Запускаем установку приложения $PROG_NAME."
case "${1,,}" in case "${1,,}" in
*.exe) wine_run $WINE_WIN_START "$@" ;; *.exe) wine_run $WINE_WIN_START "$@" ;;
*.msi) wine_run msiexec /i "$@" ;; *.msi) wine_run msiexec /i "$@" ;;
*.bat|*.cmd) wine_run "$@" ;; *.bat|*.cmd) wine_run "$@" ;;
*) fatal "Unknown file extension." ;; *) fatal "Не удалось запустить файл $1. Проверьте расширение файла." ;;
esac esac
wait_wineserver wait_wineserver
} }