forked from CastroFidel/PortWINE
Scripts version 2231
This commit is contained in:
@ -275,7 +275,7 @@ start_portwine () {
|
||||
fi
|
||||
fi
|
||||
|
||||
pw_update_pfx_cover_gui
|
||||
[[ "${START_FROM_STEAM}" != 1 ]] || pw_update_pfx_cover_gui
|
||||
|
||||
if [[ ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}" \
|
||||
|| ! -d "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"/drive_c/windows \
|
||||
@ -602,14 +602,15 @@ start_portwine () {
|
||||
[[ -z "${LAUNCH_PARAMETERS}" ]] && export LAUNCH_PARAMETERS+=" -eac-nop-loaded "
|
||||
fi
|
||||
|
||||
sleep 1
|
||||
pw_stop_progress_bar &&
|
||||
pw_tray_icon &&
|
||||
sleep 0.5
|
||||
if [[ "${START_FROM_STEAM}" != 1 ]] ; then
|
||||
pw_stop_progress_bar &&
|
||||
pw_tray_icon &&
|
||||
|
||||
if [[ "${PW_CHECK_AUTOINSTAL}" != "1" ]] ; then
|
||||
pw_start_progress_bar_cover "${PW_GUI_ICON_PATH}/covers/pw_loading_cover.gif"
|
||||
if [[ "${PW_CHECK_AUTOINSTAL}" != "1" ]] && [[ "${START_FROM_STEAM}" != 1 ]] ; then
|
||||
pw_start_progress_bar_cover "${PW_GUI_ICON_PATH}/covers/pw_loading_cover.gif"
|
||||
fi
|
||||
fi
|
||||
|
||||
add_in_start_portwine
|
||||
|
||||
if [[ -f "${PATH_TO_GAME}/dxvk.conf" ]] ; then
|
||||
@ -672,7 +673,7 @@ fi
|
||||
[[ -z "${LANG}" ]] && export LANG=C
|
||||
|
||||
create_new_dir "${HOME}/.local/share/applications"
|
||||
if [[ ! -z "${PW_SILENT_RESTART}" ]] && [[ "${PW_SILENT_RESTART}" = 1 ]] ; then
|
||||
if [[ "${PW_SILENT_RESTART}" == 1 ]] || [[ "${START_FROM_STEAM}" == 1 ]] ; then
|
||||
export PW_GUI_DISABLED_CS=1
|
||||
unset PW_SILENT_RESTART
|
||||
else
|
||||
@ -725,6 +726,10 @@ create_new_dir "${PORT_WINE_TMP_PATH}"/mono
|
||||
export PW_VULKAN_DIR="${PORT_WINE_TMP_PATH}/VULKAN"
|
||||
create_new_dir "${PW_VULKAN_DIR}"
|
||||
|
||||
# TODO: for steam
|
||||
# export STEAM_SCRIPTS="${PORT_WINE_PATH}/steam_scripts"
|
||||
# create_new_dir "${STEAM_SCRIPTS}"
|
||||
|
||||
export VULKAN_API_DRIVER_VERSION="$(vulkaninfo 2>/dev/null | grep "api" | head -n 1 | awk '{print $3}')"
|
||||
export LSPCI_VGA="$(lspci -k | grep -E 'VGA|3D' | tr -d '\n')"
|
||||
|
||||
@ -743,7 +748,7 @@ export PW_GUI_ICON_PATH="${PORT_WINE_PATH}/data/img/gui"
|
||||
export install_ver=`cat "${PORT_WINE_TMP_PATH}/${portname}_ver" | head -n 1`
|
||||
export WINETRICKS_DOWNLOADER="curl"
|
||||
export USER_CONF="${PORT_WINE_PATH}/data/user.conf"
|
||||
check_user_conf
|
||||
check_user_conf
|
||||
|
||||
if [[ -z "${INSTALLING_PORT}" ]] ; then
|
||||
. "${USER_CONF}"
|
||||
|
Reference in New Issue
Block a user