Skip to content

Commit

Permalink
Changes for v1.5.2
Browse files Browse the repository at this point in the history
 - Disable legacy --play launching (#40)
 - --launchtime uses milliseconds now
 - Roblox app is launched after install
  • Loading branch information
pizzaboxer committed Nov 10, 2022
1 parent e6a9d35 commit 3e5eedf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Bloxstrap/Bloxstrap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<Platforms>AnyCPU;x86</Platforms>
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
<Version>1.5.1</Version>
<FileVersion>1.5.1.0</FileVersion>
<Version>1.5.2</Version>
<FileVersion>1.5.2.0</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions Bloxstrap/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ public async Task Run()

await RbxFpsUnlocker.CheckInstall();

if (Program.IsFirstRun)
Dialog.ShowSuccess($"{Program.ProjectName} has been installed");
else
//if (Program.IsFirstRun)
// Dialog.ShowSuccess($"{Program.ProjectName} has been installed");
//else
await StartRoblox();

Program.Exit();
Expand Down Expand Up @@ -169,7 +169,7 @@ private async Task StartRoblox()
Dialog.Message = "Starting Roblox...";

// launch time isn't really required for all launches, but it's usually just safest to do this
LaunchCommandLine += " --launchtime=" + DateTimeOffset.Now.ToUnixTimeSeconds();
LaunchCommandLine += " --launchtime=" + DateTimeOffset.Now.ToUnixTimeMilliseconds();

if (Program.Settings.Channel.ToLower() != DeployManager.DefaultChannel.ToLower())
LaunchCommandLine += " -channel " + Program.Settings.Channel.ToLower();
Expand Down
3 changes: 3 additions & 0 deletions Bloxstrap/Helpers/Protocol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public static string ParseUri(string protocol)
if (!UriKeyArgMap.ContainsKey(key) || String.IsNullOrEmpty(val))
continue;

if (key == "launchmode" && val == "play")
val = "app";

if (key == "placelauncherurl")
val = HttpUtility.UrlDecode(val).Replace("browserTrackerId", "lol");

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Bloxstrap is only supported for PCs running Windows.
## Features
Here's some of the features that Bloxstrap provides over the stock Roblox bootstrapper:

* Doesn't force you to launch Roblox in the Desktop App
* Support for persistent file modifications (e.g. re-adding the old death sound)
* Gives you the ability to opt-in to pre-release testing channels
* Integration with Discord Rich Presence and [rbxfpsunlocker](https://github.com/axstin/rbxfpsunlocker)
Expand Down

0 comments on commit 3e5eedf

Please sign in to comment.