mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Merge pull request #1267 from bluepilledgreat/feature/hide-power-options
hide power tools
This commit is contained in:
commit
c137db6715
@ -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");
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user