From ad36fd2a7578d4191e7d1847697e240c150d273f Mon Sep 17 00:00:00 2001 From: SpoinkyNL Date: Tue, 28 Nov 2017 00:02:34 +0100 Subject: [PATCH] Added new auto-update (WIP) Added dialog result to MetroDialog --- .../HeatGeneratedFileList.wxs | 38 ------ Artemis/Artemis.Installer/Product.wxs | 23 ++-- Artemis/Artemis/Artemis.csproj | 1 + Artemis/Artemis/Dialogs/MarkdownDialog.xaml | 14 +- .../Artemis/Dialogs/MarkdownDialog.xaml.cs | 39 ++++-- Artemis/Artemis/Properties/AssemblyInfo.cs | 4 +- .../Artemis/Properties/Resources.Designer.cs | 28 +++- Artemis/Artemis/Properties/Resources.resx | 3 + .../Artemis/Services/MetroDialogService.cs | 38 +++--- Artemis/Artemis/Settings/GeneralSettings.cs | 2 - Artemis/Artemis/Utilities/Updater.cs | 127 +++++++++++------- Artemis/Artemis/ViewModels/ShellViewModel.cs | 2 +- 12 files changed, 167 insertions(+), 152 deletions(-) diff --git a/Artemis/Artemis.Installer/HeatGeneratedFileList.wxs b/Artemis/Artemis.Installer/HeatGeneratedFileList.wxs index 0b600325b..e9c5aa6f6 100644 --- a/Artemis/Artemis.Installer/HeatGeneratedFileList.wxs +++ b/Artemis/Artemis.Installer/HeatGeneratedFileList.wxs @@ -110,12 +110,6 @@ - - - - - - @@ -230,26 +224,6 @@ - - - - - - - - - - - - - - - - - - - - @@ -265,11 +239,6 @@ - - - - - @@ -310,8 +279,6 @@ - - @@ -350,14 +317,9 @@ - - - - - \ No newline at end of file diff --git a/Artemis/Artemis.Installer/Product.wxs b/Artemis/Artemis.Installer/Product.wxs index 89917bf5a..86237010e 100644 --- a/Artemis/Artemis.Installer/Product.wxs +++ b/Artemis/Artemis.Installer/Product.wxs @@ -1,9 +1,8 @@ - + - + @@ -27,10 +26,7 @@ - + WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed @@ -41,9 +37,8 @@ - - + + @@ -51,10 +46,8 @@ - - + + @@ -66,6 +59,8 @@ + + REMOVE="ALL" diff --git a/Artemis/Artemis/Artemis.csproj b/Artemis/Artemis/Artemis.csproj index 73b845c55..f0b7b3416 100644 --- a/Artemis/Artemis/Artemis.csproj +++ b/Artemis/Artemis/Artemis.csproj @@ -762,6 +762,7 @@ Code + diff --git a/Artemis/Artemis/Dialogs/MarkdownDialog.xaml b/Artemis/Artemis/Dialogs/MarkdownDialog.xaml index 1147a616a..a038df3a8 100644 --- a/Artemis/Artemis/Dialogs/MarkdownDialog.xaml +++ b/Artemis/Artemis/Dialogs/MarkdownDialog.xaml @@ -43,11 +43,15 @@ HorizontalAlignment="Right" Orientation="Horizontal">