diff --git a/IllusionInjector/IllusionInjector.csproj b/IllusionInjector/IllusionInjector.csproj index 6d49fe54..9e6b3c5d 100644 --- a/IllusionInjector/IllusionInjector.csproj +++ b/IllusionInjector/IllusionInjector.csproj @@ -36,6 +36,12 @@ false + + ..\Libs\I18N.dll + + + ..\Libs\I18N.West.dll + ..\packages\Ionic.Zip.1.9.1.8\lib\Ionic.Zip.dll diff --git a/IllusionInjector/Updating/ModsaberML/Updater.cs b/IllusionInjector/Updating/ModsaberML/Updater.cs index 2e04a4de..90709fe1 100644 --- a/IllusionInjector/Updating/ModsaberML/Updater.cs +++ b/IllusionInjector/Updating/ModsaberML/Updater.cs @@ -175,7 +175,7 @@ namespace IllusionInjector.Updating.ModsaberML IEnumerator UpdateModCoroutine(string tempdir, UpdateStruct item) { - async Task DownloadPluginAsync(MemoryStream stream) + void DownloadPluginAsync(MemoryStream stream) { // embedded because i don't think unity likes it in the top level Logger.log.Debug($"Getting ZIP file for {item.plugin.Plugin.Name}"); @@ -210,9 +210,9 @@ namespace IllusionInjector.Updating.ModsaberML Stream = memStream }; - var downloadTask = Task.Run(async () => + var downloadTask = Task.Run(() => { // use slightly more multithreaded approach than coroutines - await DownloadPluginAsync(memStream); + DownloadPluginAsync(memStream); }); Logger.log.Debug("Sending request"); diff --git a/IllusionInjector/obj/Debug/IllusionInjector.csproj.CoreCompileInputs.cache b/IllusionInjector/obj/Debug/IllusionInjector.csproj.CoreCompileInputs.cache index e344449e..ef1f81e3 100644 --- a/IllusionInjector/obj/Debug/IllusionInjector.csproj.CoreCompileInputs.cache +++ b/IllusionInjector/obj/Debug/IllusionInjector.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -2d99fb420e28a48fb98f5e9b833e87f1bbb2108f +28cceae1ca85bfd009d7109ef2bb2d8a1412f4b3 diff --git a/Libs/I18N.West.dll b/Libs/I18N.West.dll new file mode 100644 index 00000000..3044511c Binary files /dev/null and b/Libs/I18N.West.dll differ diff --git a/Libs/I18N.dll b/Libs/I18N.dll new file mode 100644 index 00000000..4afc4407 Binary files /dev/null and b/Libs/I18N.dll differ