Commit 0f73477f authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'added-tray-name' of github.com:Htylol/PortWINE into Htylol-added-tray-name

parents 418fe142 d92a14e8
......@@ -3586,10 +3586,8 @@ pw_run () {
${PW_DISPLAY} \
"${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[@]} &>>"${PW_LOG_TO_FILE}"
else
if [[ "$PW_USE_TERMINAL" == 1 ]] \
&& [[ "$PW_USE_RUNTIME" == 1 ]]
then
export PW_ADD_TO_ARGS_IN_RUNTIME="--xterm"
if [[ "$PW_USE_TERMINAL" == 1 ]] ; then
PW_ADD_TO_ARGS_IN_RUNTIME="--xterm"
pw_init_runtime
fi
echo ""
......@@ -3727,10 +3725,14 @@ pw_winefile () {
}
pw_winecmd () {
export PW_USE_TERMINAL=1
start_portwine
cd "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c" || fatal
pw_run cmd
if check_flatpak ; then
$PW_TERM "pw_run cmd"
else
export PW_USE_TERMINAL=1
pw_run cmd
fi
stop_portwine --restart
}
......
......@@ -257,8 +257,8 @@ esac
if check_flatpak ; then
if check_gamescope_session
then PW_TERM="xterm -fullscreen -bg black -fg white -e"
else PW_TERM="xterm -bg black -fg white -e"
then PW_TERM="env LANG=C xterm -fullscreen -bg black -fg white -e"
else PW_TERM="env LANG=C xterm -bg black -fg white -e"
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment