Merge pull request #1267 from bluepilledgreat/feature/hide-power-options

hide power tools
This commit is contained in:
pizzaboxer 2024-02-09 10:37:36 +00:00 committed by GitHub
commit c137db6715
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 4 deletions

View File

@ -60,7 +60,7 @@
int delay = 1000; int delay = 1000;
if (App.Settings.Prop.OhHeyYouFoundMe) if (App.Settings.Prop.PowerTools)
delay = 250; delay = 250;
string logDirectory = Path.Combine(Paths.LocalAppData, "Roblox\\logs"); string logDirectory = Path.Combine(Paths.LocalAppData, "Roblox\\logs");

View File

@ -13,7 +13,10 @@ namespace Bloxstrap.Models
public bool CheckForUpdates { get; set; } = true; public bool CheckForUpdates { get; set; } = true;
public bool CreateDesktopIcon { get; set; } = true; public bool CreateDesktopIcon { get; set; } = true;
public bool MultiInstanceLaunching { get; set; } = false; public bool MultiInstanceLaunching { get; set; } = false;
public bool OhHeyYouFoundMe { get; set; } = false;
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("OhHeyYouFoundMeAgain")]
public bool PowerTools { get; set; } = false;
// channel configuration // channel configuration
public string Channel { get; set; } = RobloxDeployment.DefaultChannel; public string Channel { get; set; } = RobloxDeployment.DefaultChannel;

View File

@ -39,7 +39,7 @@ namespace Bloxstrap.UI.Elements.ContextMenu
if (_activityWatcher is not null) if (_activityWatcher is not null)
{ {
if (App.Settings.Prop.OhHeyYouFoundMe) if (App.Settings.Prop.PowerTools)
LogTracerMenuItem.Visibility = Visibility.Visible; LogTracerMenuItem.Visibility = Visibility.Visible;
_activityWatcher.OnGameJoin += ActivityWatcher_OnGameJoin; _activityWatcher.OnGameJoin += ActivityWatcher_OnGameJoin;

View File

@ -28,7 +28,7 @@ namespace Bloxstrap.UI.ViewModels.Menu
public ICommand OpenFastFlagEditorCommand => new RelayCommand(OpenFastFlagEditor); public ICommand OpenFastFlagEditorCommand => new RelayCommand(OpenFastFlagEditor);
public Visibility ShowDebugFlags => App.Settings.Prop.OhHeyYouFoundMe ? Visibility.Visible : Visibility.Collapsed; public Visibility ShowDebugFlags => App.Settings.Prop.PowerTools ? Visibility.Visible : Visibility.Collapsed;
public bool HttpRequestLogging public bool HttpRequestLogging
{ {