mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 16:41:36 -07:00
bruh
This commit is contained in:
parent
a7e28200a9
commit
5cabf015a4
@ -700,22 +700,20 @@ namespace Bloxstrap
|
||||
processes.AddRange(Process.GetProcessesByName("RobloxCrashHandler"));
|
||||
|
||||
foreach (Process process in processes)
|
||||
{
|
||||
string? processPath = process.MainModule?.FileName;
|
||||
if (processPath != null && processPath.StartsWith(path))
|
||||
{
|
||||
try
|
||||
{
|
||||
string? processPath = process.MainModule?.FileName;
|
||||
if (processPath != null && processPath.StartsWith(path))
|
||||
process.Kill();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
App.Logger.WriteLine(LOG_IDENT, $"Failed to close process {process.Id} at {processPath}");
|
||||
App.Logger.WriteLine(LOG_IDENT, $"Failed to close process {process.Id}");
|
||||
App.Logger.WriteException(LOG_IDENT, ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private async Task UpgradeRoblox()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user