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
36 lines
1.7 KiB
C#
36 lines
1.7 KiB
C#
using System.Collections.ObjectModel;
|
|
|
|
namespace Bloxstrap.Models.Persistable
|
|
{
|
|
public class Settings
|
|
{
|
|
// bloxstrap configuration
|
|
public BootstrapperStyle BootstrapperStyle { get; set; } = BootstrapperStyle.FluentDialog;
|
|
public BootstrapperIcon BootstrapperIcon { get; set; } = BootstrapperIcon.IconBloxstrap;
|
|
public string BootstrapperTitle { get; set; } = App.ProjectName;
|
|
public string BootstrapperIconCustomLocation { get; set; } = "";
|
|
public Theme Theme { get; set; } = Theme.Default;
|
|
public bool CheckForUpdates { get; set; } = true;
|
|
public bool ConfirmLaunches { get; set; } = false;
|
|
public string Locale { get; set; } = "nil";
|
|
public bool ForceRobloxLanguage { get; set; } = false;
|
|
public bool UseFastFlagManager { get; set; } = true;
|
|
public bool WPFSoftwareRender { get; set; } = false;
|
|
public bool EnableAnalytics { get; set; } = true;
|
|
public bool BackgroundUpdatesEnabled { get; set; } = true;
|
|
public bool DebugDisableVersionPackageCleanup { get; set; } = false;
|
|
public string? SelectedCustomTheme { get; set; } = null;
|
|
|
|
// integration configuration
|
|
public bool EnableActivityTracking { get; set; } = true;
|
|
public bool UseDiscordRichPresence { get; set; } = true;
|
|
public bool HideRPCButtons { get; set; } = true;
|
|
public bool ShowAccountOnRichPresence { get; set; } = false;
|
|
public bool ShowServerDetails { get; set; } = false;
|
|
public ObservableCollection<CustomIntegration> CustomIntegrations { get; set; } = new();
|
|
|
|
// mod preset configuration
|
|
public bool UseDisableAppPatch { get; set; } = false;
|
|
}
|
|
}
|