1.1.1 - replaced filter name by JSON.settings.GetName()
This commit is contained in:
parent
16dbfe86fa
commit
8038d18d23
|
@ -9,7 +9,7 @@ namespace MxFilterGen2
|
|||
{
|
||||
internal class Program
|
||||
{
|
||||
public static string version = "1.1.0";
|
||||
public static string version = "1.1.1";
|
||||
public static string docpath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
|
||||
static void Main(string[] args)
|
||||
{
|
||||
|
@ -60,7 +60,7 @@ namespace MxFilterGen2
|
|||
////////// Splash //////////
|
||||
File.AppendAllText(outp, $"#### Filson - PoE2 Item Filter JSON Parsing - MxFilterGen2 v{Program.version}{Environment.NewLine}");
|
||||
File.AppendAllText(outp, $"#### Filson and MxFilterGen2 are developped by mikx.{Environment.NewLine}");
|
||||
File.AppendAllText(outp, $"#### MxGit: https://mxgit.ovh/mikx/PoE-MxFilterGen2{Environment.NewLine}");
|
||||
File.AppendAllText(outp, $"#### MxGit: https://mxgit.ovh/mikx/PoE2-MxFilterGen2{Environment.NewLine}");
|
||||
File.AppendAllText(outp, $"#### MxPoE: https://mxpoe.ovh/{Environment.NewLine}");
|
||||
File.AppendAllText(outp, $"#### Contact: mikx@mxpoe.ovh / http://discord.mxg.ovh{Environment.NewLine}");
|
||||
File.AppendAllText(outp, $"{Environment.NewLine}");
|
||||
|
@ -83,7 +83,7 @@ namespace MxFilterGen2
|
|||
Message.CMW($"Install is \"True\". Installing to the game directory...", true, 1);
|
||||
foreach (string f in JSON.settings.GetType())
|
||||
{
|
||||
File.Copy($"out/MxFilter_{f}.filter", $@"{docpath}\My Games\Path of Exile 2\{JSON.settings.GetName()}_{f}.filter", true);
|
||||
File.Copy($"out/{JSON.settings.GetName()}_{f}.filter", $@"{docpath}\My Games\Path of Exile 2\{JSON.settings.GetName()}_{f}.filter", true);
|
||||
}
|
||||
foreach (var s in Directory.EnumerateFiles("sound"))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue