From e72ef9d2025d008bcf537e46b8d047393954466c Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Sat, 15 Jun 2024 10:46:38 +0100 Subject: [PATCH] enable studio features --- Bloxstrap/Bootstrapper.cs | 4 +++- Bloxstrap/LaunchSettings.cs | 8 +++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 04536e2..4bb6d2c 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -1,4 +1,6 @@ -using System.Windows; +#define STUDIO_FEATURES + +using System.Windows; using System.Windows.Forms; using Microsoft.Win32; diff --git a/Bloxstrap/LaunchSettings.cs b/Bloxstrap/LaunchSettings.cs index 07e3eee..0fec633 100644 --- a/Bloxstrap/LaunchSettings.cs +++ b/Bloxstrap/LaunchSettings.cs @@ -1,4 +1,6 @@ -using Bloxstrap.Enums; +#define STUDIO_FEATURES + +using Bloxstrap.Enums; using System; using System.Collections.Generic; using System.Linq; @@ -121,12 +123,12 @@ namespace Bloxstrap if (Args.Length >= 2) { - string pathArg = Args[i + 1]; + string pathArg = Args[1]; if (pathArg.StartsWith('-')) return; // likely a launch flag, ignore it. - i++; // path arg + //i++; // path arg RobloxLaunchArgs = $"-task EditFile -localPlaceFile \"{pathArg}\""; } }