Skip to content

Commit

Permalink
Fix presence disappearing
Browse files Browse the repository at this point in the history
  • Loading branch information
6ixfalls committed Aug 2, 2022
1 parent 9d8d17f commit b3736d5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cominit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ processMonitor.on(
log.error("Multiple Roblox processes running!");
}

if (list[0].cmd.endsWith("RobloxPlayerBeta.exe")) {
log.info("Roblox process has no arguments! Aborting presence set.");
return;
}

dataTable.processInfo = list[0];
var cmd = dataTable.processInfo.cmd.split(" ");
dataTable.processInfo.command = cmd.shift();
Expand Down

0 comments on commit b3736d5

Please sign in to comment.