diff --git a/PoE-MxFilterGen-Updater.sln b/PoE-MxFilterGen-Updater.sln new file mode 100644 index 0000000..61f2e2e --- /dev/null +++ b/PoE-MxFilterGen-Updater.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30225.117 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PoE-MxFilterGen-Updater", "PoE-MxFilterGen-Updater\PoE-MxFilterGen-Updater.csproj", "{F875FF57-77C4-4643-958F-C593D906FA39}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F875FF57-77C4-4643-958F-C593D906FA39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F875FF57-77C4-4643-958F-C593D906FA39}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F875FF57-77C4-4643-958F-C593D906FA39}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F875FF57-77C4-4643-958F-C593D906FA39}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CB96D21F-E6CC-43F5-BC82-80B8AA6C5473} + EndGlobalSection +EndGlobal diff --git a/PoE-MxFilterGen-Updater/App.config b/PoE-MxFilterGen-Updater/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/PoE-MxFilterGen-Updater/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/PoE-MxFilterGen-Updater/FodyWeavers.xml b/PoE-MxFilterGen-Updater/FodyWeavers.xml new file mode 100644 index 0000000..5029e70 --- /dev/null +++ b/PoE-MxFilterGen-Updater/FodyWeavers.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/PoE-MxFilterGen-Updater/FodyWeavers.xsd b/PoE-MxFilterGen-Updater/FodyWeavers.xsd new file mode 100644 index 0000000..44a5374 --- /dev/null +++ b/PoE-MxFilterGen-Updater/FodyWeavers.xsd @@ -0,0 +1,111 @@ + + + + + + + + + + + + A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks + + + + + A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. + + + + + A list of unmanaged 32 bit assembly names to include, delimited with line breaks. + + + + + A list of unmanaged 64 bit assembly names to include, delimited with line breaks. + + + + + The order of preloaded assemblies, delimited with line breaks. + + + + + + This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file. + + + + + Controls if .pdbs for reference assemblies are also embedded. + + + + + Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. + + + + + As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off. + + + + + Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code. + + + + + Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior. + + + + + A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with | + + + + + A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. + + + + + A list of unmanaged 32 bit assembly names to include, delimited with |. + + + + + A list of unmanaged 64 bit assembly names to include, delimited with |. + + + + + The order of preloaded assemblies, delimited with |. + + + + + + + + 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. + + + + + A comma-separated list of error codes that can be safely ignored in assembly verification. + + + + + 'false' to turn off automatic generation of the XML Schema file. + + + + + \ No newline at end of file diff --git a/PoE-MxFilterGen-Updater/PoE-MxFilterGen-Updater.csproj b/PoE-MxFilterGen-Updater/PoE-MxFilterGen-Updater.csproj new file mode 100644 index 0000000..0f75e3f --- /dev/null +++ b/PoE-MxFilterGen-Updater/PoE-MxFilterGen-Updater.csproj @@ -0,0 +1,71 @@ + + + + + + Debug + AnyCPU + {F875FF57-77C4-4643-958F-C593D906FA39} + Exe + PoE_MxFilterGen_Updater + PoE-MxFilterGen-Updater + v4.7.2 + 512 + true + true + + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\Costura.Fody.4.1.0\lib\net40\Costura.dll + + + ..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll + + + + + + + + + + + + + + + + + + + + + + + Ce projet fait référence à des packages NuGet qui sont manquants sur cet ordinateur. Utilisez l'option de restauration des packages NuGet pour les télécharger. Pour plus d'informations, consultez http://go.microsoft.com/fwlink/?LinkID=322105. Le fichier manquant est : {0}. + + + + + \ No newline at end of file diff --git a/PoE-MxFilterGen-Updater/Program.cs b/PoE-MxFilterGen-Updater/Program.cs new file mode 100644 index 0000000..8c4a435 --- /dev/null +++ b/PoE-MxFilterGen-Updater/Program.cs @@ -0,0 +1,33 @@ +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; + +namespace PoE_MxFilterGen_Updater +{ + class Program + { + public class SETTINGS + { + public int uniqueValue { get; set; } + public int fossilValue { get; set; } + public int cardValue { get; set; } + public string updateurl { get; set; } + public string section { get; set; } + } + + static void Main(string[] args) + { + SETTINGS j = JsonConvert.DeserializeObject(File.ReadAllText("settings.json")); + string url = j.updateurl; + WebClient wc = new WebClient(); + wc.DownloadFile(url, "mxfiltergen.exe"); + Process.Start("mxfiltergen.exe"); + } + } +} diff --git a/PoE-MxFilterGen-Updater/Properties/AssemblyInfo.cs b/PoE-MxFilterGen-Updater/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..9aa5a8d --- /dev/null +++ b/PoE-MxFilterGen-Updater/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Les informations générales relatives à un assembly dépendent de +// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations +// associées à un assembly. +[assembly: AssemblyTitle("PoE-MxFilterGen-Updater")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("PoE-MxFilterGen-Updater")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly +// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de +// COM, affectez la valeur true à l'attribut ComVisible sur ce type. +[assembly: ComVisible(false)] + +// Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM +[assembly: Guid("f875ff57-77c4-4643-958f-c593d906fa39")] + +// Les informations de version pour un assembly se composent des quatre valeurs suivantes : +// +// Version principale +// Version secondaire +// Numéro de build +// Révision +// +// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut +// en utilisant '*', comme indiqué ci-dessous : +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/PoE-MxFilterGen-Updater/packages.config b/PoE-MxFilterGen-Updater/packages.config new file mode 100644 index 0000000..c81e81d --- /dev/null +++ b/PoE-MxFilterGen-Updater/packages.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file