mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
WJ will close if MO2 is running
This commit is contained in:
parent
10e65a7100
commit
20a23cdb27
@ -85,6 +85,15 @@ namespace Wabbajack
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
Process[] processList = Process.GetProcesses();
|
||||
foreach (var process in processList)
|
||||
{
|
||||
if (process.ProcessName != "ModOrganizer") continue;
|
||||
MessageBox.Show("You need to close MO2 before running Wabbajack!",
|
||||
"Error", MessageBoxButton.OK);
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
Mode = mode;
|
||||
|
||||
// Define commands
|
||||
|
Loading…
Reference in New Issue
Block a user