Commit 27bd4796 authored by Boria138's avatar Boria138

Fixed gamescope in flatpak (Only if RUNTIME is off)

parent 1b81250f
...@@ -2201,6 +2201,7 @@ pw_run () { ...@@ -2201,6 +2201,7 @@ pw_run () {
echo "" echo ""
print_info "Log WINE:" print_info "Log WINE:"
env FAKE_VAR= \ env FAKE_VAR= \
${PW_RUN_GAMESCOPE} \
${PW_GAMEMODERUN_SLR} \ ${PW_GAMEMODERUN_SLR} \
${PW_MANGOHUD_SLR} \ ${PW_MANGOHUD_SLR} \
"${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[@]} &>>"${PW_LOG_TO_FILE}" "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[@]} &>>"${PW_LOG_TO_FILE}"
...@@ -2212,6 +2213,7 @@ pw_run () { ...@@ -2212,6 +2213,7 @@ pw_run () {
echo "Log WINE:" > "${PW_LOG_TO_FILE}" echo "Log WINE:" > "${PW_LOG_TO_FILE}"
print_info "Log WINE:" print_info "Log WINE:"
env FAKE_VAR= \ env FAKE_VAR= \
${PW_RUN_GAMESCOPE} \
${PW_GAMEMODERUN_SLR} \ ${PW_GAMEMODERUN_SLR} \
${PW_MANGOHUD_SLR} \ ${PW_MANGOHUD_SLR} \
"${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[@]} "${WINELOADER}" "$@" ${LAUNCH_PARAMETERS[@]}
......
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