mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Extra logging for protocol handling
This commit is contained in:
parent
64db0527b3
commit
d41c66c9f6
@ -240,10 +240,14 @@ namespace Bloxstrap
|
||||
{
|
||||
if (LaunchArgs[0].StartsWith("roblox-player:"))
|
||||
{
|
||||
Logger.WriteLine("[App::OnStartup] Handling protocol for roblox-player");
|
||||
Logger.WriteLine($"[App::OnStartup] Got URI as '{LaunchArgs[0]}'");
|
||||
commandLine = Protocol.ParseUri(LaunchArgs[0]);
|
||||
}
|
||||
else if (LaunchArgs[0].StartsWith("roblox:"))
|
||||
{
|
||||
Logger.WriteLine("[App::OnStartup] Handling protocol for roblox");
|
||||
Logger.WriteLine($"[App::OnStartup] Got URI as '{LaunchArgs[0]}'");
|
||||
commandLine = $"--app --deeplink {LaunchArgs[0]}";
|
||||
}
|
||||
else
|
||||
@ -258,6 +262,8 @@ namespace Bloxstrap
|
||||
|
||||
if (!String.IsNullOrEmpty(commandLine))
|
||||
{
|
||||
Logger.WriteLine($"[App::OnStartup] Got launch args as '{LaunchArgs[0]}'");
|
||||
|
||||
if (!IsFirstRun)
|
||||
ShouldSaveConfigs = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user