diff --git a/BodyshopUploader/ImEXOnlinePartner.csproj b/BodyshopUploader/ImEXOnlinePartner.csproj index c855112..5ab3f10 100644 --- a/BodyshopUploader/ImEXOnlinePartner.csproj +++ b/BodyshopUploader/ImEXOnlinePartner.csproj @@ -8,7 +8,7 @@ {76B98E9B-A33A-464F-A07B-56E773376543} WinExe BodyshopPartner - ImEX Online Partner + ImEXOnlinePartner v4.8 512 {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} diff --git a/BodyshopUploader/Properties/AssemblyInfo.cs b/BodyshopUploader/Properties/AssemblyInfo.cs index 63d888c..f60b4b7 100644 --- a/BodyshopUploader/Properties/AssemblyInfo.cs +++ b/BodyshopUploader/Properties/AssemblyInfo.cs @@ -51,7 +51,7 @@ using System.Windows; // 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.1.0")] -[assembly: AssemblyFileVersion("1.0.1.0")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] //Setting Squirrel Aware Version. [assembly: AssemblyMetadata("SquirrelAwareVersion", "1")] \ No newline at end of file diff --git a/BodyshopUploader/Releases/RELEASES b/BodyshopUploader/Releases/RELEASES deleted file mode 100644 index 39dc3b4..0000000 --- a/BodyshopUploader/Releases/RELEASES +++ /dev/null @@ -1,3 +0,0 @@ -470D3E4BA415108C1FAF95734B251733E3AF8579 ImEXOnlinePartner-1.0.0-full.nupkg 4989578 -0AE50EA09CFA3C92087C1D75F468E62563A0A493 ImEXOnlinePartner-1.0.1-delta.nupkg 40731 -E122ED4940111C7F7D2416302FBDA4347EFF8FA9 ImEXOnlinePartner-1.0.1-full.nupkg 4989795 \ No newline at end of file diff --git a/BodyshopUploader/ViewModels/MainViewModel.cs b/BodyshopUploader/ViewModels/MainViewModel.cs index 5015524..d7732b1 100644 --- a/BodyshopUploader/ViewModels/MainViewModel.cs +++ b/BodyshopUploader/ViewModels/MainViewModel.cs @@ -49,7 +49,7 @@ namespace BodyshopPartner.ViewModels private void Bw_ProgressChanged(object sender, ProgressChangedEventArgs e) { - Progress = e.ProgressPercentage; + Progress = e.ProgressPercentage; } private void bw_InitVm(object sender, DoWorkEventArgs e) @@ -100,7 +100,16 @@ namespace BodyshopPartner.ViewModels private async Task InstallUpdates() { logger.Debug("Updates are available! Installing."); - await Utils.UpdateHandler.ApplyUpdates(UpdateProgress, UpdateProgress); + try + { + await Utils.UpdateHandler.ApplyUpdates(UpdateProgress, UpdateProgress); + + } + catch (Exception Ex) + { + logger.Error("Error while updating." + Ex.ToString()); + + } } private async void _updateTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)