Skip to content

Commit

Permalink
Kill Possibly Wine Processes Before Starting
Browse files Browse the repository at this point in the history
  • Loading branch information
KreitinnSoftware committed Sep 6, 2024
1 parent bf09e3c commit de09c91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/com/micewine/emu/activities/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,10 @@ class MainActivity : AppCompatActivity() {

installDXWrapper(winePrefix)

runCommand("pkill -9 wineserver")
runCommand("pkill -9 .exe")
runCommand("pkill -9 pulseaudio")

if (exePath == "") {
WineWrapper.wine("explorer /desktop=shell,$selectedResolution TFM", winePrefix)
} else {
Expand Down

0 comments on commit de09c91

Please sign in to comment.