diff --git a/.gitignore b/.gitignore index d644f34..6af5b88 100644 --- a/.gitignore +++ b/.gitignore @@ -339,3 +339,4 @@ ASALocalRun/ # BeatPulse healthcheck temp database healthchecksdb /Temp.md +*.ks diff --git a/Error_Correction_Learning_Technique/Error Correction Learning Technique.csproj b/Error_Correction_Learning_Technique/Error Correction Learning Technique.csproj index d8ee81c..98dcdb0 100644 --- a/Error_Correction_Learning_Technique/Error Correction Learning Technique.csproj +++ b/Error_Correction_Learning_Technique/Error Correction Learning Technique.csproj @@ -1,6 +1,6 @@  - + Debug @@ -73,20 +73,20 @@ ..\packages\MaterialSkin.2.2.1.2\lib\net461\MaterialSkin.dll - - ..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.dll + + ..\packages\Mono.Cecil.0.11.2\lib\net40\Mono.Cecil.dll - - ..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Mdb.dll + + ..\packages\Mono.Cecil.0.11.2\lib\net40\Mono.Cecil.Mdb.dll - - ..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Pdb.dll + + ..\packages\Mono.Cecil.0.11.2\lib\net40\Mono.Cecil.Pdb.dll - - ..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Rocks.dll + + ..\packages\Mono.Cecil.0.11.2\lib\net40\Mono.Cecil.Rocks.dll - ..\packages\squirrel.windows.1.9.1\lib\Net45\NuGet.Squirrel.dll + ..\packages\squirrel.windows.2.0.0\lib\Net45\NuGet.Squirrel.dll ..\packages\SharpCompress.0.17.1\lib\net45\SharpCompress.dll @@ -94,8 +94,8 @@ ..\packages\Splat.1.6.2\lib\Net45\Splat.dll - - ..\packages\squirrel.windows.1.9.1\lib\Net45\Squirrel.dll + + ..\packages\squirrel.windows.2.0.0\lib\Net45\Squirrel.dll @@ -219,8 +219,6 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + - \ No newline at end of file diff --git a/Error_Correction_Learning_Technique/Program.cs b/Error_Correction_Learning_Technique/Program.cs index 519e64f..369ba65 100644 --- a/Error_Correction_Learning_Technique/Program.cs +++ b/Error_Correction_Learning_Technique/Program.cs @@ -16,7 +16,7 @@ static class Program [STAThread] static void Main() { - CheckForUpdates(); + CheckForUpdates().Wait(2); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); @@ -35,7 +35,7 @@ private static async Task CheckForUpdates() try { - using (var result = await mgr) + using (UpdateManager result = await mgr) { SquirrelAwareApp.HandleEvents( onInitialInstall: v => mgr.Result.CreateShortcutForThisExe(), @@ -45,7 +45,7 @@ private static async Task CheckForUpdates() await result.UpdateApp(); upgraded = true; - + //ReleaseEntry release = await mgr.Result.UpdateApp(); // string x = $"PackageName : {release.PackageName}\nBaseURL {release.BaseUrl}\nFiles:{release.Filename}\nFileSize:{release.Filesize}\nVer:{release.Version}"; } diff --git a/Error_Correction_Learning_Technique/packages.config b/Error_Correction_Learning_Technique/packages.config index a07731b..5c310db 100644 --- a/Error_Correction_Learning_Technique/packages.config +++ b/Error_Correction_Learning_Technique/packages.config @@ -2,8 +2,8 @@ - + - + \ No newline at end of file