diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..49466de3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "dotnet.preferCSharpExtension": true +} diff --git a/RepoZ.Api.Common/RepoZ.Api.Common.csproj b/RepoZ.Api.Common/RepoZ.Api.Common.csproj index 8c06305b..1f1da565 100644 --- a/RepoZ.Api.Common/RepoZ.Api.Common.csproj +++ b/RepoZ.Api.Common/RepoZ.Api.Common.csproj @@ -1,14 +1,14 @@ - + netstandard2.0 - 4.0 - 1.0.0.0 + 4.0 + 3.0.0.0 - - + + diff --git a/RepoZ.Api.Win/RepoZ.Api.Win.csproj b/RepoZ.Api.Win/RepoZ.Api.Win.csproj index aa8cbd51..a54c9b67 100644 --- a/RepoZ.Api.Win/RepoZ.Api.Win.csproj +++ b/RepoZ.Api.Win/RepoZ.Api.Win.csproj @@ -1,13 +1,13 @@ - + netstandard2.0 - 1.0 - 1.0.0.0 + 1.0 + 3.0.0.0 - + diff --git a/RepoZ.Api/RepoZ.Api.csproj b/RepoZ.Api/RepoZ.Api.csproj index 26eac4c7..22fcf47d 100644 --- a/RepoZ.Api/RepoZ.Api.csproj +++ b/RepoZ.Api/RepoZ.Api.csproj @@ -3,7 +3,7 @@ netstandard2.0 4.0 - 1.0.0.0 + 3.0.0.0 diff --git a/RepoZ.App.Win/App.config b/RepoZ.App.Win/App.config index 731f6de6..283eb8db 100644 --- a/RepoZ.App.Win/App.config +++ b/RepoZ.App.Win/App.config @@ -1,6 +1,26 @@ - + - + - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + diff --git a/RepoZ.App.Win/App.xaml b/RepoZ.App.Win/App.xaml index 5ddbc5e5..c44d9373 100644 --- a/RepoZ.App.Win/App.xaml +++ b/RepoZ.App.Win/App.xaml @@ -1,110 +1,87 @@ - - - - - + - - + - - - + + + + - + + + - - - - - - + + + - - - + + - - + - + - + + + - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/RepoZ.App.Win/App.xaml.cs b/RepoZ.App.Win/App.xaml.cs index 9aa57806..6fa727c3 100644 --- a/RepoZ.App.Win/App.xaml.cs +++ b/RepoZ.App.Win/App.xaml.cs @@ -1,9 +1,10 @@ -using System; +using System; using System.Data; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows; +using Hardcodet.Wpf.TaskbarNotification; using RepoZ.Api.Common; using RepoZ.Api.Common.Git; using RepoZ.Api.Common.IO; @@ -11,6 +12,8 @@ using RepoZ.Api.IO; using RepoZ.Api.Win.IO; using RepoZ.Api.Win.PInvoke.Explorer; +using RepoZ.App.Win.i18n; +using RepoZ.Ipc; using TinyIoC; using Hardcodet.Wpf.TaskbarNotification; using TinySoup.Model; @@ -58,7 +61,7 @@ protected override void OnStartup(StartupEventArgs e) Application.Current.Resources.MergedDictionaries[0] = ResourceDictionaryTranslationService.ResourceDictionary; - _notifyIcon = (TaskbarIcon)FindResource("NotifyIcon"); + _notifyIcon = (TaskbarIcon) FindResource("NotifyIcon"); var container = TinyIoCContainer.Current; @@ -179,8 +182,8 @@ private async Task CheckForUpdatesAsync() AvailableUpdate = updates.FirstOrDefault(); - _updateTimer.Change((int)TimeSpan.FromHours(2).TotalMilliseconds, Timeout.Infinite); - } + _updateTimer.Change((int) TimeSpan.FromHours(2).TotalMilliseconds, Timeout.Infinite); + } protected static void RefreshTimerCallback(object state) { diff --git a/RepoZ.App.Win/MainWindow.xaml b/RepoZ.App.Win/MainWindow.xaml index f7606861..c69a483b 100644 --- a/RepoZ.App.Win/MainWindow.xaml +++ b/RepoZ.App.Win/MainWindow.xaml @@ -1,237 +1,290 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +