diff --git a/Aki.Core/Program.cs b/Aki.Core/Program.cs index f07cd1b..6869fb8 100644 --- a/Aki.Core/Program.cs +++ b/Aki.Core/Program.cs @@ -8,7 +8,6 @@ namespace SPT_AKI_Installer.Aki.Core { //TODO: // locales, language selection - // make the installer download relevant version of patcher and aki based on game version if possible public static class SPTinstaller { @@ -59,7 +58,6 @@ namespace SPT_AKI_Installer.Aki.Core while (jsonDownload.Status != System.Threading.Tasks.TaskStatus.RanToCompletion) { } - //Thread.Sleep(3000); LogHelper.Info("Downloading Complete, Checking Versions!"); DownloadHelper.ReadJson(targetPath); @@ -85,7 +83,7 @@ namespace SPT_AKI_Installer.Aki.Core { LogHelper.Info("Unable to find Patcher Zip in Directory"); LogHelper.Info("Downloading Patcher Zip now!"); - var task = DownloadHelper.DownloadFileAsync(targetPath, DownloadHelper.patcherLink, "/PATCHER.zip"); + var task = DownloadHelper.DownloadFileAsync(targetPath, DownloadHelper.patcherLink, "/PATCHERZIP.zip"); while(task.Status != System.Threading.Tasks.TaskStatus.RanToCompletion) { } @@ -100,14 +98,13 @@ namespace SPT_AKI_Installer.Aki.Core { LogHelper.Info("Unable to find Aki Zip in Directory"); LogHelper.Info("Downloading Aki Zip now!"); - var task = DownloadHelper.DownloadFileAsync(targetPath, DownloadHelper.akiLink, "/AKI.zip"); + var task = DownloadHelper.DownloadFileAsync(targetPath, DownloadHelper.akiLink, "/AKIZIP.zip"); while (task.Status != System.Threading.Tasks.TaskStatus.RanToCompletion) { } LogHelper.Info("Download Complete!"); } LogHelper.Info("Ready to continue with installation"); - Console.ReadKey(); PreCheckHelper.PatcherZipCheck(originalGamePath, targetPath, out patcherZipPath); PreCheckHelper.AkiZipCheck(targetPath, out akiZipPath); diff --git a/Aki.Helper/PreCheckHelper.cs b/Aki.Helper/PreCheckHelper.cs index b3b3e19..8e9c6f4 100644 --- a/Aki.Helper/PreCheckHelper.cs +++ b/Aki.Helper/PreCheckHelper.cs @@ -53,7 +53,7 @@ namespace SPT_AKI_Installer.Aki.Helper patchZip = FileHelper.FindFile(targetPath, gameVersion, "Patcher"); if (patchZip == null) { - patchZip = FileHelper.FindFile(targetPath, "PATCHER"); + patchZip = FileHelper.FindFile(targetPath, "PATCHERZIP"); } patcherZipPath = patchZip; } @@ -64,7 +64,7 @@ namespace SPT_AKI_Installer.Aki.Helper akiZip = FileHelper.FindFile(targetPath, "SPT", "RELEASE"); if (akiZip == null) { - akiZip = FileHelper.FindFile(targetPath, "AKI"); + akiZip = FileHelper.FindFile(targetPath, "AKIZIP"); } akiZipPath = akiZip; } diff --git a/Properties/PublishProfiles/FolderProfile.pubxml.user b/Properties/PublishProfiles/FolderProfile.pubxml.user index 95a17bc..20c472b 100644 --- a/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -4,6 +4,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121. --> - True|2022-05-17T00:06:33.6758525Z;True|2022-05-14T01:56:09.8410037+01:00;True|2022-05-14T00:54:24.0683990+01:00;True|2022-05-14T00:53:04.7105427+01:00;True|2022-05-14T00:51:00.6280767+01:00;True|2022-05-14T00:49:19.4630888+01:00;True|2022-05-14T00:47:59.2166156+01:00; + True|2022-05-30T12:11:30.6942032Z;True|2022-05-30T13:08:08.4269393+01:00;True|2022-05-17T01:06:33.6758525+01:00;True|2022-05-14T01:56:09.8410037+01:00;True|2022-05-14T00:54:24.0683990+01:00;True|2022-05-14T00:53:04.7105427+01:00;True|2022-05-14T00:51:00.6280767+01:00;True|2022-05-14T00:49:19.4630888+01:00;True|2022-05-14T00:47:59.2166156+01:00; \ No newline at end of file