From ae442fa06207bc7f5580fb61ecf0a0593eccbfdf Mon Sep 17 00:00:00 2001 From: rene Date: Tue, 30 Aug 2022 09:12:20 +0200 Subject: [PATCH] Zwischenstand 22.08.30 --- BeWoLauncher/App.config | 3 +- BeWoLauncher/BeWoLauncher.csproj | 13 +- BeWoLauncher/Components/ProfileEditView.xaml | 52 +---- .../Components/ProfileEditView.xaml.cs | 37 ++-- BeWoLauncher/ConnectionProfile.cs | 33 ++-- BeWoLauncher/Extensions/FileExtension.cs | 25 --- BeWoLauncher/LauncherApp.xaml.cs | 131 ++----------- BeWoLauncher/Logic/ProcessController.cs | 122 ++++++++++++ BeWoLauncher/Logic/ViewController.cs | 124 ++++++++++++ BeWoLauncher/PageImp/01 LoginPage.xaml.cs | 18 +- BeWoLauncher/PageImp/02 UpdatePage.xaml.cs | 98 ++++++---- BeWoLauncher/UpdateFileManager.cs | 131 ------------- BeWoLauncher/Utils/BeWoHelper.cs | 14 ++ .../BeWoPaths.cs} | 64 +++--- .../Utils/Update/UpdateFileManager.cs | 157 +++++++++++++++ BeWoLauncher/WindowImp/LauncherWindow.xaml.cs | 81 +------- LauncherHost/LauncherHost.csproj.user | 2 +- Service/Service.csproj | 6 +- .../DownloadBeWoServiceImp.cs | 108 ++++------- Service/ServiceUtils/Paths/ServerFilePaths.cs | 44 +++++ .../Update/DownloadPlanerResponseBuilder.cs | 131 +++++++++++++ ...eConfigHelper.cs => UpdateConfigReader.cs} | 14 +- .../ServiceUtils/Update/UpdatePathHelper.cs | 45 ----- .../DataContract/DownloadPlanerRequestDC.cs | 26 ++- .../DataContract/DownloadPlanerResponseDC.cs | 24 ++- .../DataContract/PlanerFileInfoDC.cs | 24 +++ .../DataContract/PlanerPackageInfoDC.cs | 28 +++ SharedLauncher/Exceptions/UpdateException.cs | 24 +++ .../DownloadPlanerResponseExtension.cs | 27 +++ SharedLauncher/Extensions/PathExtensions.cs | 80 ++++++++ .../Extensions/PlanerFileExtension.cs | 48 +++++ .../Extensions/PlanerPackageExtension.cs | 101 ++++++++++ .../Information/BeWoPathFileConfig.cs | 23 +++ SharedLauncher/LauncherEnums.cs | 53 ++--- SharedLauncher/Logic/FileController.cs | 183 ++++++++++++++++++ SharedLauncher/Logic/XmlConverter.cs | 35 ++++ SharedLauncher/Logic/ZipArchiveBuilder.cs | 35 ++++ SharedLauncher/SharedLauncher.csproj | 15 +- SharedLauncher/Update/PlanerFile.cs | 61 ------ SharedLauncher/Update/PlanerFileInfo.cs | 45 +++++ SharedLauncher/Update/PlanerPackageInfo.cs | 30 +++ SharedLauncher/Update/PlanerRoot.cs | 163 ---------------- SharedLauncher/Utils/PathUtils.cs | 19 +- 43 files changed, 1585 insertions(+), 912 deletions(-) delete mode 100644 BeWoLauncher/Extensions/FileExtension.cs create mode 100644 BeWoLauncher/Logic/ProcessController.cs create mode 100644 BeWoLauncher/Logic/ViewController.cs delete mode 100644 BeWoLauncher/UpdateFileManager.cs create mode 100644 BeWoLauncher/Utils/BeWoHelper.cs rename BeWoLauncher/{UpdatePathManager.cs => Utils/BeWoPaths.cs} (51%) create mode 100644 BeWoLauncher/Utils/Update/UpdateFileManager.cs create mode 100644 Service/ServiceUtils/Paths/ServerFilePaths.cs create mode 100644 Service/ServiceUtils/Update/DownloadPlanerResponseBuilder.cs rename Service/ServiceUtils/Update/{UpdateConfigHelper.cs => UpdateConfigReader.cs} (71%) delete mode 100644 Service/ServiceUtils/Update/UpdatePathHelper.cs create mode 100644 SharedLauncher/DataContract/PlanerFileInfoDC.cs create mode 100644 SharedLauncher/DataContract/PlanerPackageInfoDC.cs create mode 100644 SharedLauncher/Exceptions/UpdateException.cs create mode 100644 SharedLauncher/Extensions/DownloadPlanerResponseExtension.cs create mode 100644 SharedLauncher/Extensions/PathExtensions.cs create mode 100644 SharedLauncher/Extensions/PlanerFileExtension.cs create mode 100644 SharedLauncher/Extensions/PlanerPackageExtension.cs create mode 100644 SharedLauncher/Information/BeWoPathFileConfig.cs create mode 100644 SharedLauncher/Logic/FileController.cs create mode 100644 SharedLauncher/Logic/XmlConverter.cs create mode 100644 SharedLauncher/Logic/ZipArchiveBuilder.cs delete mode 100644 SharedLauncher/Update/PlanerFile.cs create mode 100644 SharedLauncher/Update/PlanerFileInfo.cs create mode 100644 SharedLauncher/Update/PlanerPackageInfo.cs delete mode 100644 SharedLauncher/Update/PlanerRoot.cs diff --git a/BeWoLauncher/App.config b/BeWoLauncher/App.config index 6343a5ee7..dda023709 100644 --- a/BeWoLauncher/App.config +++ b/BeWoLauncher/App.config @@ -32,11 +32,12 @@ - + + diff --git a/BeWoLauncher/BeWoLauncher.csproj b/BeWoLauncher/BeWoLauncher.csproj index 7e572e3d1..e14bc2029 100644 --- a/BeWoLauncher/BeWoLauncher.csproj +++ b/BeWoLauncher/BeWoLauncher.csproj @@ -73,6 +73,8 @@ + + @@ -127,7 +129,11 @@ - + + + + + PasswortAenderungsView.xaml @@ -135,8 +141,6 @@ 02 UpdatePage.xaml - - PopUpWindow.xaml @@ -406,5 +410,8 @@ True + + + \ No newline at end of file diff --git a/BeWoLauncher/Components/ProfileEditView.xaml b/BeWoLauncher/Components/ProfileEditView.xaml index 42ed8899c..55ccc6c46 100644 --- a/BeWoLauncher/Components/ProfileEditView.xaml +++ b/BeWoLauncher/Components/ProfileEditView.xaml @@ -43,62 +43,20 @@ -