mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 01:51:29 -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>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<Platforms>AnyCPU;x86</Platforms>
|
<Platforms>AnyCPU;x86</Platforms>
|
||||||
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
|
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
|
||||||
<Version>1.5.2</Version>
|
<Version>1.5.3</Version>
|
||||||
<FileVersion>1.5.2.0</FileVersion>
|
<FileVersion>1.5.3.0</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -207,8 +207,11 @@ namespace Bloxstrap
|
|||||||
await Task.Delay(6000);
|
await Task.Delay(6000);
|
||||||
|
|
||||||
// now we move onto handling rich presence
|
// now we move onto handling rich presence
|
||||||
// except beta app launch since we have to rely strictly on website launch
|
// this is going to be an issue for desktop app launches as this gets the place id from the command line,
|
||||||
if (Program.Settings.UseDiscordRichPresence && !LaunchCommandLine.Contains("--app"))
|
// 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
|
// probably not the most ideal way to do this
|
||||||
string? placeId = Utilities.GetKeyValue(LaunchCommandLine, "placeId=", '&');
|
string? placeId = Utilities.GetKeyValue(LaunchCommandLine, "placeId=", '&');
|
||||||
|
Loading…
Reference in New Issue
Block a user