From fe24e063672dfe38b601ada68a9c28d414de3e63 Mon Sep 17 00:00:00 2001
From: pizzaboxer <41478239+pizzaboxer@users.noreply.github.com>
Date: Sat, 12 Nov 2022 10:26:59 +0000
Subject: [PATCH] Bump to v1.5.3 and enable DRP for desktop app
---
Bloxstrap/Bloxstrap.csproj | 4 ++--
Bloxstrap/Bootstrapper.cs | 7 +++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/Bloxstrap/Bloxstrap.csproj b/Bloxstrap/Bloxstrap.csproj
index 8bb66e5..6eb15f9 100644
--- a/Bloxstrap/Bloxstrap.csproj
+++ b/Bloxstrap/Bloxstrap.csproj
@@ -10,8 +10,8 @@
AnyCPU
AnyCPU;x86
Bloxstrap.ico
- 1.5.2
- 1.5.2.0
+ 1.5.3
+ 1.5.3.0
diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs
index f5ba03d..15ee22e 100644
--- a/Bloxstrap/Bootstrapper.cs
+++ b/Bloxstrap/Bootstrapper.cs
@@ -207,8 +207,11 @@ namespace Bloxstrap
await Task.Delay(6000);
// now we move onto handling rich presence
- // except beta app launch since we have to rely strictly on website launch
- if (Program.Settings.UseDiscordRichPresence && !LaunchCommandLine.Contains("--app"))
+ // this is going to be an issue for desktop app launches as this gets the place id from the command line,
+ // but the desktop app launch can switch games without having to close the client
+ // i might be able to experiment with reading from the latest log file in realtime to circumvent this,
+ // but i have no idea how reliable it will be. todo?
+ if (Program.Settings.UseDiscordRichPresence)
{
// probably not the most ideal way to do this
string? placeId = Utilities.GetKeyValue(LaunchCommandLine, "placeId=", '&');