Skip to content

Commit

Permalink
Fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Oct 12, 2024
1 parent aac6ec3 commit ba0b5e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions Bloxstrap/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,15 @@ private void StartRoblox()
using (var startEvent = new EventWaitHandle(false, EventResetMode.ManualReset, AppData.StartEvent))
{
startEvent.Reset();


string rbxLogDir = Path.Combine(Paths.LocalAppData, "Roblox\\logs");

if (!Directory.Exists(rbxLogDir))
Directory.CreateDirectory(rbxLogDir);

var logWatcher = new FileSystemWatcher()
{
Path = Path.Combine(Paths.LocalAppData, "Roblox\\logs"),
Path = rbxLogDir,
Filter = "*.log",
EnableRaisingEvents = true
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private async void LoadData()

if (entries.Any())
{
string universeIds = String.Join(',', entries.GroupBy(x => x.UniverseId).Select(x => x.First()));
string universeIds = String.Join(',', entries.Select(x => x.UniverseId).Distinct());

try
{
Expand Down

0 comments on commit ba0b5e8

Please sign in to comment.