From 8b97998975acc6098213b3db545775ff1eac698f Mon Sep 17 00:00:00 2001 From: Ryan Walpole Date: Wed, 1 May 2024 12:20:35 +1000 Subject: [PATCH] [v240501] - Implement #119 - 3 Add a new setting to store the Nexus mod update file download in memory. Co-Authored-By: Ryan Walpole <69621127+RyanWalpole@users.noreply.github.com> --- .../Properties/Settings.Designer.cs | 14 +++++++++++++- .../Properties/Settings.settings | 3 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/source-code/Mod Manager (Facelift Development)/Stardew Mod Manager/Properties/Settings.Designer.cs b/source-code/Mod Manager (Facelift Development)/Stardew Mod Manager/Properties/Settings.Designer.cs index 0728d85..daa4682 100644 --- a/source-code/Mod Manager (Facelift Development)/Stardew Mod Manager/Properties/Settings.Designer.cs +++ b/source-code/Mod Manager (Facelift Development)/Stardew Mod Manager/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace Stardew_Mod_Manager.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.6.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.9.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); @@ -334,5 +334,17 @@ public string NexusAPIKey { this["NexusAPIKey"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string NexusUpdateFile { + get { + return ((string)(this["NexusUpdateFile"])); + } + set { + this["NexusUpdateFile"] = value; + } + } } } diff --git a/source-code/Mod Manager (Facelift Development)/Stardew Mod Manager/Properties/Settings.settings b/source-code/Mod Manager (Facelift Development)/Stardew Mod Manager/Properties/Settings.settings index a10e08d..7c54b7e 100644 --- a/source-code/Mod Manager (Facelift Development)/Stardew Mod Manager/Properties/Settings.settings +++ b/source-code/Mod Manager (Facelift Development)/Stardew Mod Manager/Properties/Settings.settings @@ -80,5 +80,8 @@ + + + \ No newline at end of file