Minor alterations

This commit is contained in:
pizzaboxer 2023-07-24 09:50:25 +01:00
parent 01ea138e02
commit 5558e5163b
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
2 changed files with 3 additions and 5 deletions

View File

@ -320,6 +320,8 @@ namespace Bloxstrap
if (!IsNoLaunch && Settings.Prop.EnableActivityTracking)
NotifyIcon?.InitializeContextMenu();
Logger.WriteLine($"[App::OnStartup] Waiting for bootstrapper task to finish");
bootstrapperTask.Wait();
if (singletonMutex is not null)

View File

@ -172,10 +172,6 @@ namespace Bloxstrap.Integrations
Url = $"https://www.roblox.com/games/{placeId}"
});
// so turns out discord rejects the presence set request if the place name is less than 2 characters long lol
if (universeDetails.Name.Length < 2)
universeDetails.Name = $"{universeDetails.Name}\x2800\x2800\x2800";
if (!_activityWatcher.ActivityInGame || placeId != _activityWatcher.ActivityPlaceId)
{
App.Logger.WriteLine($"[DiscordRichPresence::SetCurrentGame] Aborting presence set because game activity has changed");
@ -191,7 +187,7 @@ namespace Bloxstrap.Integrations
_currentPresence = new RichPresence
{
Details = universeDetails.Name,
Details = $"Playing {universeDetails.Name}",
State = status,
Timestamps = new Timestamps { Start = _timeStartedUniverse },
Buttons = buttons.ToArray(),