Commit 07074d87 authored by Mikhail Tergoev's avatar Mikhail Tergoev

fixed more than one running pw_mangohud_preview

parent c4250c79
...@@ -1862,6 +1862,9 @@ pw_mangohud_check () { ...@@ -1862,6 +1862,9 @@ pw_mangohud_check () {
} }
pw_mangohud_preview () { pw_mangohud_preview () {
if pgrep -f "${PW_PLUGINS_PATH}/portable/bin/vkcube" ; then
return 0
fi
local preview_config="${1:-}" local preview_config="${1:-}"
if [[ -n "$preview_config" ]] ; then if [[ -n "$preview_config" ]] ; then
......
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