Scripts version 2338

This commit is contained in:
Mikhail Tergoev
2024-08-12 20:19:34 +03:00
parent 36ed876865
commit e7e48de98e
4 changed files with 24 additions and 6 deletions

View File

@ -3081,23 +3081,27 @@ pw_yad_form_vulkan () {
portwine_launch () {
start_portwine
unset PW_VD_TMP
if [[ "${PW_VIRTUAL_DESKTOP}" == "1" ]] ; then
pw_run explorer "/desktop=PortProton,${PW_SCREEN_RESOLUTION}" ${WINE_WIN_START} "$portwine_exe"
PW_VD_TMP=(explorer "/desktop=PortProton,${PW_SCREEN_RESOLUTION}")
fi
case "$portwine_exe" in
*.exe)
pw_run ${PW_VD_TMP[@]} ${WINE_WIN_START} "$portwine_exe"
;;
*.bat)
PW_USE_TERMINAL=1
pw_run cmd /c "$portwine_exe"
pw_run ${PW_VD_TMP[@]} cmd /c "$portwine_exe"
;;
*.msi)
pw_run msiexec /i "$portwine_exe"
pw_run ${PW_VD_TMP[@]} msiexec /i "$portwine_exe"
;;
*.reg)
pw_run regedit "$portwine_exe"
pw_run ${PW_VD_TMP[@]} regedit "$portwine_exe"
;;
*)
pw_run winefile
pw_run ${PW_VD_TMP[@]} winefile
;;
esac
}

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2337
#SCRIPTS_NEXT_VERSION=2338
#SCRIPTS_STABLE_VERSION=2336
########################################################################
export LANGUAGES_LIST="ru es"