Skip to content

Commit 35caeae

Browse files
committed
Chore: Increase version after upgrade
1 parent d0e57db commit 35caeae

File tree

6 files changed

+25
-21
lines changed

6 files changed

+25
-21
lines changed

Source/GlobalAssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
[assembly: AssemblyTrademark("")]
77
[assembly: AssemblyCulture("")]
88

9-
[assembly: AssemblyVersion("2025.6.13.0")]
10-
[assembly: AssemblyFileVersion("2025.6.13.0")]
9+
[assembly: AssemblyVersion("2025.8.11.0")]
10+
[assembly: AssemblyFileVersion("2025.8.11.0")]

Source/NETworkManager.Settings/SettingsManager.cs

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ public static void Upgrade(Version fromVersion, Version toVersion)
190190
if (fromVersion < new Version(2024, 11, 11, 0))
191191
UpgradeTo_2024_11_11_0();
192192

193+
// 2025.8.11.0
194+
if (fromVersion < new Version(2025, 8, 11, 0))
195+
UpgradeTo_2025_8_11_0();
196+
193197
// Latest
194198
if (fromVersion < toVersion)
195199
UpgradeToLatest(toVersion);
@@ -311,12 +315,11 @@ private static void UpgradeTo_2024_11_11_0()
311315
}
312316

313317
/// <summary>
314-
/// Method to apply changes for the latest version.
318+
/// Method to apply changes for version 2025.8.11.0.
315319
/// </summary>
316-
/// <param name="version">Latest version.</param>
317-
private static void UpgradeToLatest(Version version)
320+
private static void UpgradeTo_2025_8_11_0()
318321
{
319-
Log.Info($"Apply upgrade to {version}...");
322+
Log.Info("Apply upgrade to 2025.8.11.0...");
320323

321324
// Add Hosts editor application
322325
Log.Info("Add new app \"Hosts File Editor\"...");
@@ -326,5 +329,14 @@ private static void UpgradeToLatest(Version version)
326329
ApplicationManager.GetDefaultList().First(x => x.Name == ApplicationName.HostsFileEditor));
327330
}
328331

332+
/// <summary>
333+
/// Method to apply changes for the latest version.
334+
/// </summary>
335+
/// <param name="version">Latest version.</param>
336+
private static void UpgradeToLatest(Version version)
337+
{
338+
Log.Info($"Apply upgrade to {version}...");
339+
}
340+
329341
#endregion
330342
}

Source/NETworkManager/ViewModels/SettingsSettingsViewModel.cs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using MahApps.Metro.Controls.Dialogs;
2-
using MahApps.Metro.SimpleChildWindow;
1+
using MahApps.Metro.SimpleChildWindow;
32
using NETworkManager.Localization.Resources;
43
using NETworkManager.Settings;
54
using NETworkManager.Utilities;
@@ -15,9 +14,6 @@ namespace NETworkManager.ViewModels;
1514
public class SettingsSettingsViewModel : ViewModelBase
1615
{
1716
#region Variables
18-
19-
private readonly IDialogCoordinator _dialogCoordinator;
20-
2117
public Action CloseAction { get; set; }
2218

2319
private string _location;
@@ -34,15 +30,12 @@ public string Location
3430
OnPropertyChanged();
3531
}
3632
}
37-
3833
#endregion
3934

4035
#region Constructor, LoadSettings
4136

42-
public SettingsSettingsViewModel(IDialogCoordinator instance)
37+
public SettingsSettingsViewModel()
4338
{
44-
_dialogCoordinator = instance;
45-
4639
LoadSettings();
4740
}
4841

Source/NETworkManager/Views/SettingsSettingsView.xaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
7-
xmlns:dialogs="clr-namespace:MahApps.Metro.Controls.Dialogs;assembly=MahApps.Metro"
87
xmlns:viewModels="clr-namespace:NETworkManager.ViewModels"
98
xmlns:localization="clr-namespace:NETworkManager.Localization.Resources;assembly=NETworkManager.Localization"
10-
dialogs:DialogParticipation.Register="{Binding}"
119
mc:Ignorable="d" Loaded="UserControl_Loaded"
1210
d:DataContext="{d:DesignInstance viewModels:SettingsSettingsViewModel}">
1311
<StackPanel>

Source/NETworkManager/Views/SettingsSettingsView.xaml.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
using System.Windows;
2-
using MahApps.Metro.Controls.Dialogs;
3-
using NETworkManager.ViewModels;
1+
using NETworkManager.ViewModels;
2+
using System.Windows;
43

54
namespace NETworkManager.Views;
65

76
public partial class SettingsSettingsView
87
{
9-
private readonly SettingsSettingsViewModel _viewModel = new(DialogCoordinator.Instance);
8+
private readonly SettingsSettingsViewModel _viewModel = new();
109

1110
public SettingsSettingsView()
1211
{

Website/docs/changelog/next-release.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Release date: **xx.xx.2025**
2121

2222
## Improvements
2323

24+
- Redesign settings reset dialog. [#3138](https://github.com/BornToBeRoot/NETworkManager/pull/3138)
25+
2426
## Bugfixes
2527

2628
## Dependencies, Refactoring & Documentation

0 commit comments

Comments
 (0)