From bea356d623cfd614bb262b4f83e6dd66a99bfd05 Mon Sep 17 00:00:00 2001 From: Grabacr07 Date: Sun, 9 Jun 2024 21:41:49 +0900 Subject: [PATCH] Upper limit of resin is now 200 --- src/SilentSelene/App.config | 45 +++++++++++++++++++ src/SilentSelene/App.xaml.cs | 3 ++ .../Properties/UserSettings.Designer.cs | 6 +-- .../Properties/UserSettings.settings | 4 +- src/SilentSelene/SilentSelene.csproj | 2 +- 5 files changed, 54 insertions(+), 6 deletions(-) diff --git a/src/SilentSelene/App.config b/src/SilentSelene/App.config index 49cc43e..b29acf2 100644 --- a/src/SilentSelene/App.config +++ b/src/SilentSelene/App.config @@ -1,3 +1,48 @@  + + +
+ + + + + + 200 + + + 0 + + + True + + + False + + + 2000-01-01 + + + 200 + + + True + + + + + + + + + + + + False + + + 00:10:00 + + + \ No newline at end of file diff --git a/src/SilentSelene/App.xaml.cs b/src/SilentSelene/App.xaml.cs index 5a68d9a..e085791 100644 --- a/src/SilentSelene/App.xaml.cs +++ b/src/SilentSelene/App.xaml.cs @@ -23,6 +23,9 @@ static App() public App() { SettingsUtil.Update(); + + UserSettings.Default.MaxResin = 200; + UserSettings.Default.Save(); } protected override void OnStartup(StartupEventArgs e) diff --git a/src/SilentSelene/Properties/UserSettings.Designer.cs b/src/SilentSelene/Properties/UserSettings.Designer.cs index 9eeef84..c7fe78a 100644 --- a/src/SilentSelene/Properties/UserSettings.Designer.cs +++ b/src/SilentSelene/Properties/UserSettings.Designer.cs @@ -12,7 +12,7 @@ namespace SilentSelene.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.2.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.9.0.0")] internal sealed partial class UserSettings : global::System.Configuration.ApplicationSettingsBase { private static UserSettings defaultInstance = ((UserSettings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new UserSettings()))); @@ -25,7 +25,7 @@ public static UserSettings Default { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("160")] + [global::System.Configuration.DefaultSettingValueAttribute("200")] public int MaxResin { get { return ((int)(this["MaxResin"])); @@ -85,7 +85,7 @@ public bool TopMost { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("160")] + [global::System.Configuration.DefaultSettingValueAttribute("200")] public int OverflowResin { get { return ((int)(this["OverflowResin"])); diff --git a/src/SilentSelene/Properties/UserSettings.settings b/src/SilentSelene/Properties/UserSettings.settings index 3986445..52df96c 100644 --- a/src/SilentSelene/Properties/UserSettings.settings +++ b/src/SilentSelene/Properties/UserSettings.settings @@ -3,7 +3,7 @@ - 160 + 200 0 @@ -18,7 +18,7 @@ 2000-01-01 - 160 + 200 True diff --git a/src/SilentSelene/SilentSelene.csproj b/src/SilentSelene/SilentSelene.csproj index cf561d7..313191f 100644 --- a/src/SilentSelene/SilentSelene.csproj +++ b/src/SilentSelene/SilentSelene.csproj @@ -17,7 +17,7 @@ ..\..\README.md .assets\Icons\SilentSelene@128px.png .assets\Icons\SilentSelene.ico - 2.0.2 + 2.0.3