* Removed old unused user settings
* Fixed prompt for filter directory selection appearing incorrectly on startup * Bumped version to 1.1.0-beta6
This commit is contained in:
parent
042e5b41f9
commit
892b2f15f2
|
@ -4,11 +4,8 @@
|
||||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<section name="Filtration.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
<section name="Filtration.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||||
</sectionGroup>
|
</sectionGroup>
|
||||||
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<section name="Filtration.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
|
||||||
</sectionGroup>
|
|
||||||
</configSections>
|
</configSections>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
||||||
</startup>
|
</startup>
|
||||||
<userSettings>
|
<userSettings>
|
||||||
|
@ -19,18 +16,6 @@
|
||||||
<setting name="ExtraLineBetweenBlocks" serializeAs="String">
|
<setting name="ExtraLineBetweenBlocks" serializeAs="String">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="SuppressUpdatesUpToVersionMajorPart" serializeAs="String">
|
|
||||||
<value>0</value>
|
|
||||||
</setting>
|
|
||||||
<setting name="SuppressUpdates" serializeAs="String">
|
|
||||||
<value>False</value>
|
|
||||||
</setting>
|
|
||||||
<setting name="SuppressUpdatesUpToVersionMinorPart" serializeAs="String">
|
|
||||||
<value>0</value>
|
|
||||||
</setting>
|
|
||||||
<setting name="StaticDataLastUpdated" serializeAs="String">
|
|
||||||
<value>2016-01-01</value>
|
|
||||||
</setting>
|
|
||||||
<setting name="DownloadPrereleaseUpdates" serializeAs="String">
|
<setting name="DownloadPrereleaseUpdates" serializeAs="String">
|
||||||
<value>False</value>
|
<value>False</value>
|
||||||
</setting>
|
</setting>
|
||||||
|
@ -79,17 +64,4 @@
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
<applicationSettings>
|
|
||||||
<Filtration.Properties.Settings>
|
|
||||||
<setting name="ItemBaseTypesStaticDataUrl" serializeAs="String">
|
|
||||||
<value>http://ben-wallis.github.io/Filtration/ItemBaseTypes.txt</value>
|
|
||||||
</setting>
|
|
||||||
<setting name="ItemClassesStaticDataUrl" serializeAs="String">
|
|
||||||
<value>http://ben-wallis.github.io/Filtration/ItemClasses.txt</value>
|
|
||||||
</setting>
|
|
||||||
<setting name="UpdateDataUrl" serializeAs="String">
|
|
||||||
<value>http://ben-wallis.github.io/Filtration/filtration_version.xml</value>
|
|
||||||
</setting>
|
|
||||||
</Filtration.Properties.Settings>
|
|
||||||
</applicationSettings>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -11,7 +11,7 @@ using System.Runtime.CompilerServices;
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
[assembly: AssemblyVersion("1.1.0")]
|
[assembly: AssemblyVersion("1.1.0")]
|
||||||
[assembly: AssemblyInformationalVersion("1.1.0-beta5")]
|
[assembly: AssemblyInformationalVersion("1.1.0-beta6")]
|
||||||
|
|
||||||
[assembly: InternalsVisibleTo("Filtration.Tests")]
|
[assembly: InternalsVisibleTo("Filtration.Tests")]
|
||||||
[assembly: InternalsVisibleTo("Filtration.ItemFilterPreview.Tests")]
|
[assembly: InternalsVisibleTo("Filtration.ItemFilterPreview.Tests")]
|
||||||
|
|
|
@ -47,81 +47,6 @@ namespace Filtration.Properties {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
|
||||||
public int SuppressUpdatesUpToVersionMajorPart {
|
|
||||||
get {
|
|
||||||
return ((int)(this["SuppressUpdatesUpToVersionMajorPart"]));
|
|
||||||
}
|
|
||||||
set {
|
|
||||||
this["SuppressUpdatesUpToVersionMajorPart"] = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
|
||||||
public bool SuppressUpdates {
|
|
||||||
get {
|
|
||||||
return ((bool)(this["SuppressUpdates"]));
|
|
||||||
}
|
|
||||||
set {
|
|
||||||
this["SuppressUpdates"] = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
|
||||||
public int SuppressUpdatesUpToVersionMinorPart {
|
|
||||||
get {
|
|
||||||
return ((int)(this["SuppressUpdatesUpToVersionMinorPart"]));
|
|
||||||
}
|
|
||||||
set {
|
|
||||||
this["SuppressUpdatesUpToVersionMinorPart"] = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("2016-01-01")]
|
|
||||||
public global::System.DateTime StaticDataLastUpdated {
|
|
||||||
get {
|
|
||||||
return ((global::System.DateTime)(this["StaticDataLastUpdated"]));
|
|
||||||
}
|
|
||||||
set {
|
|
||||||
this["StaticDataLastUpdated"] = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("http://ben-wallis.github.io/Filtration/ItemBaseTypes.txt")]
|
|
||||||
public string ItemBaseTypesStaticDataUrl {
|
|
||||||
get {
|
|
||||||
return ((string)(this["ItemBaseTypesStaticDataUrl"]));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("http://ben-wallis.github.io/Filtration/ItemClasses.txt")]
|
|
||||||
public string ItemClassesStaticDataUrl {
|
|
||||||
get {
|
|
||||||
return ((string)(this["ItemClassesStaticDataUrl"]));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("http://ben-wallis.github.io/Filtration/filtration_version.xml")]
|
|
||||||
public string UpdateDataUrl {
|
|
||||||
get {
|
|
||||||
return ((string)(this["UpdateDataUrl"]));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
[global::System.Configuration.DefaultSettingValueAttribute("False")]
|
||||||
|
|
|
@ -8,27 +8,6 @@
|
||||||
<Setting Name="ExtraLineBetweenBlocks" Type="System.Boolean" Scope="User">
|
<Setting Name="ExtraLineBetweenBlocks" Type="System.Boolean" Scope="User">
|
||||||
<Value Profile="(Default)">True</Value>
|
<Value Profile="(Default)">True</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="SuppressUpdatesUpToVersionMajorPart" Type="System.Int32" Scope="User">
|
|
||||||
<Value Profile="(Default)">0</Value>
|
|
||||||
</Setting>
|
|
||||||
<Setting Name="SuppressUpdates" Type="System.Boolean" Scope="User">
|
|
||||||
<Value Profile="(Default)">False</Value>
|
|
||||||
</Setting>
|
|
||||||
<Setting Name="SuppressUpdatesUpToVersionMinorPart" Type="System.Int32" Scope="User">
|
|
||||||
<Value Profile="(Default)">0</Value>
|
|
||||||
</Setting>
|
|
||||||
<Setting Name="StaticDataLastUpdated" Type="System.DateTime" Scope="User">
|
|
||||||
<Value Profile="(Default)">2016-01-01</Value>
|
|
||||||
</Setting>
|
|
||||||
<Setting Name="ItemBaseTypesStaticDataUrl" Type="System.String" Scope="Application">
|
|
||||||
<Value Profile="(Default)">http://ben-wallis.github.io/Filtration/ItemBaseTypes.txt</Value>
|
|
||||||
</Setting>
|
|
||||||
<Setting Name="ItemClassesStaticDataUrl" Type="System.String" Scope="Application">
|
|
||||||
<Value Profile="(Default)">http://ben-wallis.github.io/Filtration/ItemClasses.txt</Value>
|
|
||||||
</Setting>
|
|
||||||
<Setting Name="UpdateDataUrl" Type="System.String" Scope="Application">
|
|
||||||
<Value Profile="(Default)">http://ben-wallis.github.io/Filtration/filtration_version.xml</Value>
|
|
||||||
</Setting>
|
|
||||||
<Setting Name="DownloadPrereleaseUpdates" Type="System.Boolean" Scope="User">
|
<Setting Name="DownloadPrereleaseUpdates" Type="System.Boolean" Scope="User">
|
||||||
<Value Profile="(Default)">False</Value>
|
<Value Profile="(Default)">False</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
|
|
|
@ -25,6 +25,8 @@ namespace Filtration.Services
|
||||||
{
|
{
|
||||||
_fileSystemService = fileSystemService;
|
_fileSystemService = fileSystemService;
|
||||||
_itemFilterScriptTranslator = itemFilterScriptTranslator;
|
_itemFilterScriptTranslator = itemFilterScriptTranslator;
|
||||||
|
|
||||||
|
ItemFilterScriptDirectory = Settings.Default.DefaultFilterDirectory;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string ItemFilterScriptDirectory { get; private set; }
|
public string ItemFilterScriptDirectory { get; private set; }
|
||||||
|
@ -47,6 +49,7 @@ namespace Filtration.Services
|
||||||
|
|
||||||
ItemFilterScriptDirectory = path;
|
ItemFilterScriptDirectory = path;
|
||||||
Settings.Default.DefaultFilterDirectory = path;
|
Settings.Default.DefaultFilterDirectory = path;
|
||||||
|
Settings.Default.Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<IItemFilterScript> LoadItemFilterScriptAsync(string filePath)
|
public async Task<IItemFilterScript> LoadItemFilterScriptAsync(string filePath)
|
||||||
|
@ -62,7 +65,7 @@ namespace Filtration.Services
|
||||||
{
|
{
|
||||||
loadedScript.FilePath = filePath;
|
loadedScript.FilePath = filePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
return loadedScript;
|
return loadedScript;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue