ability to disable package cleanup

This commit is contained in:
bluepilledgreat 2025-03-11 22:15:46 +00:00
parent 9d356b0b71
commit 9a90d8935a
2 changed files with 15 additions and 11 deletions

View File

@ -930,6 +930,8 @@ namespace Bloxstrap
allPackageHashes.AddRange(App.State.Prop.Player.PackageHashes.Values);
allPackageHashes.AddRange(App.State.Prop.Studio.PackageHashes.Values);
if (!App.Settings.Prop.DebugDisableVersionPackageCleanup)
{
foreach (string hash in cachedPackageHashes)
{
if (!allPackageHashes.Contains(hash))
@ -947,6 +949,7 @@ namespace Bloxstrap
}
}
}
}
App.Logger.WriteLine(LOG_IDENT, "Registering approximate program size...");

View File

@ -17,6 +17,7 @@ namespace Bloxstrap.Models.Persistable
public bool UseFastFlagManager { get; set; } = true;
public bool WPFSoftwareRender { get; set; } = false;
public bool EnableAnalytics { get; set; } = true;
public bool DebugDisableVersionPackageCleanup { get; set; } = false;
public string? SelectedCustomTheme { get; set; } = null;
// integration configuration