mirror of
https://github.com/ModOrganizer2/modorganizer-NCC.git
synced 2026-07-27 14:00:52 -07:00
Merge pull request #5 from ModOrganizer2/Develop
Stage for release 2.2.2
This commit is contained in:
@@ -9,27 +9,26 @@ GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
using Microsoft.Win32;
|
||||
using Nexus.Client.Settings;
|
||||
using Nexus.Client.Util;
|
||||
|
||||
namespace Nexus.Client
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides information about the current programme environment.
|
||||
/// </summary>
|
||||
public class EnvironmentInfo : IEnvironmentInfo
|
||||
{
|
||||
private string m_strApplicationPersonalDataFolderPath = null;
|
||||
private string m_strPersonalDataFolderPath = null;
|
||||
private string m_strTempPath = null;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
using Microsoft.Win32;
|
||||
using Nexus.Client.Settings;
|
||||
using Nexus.Client.Util;
|
||||
|
||||
/// <summary>
|
||||
/// Provides information about the current programme environment.
|
||||
/// </summary>
|
||||
public class EnvironmentInfo : IEnvironmentInfo
|
||||
{
|
||||
#region Properties
|
||||
|
||||
private string m_strApplicationPersonalDataFolderPath = null;
|
||||
private string m_strPersonalDataFolderPath = null;
|
||||
private string m_strTempPath = null;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the path to the user's personal data folder.
|
||||
/// </summary>
|
||||
@@ -47,11 +46,11 @@ namespace Nexus.Client
|
||||
/// </summary>
|
||||
/// <value>Whether the programme is running under the Mono framework.</value>
|
||||
public bool IsMonoMode
|
||||
{
|
||||
get
|
||||
{
|
||||
return Type.GetType("Mono.Runtime") != null;
|
||||
}
|
||||
{
|
||||
get
|
||||
{
|
||||
return Type.GetType("Mono.Runtime") != null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -77,44 +76,44 @@ namespace Nexus.Client
|
||||
/// </summary>
|
||||
/// <value>Whether the current process is 64bit.</value>
|
||||
public bool Is64BitProcess
|
||||
{
|
||||
get
|
||||
{
|
||||
return (IntPtr.Size == 8);
|
||||
}
|
||||
}
|
||||
{
|
||||
get
|
||||
{
|
||||
return (IntPtr.Size == 8);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the application and user settings.
|
||||
/// </summary>
|
||||
/// <value>The application and user settings.</value>
|
||||
public ISettings Settings { get; private set; }
|
||||
/// <summary>
|
||||
/// Gets the application and user settings.
|
||||
/// </summary>
|
||||
/// <value>The application and user settings.</value>
|
||||
public ISettings Settings { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the version of the running application.
|
||||
/// </summary>
|
||||
/// <value>The version of the running application.</value>
|
||||
public Version ApplicationVersion
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Version(CommonData.VersionString);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets the version of the running application.
|
||||
/// </summary>
|
||||
/// <value>The version of the running application.</value>
|
||||
public Version ApplicationVersion
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Version(CommonData.VersionString);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// A simple constructor that initializes the object with the given dependencies.
|
||||
/// </summary>
|
||||
/// <param name="p_setSettings">The application and user settings.</param>
|
||||
public EnvironmentInfo(ISettings p_setSettings)
|
||||
{
|
||||
Settings = p_setSettings;
|
||||
/// <summary>
|
||||
/// A simple constructor that initializes the object with the given dependencies.
|
||||
/// </summary>
|
||||
/// <param name="p_setSettings">The application and user settings.</param>
|
||||
public EnvironmentInfo(ISettings p_setSettings)
|
||||
{
|
||||
Settings = p_setSettings;
|
||||
PersonalDataFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
|
||||
if (String.IsNullOrEmpty(PersonalDataFolderPath))
|
||||
if (String.IsNullOrEmpty(PersonalDataFolderPath))
|
||||
PersonalDataFolderPath = Registry.GetValue(@"HKEY_CURRENT_USER\software\microsoft\windows\currentversion\explorer\user shell folders", "Personal", null).ToString();
|
||||
|
||||
if (String.IsNullOrEmpty(Settings.TempPathFolder))
|
||||
@@ -129,6 +128,6 @@ namespace Nexus.Client
|
||||
ApplicationPersonalDataFolderPath = Path.Combine(PersonalDataFolderPath, p_setSettings.ModManagerName);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.3.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.3.0.0")]
|
||||
[assembly: AssemblyVersion("0.5.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.5.0.0")]
|
||||
|
||||
+82
-185
@@ -12,7 +12,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.2.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
@@ -37,6 +37,8 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<ArrayOfString xmlns:xsi=\"http://www.w3." +
|
||||
"org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" />")]
|
||||
public global::Nexus.Client.Settings.SettingsList InstalledGames {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.SettingsList)(this["InstalledGames"]));
|
||||
@@ -120,7 +122,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool AddMissingInfoToMods {
|
||||
get {
|
||||
return ((bool)(this["AddMissingInfoToMods"]));
|
||||
@@ -180,8 +182,8 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n\t\t\t\t<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n\t\t\t\t<KeyedSettingsOfKeyedSettingsO" +
|
||||
"fString />\r\n\t\t\t")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<KeyedSettingsOfKeyedSettingsOfString />" +
|
||||
"")]
|
||||
public global::Nexus.Client.Settings.KeyedSettings<Nexus.Client.Settings.KeyedSettings<string>> RepositoryAuthenticationTokens {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.KeyedSettings<Nexus.Client.Settings.KeyedSettings<string>>)(this["RepositoryAuthenticationTokens"]));
|
||||
@@ -193,8 +195,8 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n\t\t\t\t<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n\t\t\t\t<PerGameModeSettingsOfKeyedSet" +
|
||||
"tingsOfAddModDescriptor />\r\n\t\t\t")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<PerGameModeSettingsOfKeyedSettingsOfAdd" +
|
||||
"ModDescriptor />")]
|
||||
public global::Nexus.Client.Settings.PerGameModeSettings<Nexus.Client.Settings.KeyedSettings<Nexus.Client.ModManagement.AddModDescriptor>> QueuedModsToAdd {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.PerGameModeSettings<Nexus.Client.Settings.KeyedSettings<Nexus.Client.ModManagement.AddModDescriptor>>)(this["QueuedModsToAdd"]));
|
||||
@@ -206,7 +208,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("http://skyrim.nexusmods.com/downloads/file.php?id=1334")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("https://www.nexusmods.com/content/modmanager/")]
|
||||
public string ModManagerUrl {
|
||||
get {
|
||||
return ((string)(this["ModManagerUrl"]));
|
||||
@@ -215,7 +217,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool CheckForUpdatesOnStartup {
|
||||
get {
|
||||
return ((bool)(this["CheckForUpdatesOnStartup"]));
|
||||
@@ -227,19 +229,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("1")]
|
||||
public int NumberOfConnections {
|
||||
get {
|
||||
return ((int)(this["NumberOfConnections"]));
|
||||
}
|
||||
set {
|
||||
this["NumberOfConnections"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("default")]
|
||||
public string UserLocation {
|
||||
get {
|
||||
return ((string)(this["UserLocation"]));
|
||||
@@ -251,19 +241,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool PremiumOnly {
|
||||
get {
|
||||
return ((bool)(this["PremiumOnly"]));
|
||||
}
|
||||
set {
|
||||
this["PremiumOnly"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("3")]
|
||||
public int UpdateCheckInterval {
|
||||
get {
|
||||
return ((int)(this["UpdateCheckInterval"]));
|
||||
@@ -275,7 +253,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string LastUpdateCheckDate {
|
||||
get {
|
||||
return ((string)(this["LastUpdateCheckDate"]));
|
||||
@@ -287,7 +265,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("3")]
|
||||
public int ModVersionsCheckInterval {
|
||||
get {
|
||||
return ((int)(this["ModVersionsCheckInterval"]));
|
||||
@@ -299,7 +277,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string LastModVersionsCheckDate {
|
||||
get {
|
||||
return ((string)(this["LastModVersionsCheckDate"]));
|
||||
@@ -347,7 +325,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool ShowEmptyCategory {
|
||||
get {
|
||||
return ((bool)(this["ShowEmptyCategory"]));
|
||||
@@ -371,7 +349,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool SkipReadmeFiles {
|
||||
get {
|
||||
return ((bool)(this["SkipReadmeFiles"]));
|
||||
@@ -383,7 +361,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool ShowSidePanel {
|
||||
get {
|
||||
return ((bool)(this["ShowSidePanel"]));
|
||||
@@ -395,7 +373,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("1")]
|
||||
public int CategoryViewDefaultSortOrder {
|
||||
get {
|
||||
return ((int)(this["CategoryViewDefaultSortOrder"]));
|
||||
@@ -419,7 +397,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool UseCategoryView {
|
||||
get {
|
||||
return ((bool)(this["UseCategoryView"]));
|
||||
@@ -443,7 +421,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool SupportOfflineMode {
|
||||
get {
|
||||
return ((bool)(this["SupportOfflineMode"]));
|
||||
@@ -455,7 +433,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool UseMultithreadedDownloads {
|
||||
get {
|
||||
return ((bool)(this["UseMultithreadedDownloads"]));
|
||||
@@ -467,7 +445,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool ShowStartupMessage {
|
||||
get {
|
||||
return ((bool)(this["ShowStartupMessage"]));
|
||||
@@ -479,7 +457,7 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
public bool CheckForTipsOnStartup {
|
||||
get {
|
||||
return ((bool)(this["CheckForTipsOnStartup"]));
|
||||
@@ -491,25 +469,13 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool AutoPluginSorting {
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("5")]
|
||||
public int MaxConcurrentDownloads {
|
||||
get {
|
||||
return ((bool)(this["AutoPluginSorting"]));
|
||||
return ((int)(this["MaxConcurrentDownloads"]));
|
||||
}
|
||||
set {
|
||||
this["AutoPluginSorting"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool ManageMultiplePluginTask {
|
||||
get {
|
||||
return ((bool)(this["ManageMultiplePluginTask"]));
|
||||
}
|
||||
set {
|
||||
this["ManageMultiplePluginTask"] = value;
|
||||
this["MaxConcurrentDownloads"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -624,20 +590,37 @@ namespace Nexus.Client.CLI.Properties {
|
||||
|
||||
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<KeyedSettingsOfString />")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute(@"<?xml version=""1.0"" encoding=""utf-16""?>
|
||||
<KeyedSettingsOfString>
|
||||
<item key=""Beta Wiki"">
|
||||
<string>https://wiki.nexusmods.com/index.php/Category:NMM</string>
|
||||
</item>
|
||||
<item key=""Beta Forums"">
|
||||
<string>https://forums.nexusmods.com/index.php?/forum/439-open-beta-feedback/</string>
|
||||
</item>
|
||||
<item key=""Bug Report How To"">
|
||||
<string>https://forums.nexusmods.com/index.php?/topic/460590-reporting-bugs/</string>
|
||||
</item>
|
||||
<item key=""Report a Bug"">
|
||||
<string>https://github.com/Nexus-Mods/Nexus-Mod-Manager/issues</string>
|
||||
</item>
|
||||
</KeyedSettingsOfString>")]
|
||||
public global::Nexus.Client.Settings.KeyedSettings<string> HelpLinks {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.KeyedSettings<string>)(this["HelpLinks"]));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<PerGameModeSettingsOfString />")]
|
||||
public global::Nexus.Client.Settings.PerGameModeSettings<string> ToolFolder {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.PerGameModeSettings<string>)(this["ToolFolder"]));
|
||||
}
|
||||
set {
|
||||
this["ToolFolder"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
@@ -810,127 +793,6 @@ namespace Nexus.Client.CLI.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n <ArrayOfString xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns" +
|
||||
":xsd=\"http://www.w3.org/2001/XMLSchema\" />\r\n ")]
|
||||
public global::Nexus.Client.Settings.SettingsList InstalledGames1 {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.SettingsList)(this["InstalledGames1"]));
|
||||
}
|
||||
set {
|
||||
this["InstalledGames1"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n <PerGameModeSettingsOfKeyedSettingsOfAddModDescriptor />\r\n ")]
|
||||
public global::Nexus.Client.Settings.PerGameModeSettings<Nexus.Client.Settings.KeyedSettings<Nexus.Client.ModManagement.AddModDescriptor>> QueuedModsToAdd1 {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.PerGameModeSettings<Nexus.Client.Settings.KeyedSettings<Nexus.Client.ModManagement.AddModDescriptor>>)(this["QueuedModsToAdd1"]));
|
||||
}
|
||||
set {
|
||||
this["QueuedModsToAdd1"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n <WindowPositions />\r\n ")]
|
||||
public global::Nexus.Client.Settings.WindowPositions WindowPositions1 {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.WindowPositions)(this["WindowPositions1"]));
|
||||
}
|
||||
set {
|
||||
this["WindowPositions1"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n <ColumnWidths />\r\n ")]
|
||||
public global::Nexus.Client.Settings.ColumnWidths ColumnWidths1 {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.ColumnWidths)(this["ColumnWidths1"]));
|
||||
}
|
||||
set {
|
||||
this["ColumnWidths1"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n <SplitterSizes />\r\n ")]
|
||||
public global::Nexus.Client.Settings.SplitterSizes SplitterSizes1 {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.SplitterSizes)(this["SplitterSizes1"]));
|
||||
}
|
||||
set {
|
||||
this["SplitterSizes1"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n <PerGameModeSettingsOfString />\r\n ")]
|
||||
public global::Nexus.Client.Settings.PerGameModeSettings<string> ToolFolder1 {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.PerGameModeSettings<string>)(this["ToolFolder1"]));
|
||||
}
|
||||
set {
|
||||
this["ToolFolder1"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n <PerGameModeSettingsOfKeyedSettingsOfString />\r\n ")]
|
||||
public global::Nexus.Client.Settings.PerGameModeSettings<Nexus.Client.Settings.KeyedSettings<string>> SupportedTools1 {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.PerGameModeSettings<Nexus.Client.Settings.KeyedSettings<string>>)(this["SupportedTools1"]));
|
||||
}
|
||||
set {
|
||||
this["SupportedTools1"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n <PerGameModeSettingsOfString />\r\n ")]
|
||||
public global::Nexus.Client.Settings.PerGameModeSettings<string> VirtualFolder1 {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.PerGameModeSettings<string>)(this["VirtualFolder1"]));
|
||||
}
|
||||
set {
|
||||
this["VirtualFolder1"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n <PerGameModeSettingsOfString />\r\n ")]
|
||||
public global::Nexus.Client.Settings.PerGameModeSettings<string> HDLinkFolder1 {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.PerGameModeSettings<string>)(this["HDLinkFolder1"]));
|
||||
}
|
||||
set {
|
||||
this["HDLinkFolder1"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\r\n <PerGameModeSettingsOfBoolean />\r\n ")]
|
||||
public global::Nexus.Client.Settings.PerGameModeSettings<bool> MultiHDInstall1 {
|
||||
get {
|
||||
return ((global::Nexus.Client.Settings.PerGameModeSettings<bool>)(this["MultiHDInstall1"]));
|
||||
}
|
||||
set {
|
||||
this["MultiHDInstall1"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("True")]
|
||||
@@ -942,5 +804,40 @@ namespace Nexus.Client.CLI.Properties {
|
||||
this["OverrideLocalModNames"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string ApiKey {
|
||||
get {
|
||||
return ((string)(this["ApiKey"]));
|
||||
}
|
||||
set {
|
||||
this["ApiKey"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.DateTime LastCheckedMissingDownloadID {
|
||||
get {
|
||||
return ((global::System.DateTime)(this["LastCheckedMissingDownloadID"]));
|
||||
}
|
||||
set {
|
||||
this["LastCheckedMissingDownloadID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool SkyrimSEFirstInstallWarning {
|
||||
get {
|
||||
return ((bool)(this["SkyrimSEFirstInstallWarning"]));
|
||||
}
|
||||
set {
|
||||
this["SkyrimSEFirstInstallWarning"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="InstalledGames" Type="Nexus.Client.Settings.SettingsList" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
<Value Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></Value>
|
||||
</Setting>
|
||||
<Setting Name="InstalledGamesDetected" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
@@ -27,7 +28,7 @@
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="AddMissingInfoToMods" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="CloseModManagerAfterGameLaunch" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
@@ -42,43 +43,33 @@
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="RepositoryAuthenticationTokens" Type="Nexus.Client.Settings.KeyedSettings`1[Nexus.Client.Settings.KeyedSettings`1[System.String]]" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<?xml version="1.0" encoding="utf-16"?>
|
||||
<KeyedSettingsOfKeyedSettingsOfString />
|
||||
</Value>
|
||||
<Value Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<KeyedSettingsOfKeyedSettingsOfString /></Value>
|
||||
</Setting>
|
||||
<Setting Name="QueuedModsToAdd" Type="Nexus.Client.Settings.PerGameModeSettings`1[Nexus.Client.Settings.KeyedSettings`1[Nexus.Client.ModManagement.AddModDescriptor]]" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<?xml version="1.0" encoding="utf-16"?>
|
||||
<PerGameModeSettingsOfKeyedSettingsOfAddModDescriptor />
|
||||
</Value>
|
||||
<Value Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<PerGameModeSettingsOfKeyedSettingsOfAddModDescriptor /></Value>
|
||||
</Setting>
|
||||
<Setting Name="ModManagerUrl" Type="System.String" Scope="Application">
|
||||
<Value Profile="(Default)">http://skyrim.nexusmods.com/downloads/file.php?id=1334</Value>
|
||||
<Value Profile="(Default)">https://www.nexusmods.com/content/modmanager/</Value>
|
||||
</Setting>
|
||||
<Setting Name="CheckForUpdatesOnStartup" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="NumberOfConnections" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">1</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="UserLocation" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="PremiumOnly" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">default</Value>
|
||||
</Setting>
|
||||
<Setting Name="UpdateCheckInterval" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">0</Value>
|
||||
<Value Profile="(Default)">3</Value>
|
||||
</Setting>
|
||||
<Setting Name="LastUpdateCheckDate" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">0</Value>
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="ModVersionsCheckInterval" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">0</Value>
|
||||
<Value Profile="(Default)">3</Value>
|
||||
</Setting>
|
||||
<Setting Name="LastModVersionsCheckDate" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">0</Value>
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="TempPathFolder" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
@@ -90,46 +81,43 @@
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="ShowEmptyCategory" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="HideModUpdateWarningIcon" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="SkipReadmeFiles" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="ShowSidePanel" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="CategoryViewDefaultSortOrder" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">0</Value>
|
||||
<Value Profile="(Default)">1</Value>
|
||||
</Setting>
|
||||
<Setting Name="CategoryViewDefaultSortColumn" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">0</Value>
|
||||
</Setting>
|
||||
<Setting Name="UseCategoryView" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="OfflineMode" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="SupportOfflineMode" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="UseMultithreadedDownloads" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="ShowStartupMessage" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="CheckForTipsOnStartup" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="AutoPluginSorting" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="ManageMultiplePluginTask" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
<Setting Name="MaxConcurrentDownloads" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">5</Value>
|
||||
</Setting>
|
||||
<Setting Name="SupportedTools" Type="Nexus.Client.Settings.PerGameModeSettings`1[Nexus.Client.Settings.KeyedSettings`1[System.String]]" Scope="User">
|
||||
<Value Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
@@ -165,9 +153,22 @@
|
||||
</Setting>
|
||||
<Setting Name="HelpLinks" Type="Nexus.Client.Settings.KeyedSettings`1[System.String]" Scope="Application">
|
||||
<Value Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<KeyedSettingsOfString /></Value>
|
||||
<KeyedSettingsOfString>
|
||||
<item key="Beta Wiki">
|
||||
<string>https://wiki.nexusmods.com/index.php/Category:NMM</string>
|
||||
</item>
|
||||
<item key="Beta Forums">
|
||||
<string>https://forums.nexusmods.com/index.php?/forum/439-open-beta-feedback/</string>
|
||||
</item>
|
||||
<item key="Bug Report How To">
|
||||
<string>https://forums.nexusmods.com/index.php?/topic/460590-reporting-bugs/</string>
|
||||
</item>
|
||||
<item key="Report a Bug">
|
||||
<string>https://github.com/Nexus-Mods/Nexus-Mod-Manager/issues</string>
|
||||
</item>
|
||||
</KeyedSettingsOfString></Value>
|
||||
</Setting>
|
||||
<Setting Name="ToolFolder" Type="Nexus.Client.Settings.PerGameModeSettings`1[System.String]" Scope="Application">
|
||||
<Setting Name="ToolFolder" Type="Nexus.Client.Settings.PerGameModeSettings`1[System.String]" Scope="User">
|
||||
<Value Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<PerGameModeSettingsOfString /></Value>
|
||||
</Setting>
|
||||
@@ -226,59 +227,18 @@
|
||||
<Setting Name="DelayedSettings" Type="Nexus.Client.Settings.PerGameModeSettings`1[Nexus.Client.Settings.KeyedSettings`1[System.String]]" Scope="User">
|
||||
<Value Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<PerGameModeSettingsOfKeyedSettingsOfString /></Value>
|
||||
</Setting>
|
||||
<Setting Name="InstalledGames" Type="Nexus.Client.Settings.SettingsList" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
|
||||
</Value>
|
||||
</Setting>
|
||||
<Setting Name="QueuedModsToAdd" Type="Nexus.Client.Settings.PerGameModeSettings`1[Nexus.Client.Settings.KeyedSettings`1[Nexus.Client.ModManagement.AddModDescriptor]]" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<PerGameModeSettingsOfKeyedSettingsOfAddModDescriptor />
|
||||
</Value>
|
||||
</Setting>
|
||||
<Setting Name="WindowPositions" Type="Nexus.Client.Settings.WindowPositions" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<WindowPositions />
|
||||
</Value>
|
||||
</Setting>
|
||||
<Setting Name="ColumnWidths" Type="Nexus.Client.Settings.ColumnWidths" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<ColumnWidths />
|
||||
</Value>
|
||||
</Setting>
|
||||
<Setting Name="SplitterSizes" Type="Nexus.Client.Settings.SplitterSizes" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<SplitterSizes />
|
||||
</Value>
|
||||
</Setting>
|
||||
<Setting Name="ToolFolder" Type="Nexus.Client.Settings.PerGameModeSettings`1[System.String]" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<PerGameModeSettingsOfString />
|
||||
</Value>
|
||||
</Setting>
|
||||
<Setting Name="SupportedTools" Type="Nexus.Client.Settings.PerGameModeSettings`1[Nexus.Client.Settings.KeyedSettings`1[System.String]]" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<PerGameModeSettingsOfKeyedSettingsOfString />
|
||||
</Value>
|
||||
</Setting>
|
||||
<Setting Name="VirtualFolder" Type="Nexus.Client.Settings.PerGameModeSettings`1[System.String]" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<PerGameModeSettingsOfString />
|
||||
</Value>
|
||||
</Setting>
|
||||
<Setting Name="HDLinkFolder" Type="Nexus.Client.Settings.PerGameModeSettings`1[System.String]" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<PerGameModeSettingsOfString />
|
||||
</Value>
|
||||
</Setting>
|
||||
<Setting Name="MultiHDInstall" Type="Nexus.Client.Settings.PerGameModeSettings`1[System.Boolean]" Scope="User">
|
||||
<Value Profile="(Default)">
|
||||
<PerGameModeSettingsOfBoolean />
|
||||
</Value>
|
||||
</Setting>
|
||||
<Setting Name="OverrideLocalModNames" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">True</Value>
|
||||
</Setting>
|
||||
<Setting Name="ApiKey" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="LastCheckedMissingDownloadID" Type="System.DateTime" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="SkyrimSEFirstInstallWarning" Type="System.Boolean" Scope="User">
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
@@ -5,6 +5,8 @@
|
||||
using System.Threading;
|
||||
|
||||
using Client.Settings;
|
||||
using Util;
|
||||
|
||||
/// <summary>
|
||||
/// This class adds the <see cref="ISettings"/> to the project's <see cref="Properties.Settings"/>
|
||||
/// class.
|
||||
@@ -12,7 +14,7 @@
|
||||
/// <remarks>
|
||||
/// This file should not contain any memebers or properties.
|
||||
/// </remarks>
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase, ISettings
|
||||
internal sealed partial class Settings : ISettings
|
||||
{
|
||||
private static readonly object SettingsFileLock = new object();
|
||||
private const int PauseBetweenAttemptsMilliseconds = 500;
|
||||
@@ -71,50 +73,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.DateTime LastCheckedMissingDownloadID
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((global::System.DateTime)(this["LastCheckedMissingDownloadID"]));
|
||||
}
|
||||
set
|
||||
{
|
||||
this["LastCheckedMissingDownloadID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("5")]
|
||||
public int MaxConcurrentDownloads
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((int)(this["MaxConcurrentDownloads"]));
|
||||
}
|
||||
set
|
||||
{
|
||||
this["MaxConcurrentDownloads"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||
public bool SkyrimSEFirstInstallWarning
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((bool)(this["SkyrimSEFirstInstallWarning"]));
|
||||
}
|
||||
set
|
||||
{
|
||||
this["SkyrimSEFirstInstallWarning"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<KeyedSettingsOfBoolean />")]
|
||||
|
||||
+66
-34
@@ -13,6 +13,12 @@
|
||||
<setting name="SettingsUpgraded" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="InstalledGames" serializeAs="Xml">
|
||||
<value>
|
||||
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
|
||||
</value>
|
||||
</setting>
|
||||
<setting name="InstalledGamesDetected" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
@@ -32,7 +38,7 @@
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="AddMissingInfoToMods" serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="CloseModManagerAfterGameLaunch" serializeAs="String">
|
||||
<value>True</value>
|
||||
@@ -46,29 +52,33 @@
|
||||
<setting name="ScanSubfoldersForMods" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="CheckForUpdatesOnStartup" serializeAs="String">
|
||||
<value>False</value>
|
||||
<setting name="RepositoryAuthenticationTokens" serializeAs="Xml">
|
||||
<value>
|
||||
<KeyedSettingsOfKeyedSettingsOfString />
|
||||
</value>
|
||||
</setting>
|
||||
<setting name="NumberOfConnections" serializeAs="String">
|
||||
<value>1</value>
|
||||
<setting name="QueuedModsToAdd" serializeAs="Xml">
|
||||
<value>
|
||||
<PerGameModeSettingsOfKeyedSettingsOfAddModDescriptor />
|
||||
</value>
|
||||
</setting>
|
||||
<setting name="CheckForUpdatesOnStartup" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="UserLocation" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="PremiumOnly" serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>default</value>
|
||||
</setting>
|
||||
<setting name="UpdateCheckInterval" serializeAs="String">
|
||||
<value>0</value>
|
||||
<value>3</value>
|
||||
</setting>
|
||||
<setting name="LastUpdateCheckDate" serializeAs="String">
|
||||
<value>0</value>
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="ModVersionsCheckInterval" serializeAs="String">
|
||||
<value>0</value>
|
||||
<value>3</value>
|
||||
</setting>
|
||||
<setting name="LastModVersionsCheckDate" serializeAs="String">
|
||||
<value>0</value>
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="TempPathFolder" serializeAs="String">
|
||||
<value />
|
||||
@@ -80,46 +90,43 @@
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="ShowEmptyCategory" serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="HideModUpdateWarningIcon" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="SkipReadmeFiles" serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="ShowSidePanel" serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="CategoryViewDefaultSortOrder" serializeAs="String">
|
||||
<value>0</value>
|
||||
<value>1</value>
|
||||
</setting>
|
||||
<setting name="CategoryViewDefaultSortColumn" serializeAs="String">
|
||||
<value>0</value>
|
||||
</setting>
|
||||
<setting name="UseCategoryView" serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="OfflineMode" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="SupportOfflineMode" serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="UseMultithreadedDownloads" serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="ShowStartupMessage" serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="CheckForTipsOnStartup" serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="AutoPluginSorting" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="ManageMultiplePluginTask" serializeAs="String">
|
||||
<value>False</value>
|
||||
<setting name="MaxConcurrentDownloads" serializeAs="String">
|
||||
<value>5</value>
|
||||
</setting>
|
||||
<setting name="SupportedTools" serializeAs="Xml">
|
||||
<value>
|
||||
@@ -158,6 +165,11 @@
|
||||
<PerGameModeSettingsOfString />
|
||||
</value>
|
||||
</setting>
|
||||
<setting name="ToolFolder" serializeAs="Xml">
|
||||
<value>
|
||||
<PerGameModeSettingsOfString />
|
||||
</value>
|
||||
</setting>
|
||||
<setting name="ExecutablePaths" serializeAs="Xml">
|
||||
<value>
|
||||
<PerGameModeSettingsOfString />
|
||||
@@ -228,21 +240,41 @@
|
||||
<PerGameModeSettingsOfKeyedSettingsOfString />
|
||||
</value>
|
||||
</setting>
|
||||
<setting name="OverrideLocalModNames" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="ApiKey" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="LastCheckedMissingDownloadID" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="SkyrimSEFirstInstallWarning" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
</Nexus.Client.CLI.Properties.Settings>
|
||||
</userSettings>
|
||||
<applicationSettings>
|
||||
<Nexus.Client.CLI.Properties.Settings>
|
||||
<setting name="ModManagerUrl" serializeAs="String">
|
||||
<value>http://skyrim.nexusmods.com/downloads/file.php?id=1334</value>
|
||||
<value>https://www.nexusmods.com/content/modmanager/</value>
|
||||
</setting>
|
||||
<setting name="HelpLinks" serializeAs="Xml">
|
||||
<value>
|
||||
<KeyedSettingsOfString />
|
||||
</value>
|
||||
</setting>
|
||||
<setting name="ToolFolder" serializeAs="Xml">
|
||||
<value>
|
||||
<PerGameModeSettingsOfString />
|
||||
<KeyedSettingsOfString>
|
||||
<item key="Beta Wiki">
|
||||
<string>https://wiki.nexusmods.com/index.php/Category:NMM</string>
|
||||
</item>
|
||||
<item key="Beta Forums">
|
||||
<string>https://forums.nexusmods.com/index.php?/forum/439-open-beta-feedback/</string>
|
||||
</item>
|
||||
<item key="Bug Report How To">
|
||||
<string>https://forums.nexusmods.com/index.php?/topic/460590-reporting-bugs/</string>
|
||||
</item>
|
||||
<item key="Report a Bug">
|
||||
<string>https://github.com/Nexus-Mods/Nexus-Mod-Manager/issues</string>
|
||||
</item>
|
||||
</KeyedSettingsOfString>
|
||||
</value>
|
||||
</setting>
|
||||
</Nexus.Client.CLI.Properties.Settings>
|
||||
|
||||
+5
-6
@@ -24,13 +24,12 @@ rem stored in repository in binary form
|
||||
copy "%_NMMPATH%\Stage\Release\Castle.Core.dll" "%outputPath%\NCC"
|
||||
|
||||
mkdir "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\Fallout3*.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\Fallout4*.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\FalloutNV*.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\Skyrim*.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\SkyrimSE*.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\GamebryoBase*.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\Enderal*.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\Fallout*.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\Morrowind*.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\Oblivion*.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\GamebryoBase.dll" "%outputPath%\NCC\GameModes"
|
||||
copy "%_NMMPATH%\Stage\Release\GameModes\Skyrim*.dll" "%outputPath%\NCC\GameModes"
|
||||
|
||||
rem we should reimplement the dummy classes eventually
|
||||
mkdir "%outputPath%\NCC\GameModes\data"
|
||||
|
||||
+13
-8
@@ -17,6 +17,7 @@ $scriptDirectory = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
|
||||
$NMMPath = "$scriptDirectory\..\NMM"
|
||||
|
||||
New-Item -ItemType directory -Force -Path "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\AntlrUtil.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\ChinhDo.Transactions.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\Commanding.dll" "$outputPath\NCC"
|
||||
# Copy-Item "$NMMPATH\bin\Release\GamebryoBase.dll" "$outputPath\NCC"
|
||||
@@ -25,23 +26,24 @@ Copy-Item "$NMMPATH\bin\Release\ModManager.Interface.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\Mods.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\NexusClient.Interface.dll" "$outputPath\NCC"
|
||||
# Copy-Item "$NMMPATH\bin\Release\NexusClientCLI.exe.manifest" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\ObjectListView.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\RestSharp.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\Scripting.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\SevenZipSharp.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\Transactions.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\UI.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\Util.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\WeifenLuo.WinFormsUI.Docking.dll" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\NexusClientCLI.exe" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\NexusClientCLI.exe.config" "$outputPath\NCC"
|
||||
# stored in repository in binary form
|
||||
Copy-Item "$NMMPATH\bin\Release\Castle.Core.dll" "$outputPath\NCC"
|
||||
|
||||
New-Item -ItemType directory -Force -Path "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\Fallout3.*" "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\FalloutNV.*" "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\Skyrim.*" "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\Oblivion.*" "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\GamebryoBase.dll" "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\GamebryoBase*.dll" "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\Enderal*.dll" "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\Fallout*.dll" "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\Morrowind*.dll" "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\Oblivion*.dll" "$outputPath\NCC\GameModes"
|
||||
Copy-Item "$NMMPATH\bin\Release\GameModes\Skyrim*.dll" "$outputPath\NCC\GameModes"
|
||||
|
||||
# we should reimplement the dummy classes eventually
|
||||
New-Item -ItemType directory -Force -Path "$outputPath\NCC\GameModes\data"
|
||||
@@ -62,4 +64,7 @@ Copy-Item "$NMMPATH\bin\Release\ScriptTypes\XmlScript.dll" "$outputPath\NCC\Scri
|
||||
|
||||
New-Item -ItemType directory -Force -Path "$outputPath\NCC\data"
|
||||
Copy-Item "$NMMPATH\bin\Release\data\7z-32bit.dll" "$outputPath\NCC\data"
|
||||
Copy-Item "$NMMPATH\bin\Release\data\7z-64bit.dll" "$outputPath\NCC\data"
|
||||
Copy-Item "$NMMPATH\bin\Release\data\7z-64bit.dll" "$outputPath\NCC\data"
|
||||
|
||||
Copy-Item "$NMMPATH\bin\Release\NexusClientCLI.exe" "$outputPath\NCC"
|
||||
Copy-Item "$NMMPATH\bin\Release\NexusClientCLI.exe.config" "$outputPath\NCC"
|
||||
Reference in New Issue
Block a user