mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 18:11:27 -07:00
Bump to v1.5.3 and enable DRP for desktop app
This commit is contained in:
parent
3e5eedfa45
commit
fe24e06367
@ -10,8 +10,8 @@
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Platforms>AnyCPU;x86</Platforms>
|
||||
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
|
||||
<Version>1.5.2</Version>
|
||||
<FileVersion>1.5.2.0</FileVersion>
|
||||
<Version>1.5.3</Version>
|
||||
<FileVersion>1.5.3.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -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=", '&');
|
||||
|
Loading…
Reference in New Issue
Block a user