fix roblox running check

This commit is contained in:
bluepilledgreat 2023-10-04 14:55:53 +01:00
parent 92bcd04990
commit 1ae9578247

View File

@ -1042,7 +1042,7 @@ namespace Bloxstrap
{ {
const string LOG_IDENT = "Bootstrapper::ApplyModifications"; const string LOG_IDENT = "Bootstrapper::ApplyModifications";
if (Process.GetProcessesByName("RobloxPlayerBeta").Any()) if (Process.GetProcessesByName(_playerFileName[..^4]).Any())
{ {
App.Logger.WriteLine(LOG_IDENT, "Roblox is running, aborting mod check"); App.Logger.WriteLine(LOG_IDENT, "Roblox is running, aborting mod check");
return; return;