Skip to content

armgit / soju

Public Imported from GitHub
0

Play Windows games on Apple Silicon Macs. Free, open-source app that installs the official Battle.net, Steam, Epic and GOG launchers and lists your games in one library.

sweep: include wine's start.exe wrapper in the orphaned service set

mikey92f1a98055873c
diff --git a/scripts/soju-sweep.sh b/scripts/soju-sweep.sh
index 37fdeb63af6..4f71da29c7d 100755
--- a/scripts/soju-sweep.sh
+++ b/scripts/soju-sweep.sh
@@ -19,7 +19,7 @@
set -u
# Also Wine's own prompts (the "Wine Mono Installer" dialog is control.exe
# appwiz.cpl install_mono): orphaned, they sit in the Dock as "wine" for hours.
-RE='(explorer\.exe /desktop|services\.exe|winedevice\.exe|plugplay\.exe|rpcss\.exe|svchost\.exe|conhost\.exe|tabtip\.exe|control\.exe appwiz\.cpl|wineboot\.exe|winedbg\.exe)'
+RE='(explorer\.exe /desktop|services\.exe|winedevice\.exe|plugplay\.exe|rpcss\.exe|svchost\.exe|conhost\.exe|tabtip\.exe|control\.exe appwiz\.cpl|wineboot\.exe|winedbg\.exe|start\.exe /exec)'
CAND=$(pgrep -f "$RE" 2>/dev/null || true)
[ -n "$CAND" ] || exit 0