mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 00:21:33 -07:00
* add background updating * add RobloxState * fix potential race condition with RobloxState * update ForceRobloxReinstallation in menu * disable AssertReadOnlyDirectory * add storage space check * add logging to IsEligibleForBackgroundUpdate * add a setting to toggle background updates * fix mutex names being mixed up * update string * update strings * update strings
34 lines
1.0 KiB
C#
34 lines
1.0 KiB
C#
namespace Bloxstrap.Models.Persistable
|
|
{
|
|
public class State
|
|
{
|
|
public bool ShowFFlagEditorWarning { get; set; } = true;
|
|
|
|
public bool PromptWebView2Install { get; set; } = true;
|
|
|
|
public bool ForceReinstall { get; set; } = false;
|
|
|
|
public WindowState SettingsWindow { get; set; } = new();
|
|
|
|
#region Deprecated properties
|
|
/// <summary>
|
|
/// Deprecated, use App.RobloxState.Player
|
|
/// </summary>
|
|
public AppState? Player { private get; set; }
|
|
public AppState? GetDeprecatedPlayer() => Player;
|
|
|
|
/// <summary>
|
|
/// Deprecated, use App.RobloxState.Studio
|
|
/// </summary>
|
|
public AppState? Studio { private get; set; }
|
|
public AppState? GetDeprecatedStudio() => Studio;
|
|
|
|
/// <summary>
|
|
/// Deprecated, use App.RobloxState.ModManifest
|
|
/// </summary>
|
|
public List<string>? ModManifest { private get; set; }
|
|
public List<string>? GetDeprecatedModManifest() => ModManifest;
|
|
#endregion
|
|
}
|
|
}
|