mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
fix: kill roblox process when uninstalling/#1195
This commit is contained in:
parent
ce3c744a51
commit
b07ffceb3d
@ -657,7 +657,7 @@ namespace Bloxstrap
|
|||||||
App.Logger.WriteLine(LOG_IDENT, $"Prompting to shut down all open Roblox instances");
|
App.Logger.WriteLine(LOG_IDENT, $"Prompting to shut down all open Roblox instances");
|
||||||
|
|
||||||
MessageBoxResult result = Controls.ShowMessageBox(
|
MessageBoxResult result = Controls.ShowMessageBox(
|
||||||
"Roblox is currently running, but must be closed before uninstalling Bloxstrap. Would you like close Roblox now?",
|
"Roblox is currently running, but must be closed before uninstalling Bloxstrap. Please close Roblox before continuing. Continuing will terminate all currently running Roblox processes.",
|
||||||
MessageBoxImage.Information,
|
MessageBoxImage.Information,
|
||||||
MessageBoxButton.OKCancel
|
MessageBoxButton.OKCancel
|
||||||
);
|
);
|
||||||
@ -669,7 +669,7 @@ namespace Bloxstrap
|
|||||||
{
|
{
|
||||||
foreach (Process process in Process.GetProcessesByName("RobloxPlayerBeta"))
|
foreach (Process process in Process.GetProcessesByName("RobloxPlayerBeta"))
|
||||||
{
|
{
|
||||||
process.CloseMainWindow();
|
process.Kill();
|
||||||
process.Close();
|
process.Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user