Skip to content

Commit 2f697a8

Browse files
committed
add requested changes
1 parent 8fa1019 commit 2f697a8

6 files changed

Lines changed: 27 additions & 27 deletions

File tree

Bloxstrap/Bootstrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ private async Task UpgradeRoblox()
11971197

11981198
if (!App.Settings.Prop.DebugDisableVersionPackageCleanup)
11991199
{
1200-
if (App.Settings.Prop.CacheDownloads)
1200+
if (!App.Settings.Prop.DisableCachingDownloads)
12011201
{
12021202
foreach (string hash in cachedPackageHashes)
12031203
{

Bloxstrap/Models/Persistable/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class Settings
1919
public bool WPFSoftwareRender { get; set; } = false;
2020
public bool EnableAnalytics { get; set; } = true;
2121
public bool BackgroundUpdatesEnabled { get; set; } = false;
22-
public bool CacheDownloads { get; set; } = true;
22+
public bool DisableCachingDownloads { get; set; } = false;
2323
public bool DebugDisableVersionPackageCleanup { get; set; } = false;
2424
public string? SelectedCustomTheme { get; set; } = null;
2525
public WebEnvironment WebEnvironment { get; set; } = WebEnvironment.Production;

Bloxstrap/Resources/Strings.Designer.cs

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Bloxstrap/Resources/Strings.resx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,10 +1386,10 @@ Defaulting to {1}.</value>
13861386
<data name="Menu.FastFlagEditor.AllowlistInformation" xml:space="preserve">
13871387
<value>Due to the [Fast Flag allowlist update]({0}), most custom Fast Flags will have no effect on the Roblox player.</value>
13881388
</data>
1389-
<data name="Menu.Behaviour.CacheDownloads.Description" xml:space="preserve">
1390-
<value>Allow Bloxstrap to keep Roblox update files downloaded to speed up future updates.</value>
1389+
<data name="Menu.Behaviour.DisableCachingDownloads.Description" xml:space="preserve">
1390+
<value>Prevents Bloxstrap from caching Roblox version update files. This will slow down updates.</value>
13911391
</data>
1392-
<data name="Menu.Behaviour.CacheDownloads.Title" xml:space="preserve">
1393-
<value>Cache Roblox update files</value>
1392+
<data name="Menu.Behaviour.DisableCachingDownloads.Title" xml:space="preserve">
1393+
<value>Disable caching Roblox update files</value>
13941394
</data>
13951395
</root>

Bloxstrap/UI/Elements/Settings/Pages/BootstrapperPage.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
</controls:OptionControl>
3131

3232
<controls:OptionControl
33-
Header="{x:Static resources:Strings.Menu_Behaviour_CacheDownloads_Title}"
34-
Description="{x:Static resources:Strings.Menu_Behaviour_CacheDownloads_Description}">
35-
<ui:ToggleSwitch IsChecked="{Binding CacheDownloads, Mode=TwoWay}" />
33+
Header="{x:Static resources:Strings.Menu_Behaviour_DisableCachingDownloads_Title}"
34+
Description="{x:Static resources:Strings.Menu_Behaviour_DisableCachingDownloads_Description}">
35+
<ui:ToggleSwitch IsChecked="{Binding DisableCachingDownloads, Mode=TwoWay}" />
3636
</controls:OptionControl>
3737

3838
<controls:OptionControl

Bloxstrap/UI/ViewModels/Settings/BehaviourViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ public bool BackgroundUpdates
1414
set => App.Settings.Prop.BackgroundUpdatesEnabled = value;
1515
}
1616

17-
public bool CacheDownloads
17+
public bool DisableCachingDownloads
1818
{
19-
get => App.Settings.Prop.CacheDownloads;
20-
set => App.Settings.Prop.CacheDownloads = value;
19+
get => App.Settings.Prop.DisableCachingDownloads;
20+
set => App.Settings.Prop.DisableCachingDownloads = value;
2121
}
2222

2323
public bool IsRobloxInstallationMissing => !App.IsPlayerInstalled && !App.IsStudioInstalled;

0 commit comments

Comments
 (0)