Fix GimConv downloader

This commit is contained in:
Li 2022-09-07 19:17:43 +12:00
parent 308edb6c3c
commit 6d72f4b5b0
2 changed files with 76 additions and 74 deletions

View File

@ -63,7 +63,9 @@ namespace CXMLDecompiler
{
string outputFilename = zEntry.FileName;
if (outputFilename.Contains("GimConv")) // if the filename is inside the GimConv folder
outputFilename = outputFilename.Substring(outputFilename.IndexOf("GimConv") + "GimConv".Length); // Extract filename after the "GimConv/" part
outputFilename = outputFilename.Substring(outputFilename.IndexOf("GimConv") + "GimConv".Length + 1); // Extract filename after the "GimConv/" part
else
outputFilename = Path.GetFileName(outputFilename);
outputFilename = outputFilename.Replace("/", "\\");
outputFilename = Path.Combine(GIMCONV_FOLDER, outputFilename); // set output path to GimConv folder

View File

@ -8,10 +8,10 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CXML Decompiler")]
[assembly: AssemblyDescription("CXML Decompiler & Compiler")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("SilicaAndPina Inc")]
[assembly: AssemblyCompany("Li")]
[assembly: AssemblyProduct("CXML Decompiler")]
[assembly: AssemblyCopyright("Public Domain © 2021")]
[assembly: AssemblyTrademark("CXML Decompiler is not a trademark of SilicaAndPina Inc")]
[assembly: AssemblyCopyright("Public Domain © 2022")]
[assembly: AssemblyTrademark("CXML Decompiler is not a trademark of Li Inc")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
@ -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("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]