fix: kill roblox process when uninstalling/#1195

This commit is contained in:
pizzaboxer 2024-02-23 03:04:25 +00:00
parent ce3c744a51
commit b07ffceb3d
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8

View File

@ -657,7 +657,7 @@ namespace Bloxstrap
App.Logger.WriteLine(LOG_IDENT, $"Prompting to shut down all open Roblox instances");
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,
MessageBoxButton.OKCancel
);
@ -669,7 +669,7 @@ namespace Bloxstrap
{
foreach (Process process in Process.GetProcessesByName("RobloxPlayerBeta"))
{
process.CloseMainWindow();
process.Kill();
process.Close();
}
}