diff --git a/create-licenses.cmd b/create-licenses.cmd index 373a424..6981946 100644 --- a/create-licenses.cmd +++ b/create-licenses.cmd @@ -1,3 +1 @@ -echo ["Tests.csproj"] > exclude.json -dotnet-project-licenses -i src/CleanMyPosts.sln --projects-filter exclude.json -o --outfile THIRD_PARTY_LICENSES.txt -rm exclude.json +dotnet-project-licenses -i src/CleanMyPosts -o --outfile THIRD_PARTY_LICENSES.txt diff --git a/release-notes/v2.1.4.md b/release-notes/v2.1.4.md new file mode 100644 index 0000000..9e36455 --- /dev/null +++ b/release-notes/v2.1.4.md @@ -0,0 +1,5 @@ +### What's Changed + +* Fix: Auto-dismiss the Google feedback/survey banner that could interrupt bulk deletion of YouTube comments and removal of liked videos. +* Fix: The "View Third-Party Licenses" link in Settings now opens the bundled license file correctly. +* Maintenance: Updated NuGet dependencies to their latest versions. diff --git a/src/CleanMyPosts/CleanMyPosts.csproj b/src/CleanMyPosts/CleanMyPosts.csproj index 9873aca..784b971 100644 --- a/src/CleanMyPosts/CleanMyPosts.csproj +++ b/src/CleanMyPosts/CleanMyPosts.csproj @@ -10,7 +10,7 @@ Assets\logo.ico CleanMyPosts net10.0-windows - 2.1.3 + 2.1.4 false latest True @@ -18,24 +18,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -90,6 +90,9 @@ PreserveNewest + + PreserveNewest + diff --git a/src/CleanMyPosts/ViewModels/SettingsViewModel.cs b/src/CleanMyPosts/ViewModels/SettingsViewModel.cs index 66111f4..2e6f146 100644 --- a/src/CleanMyPosts/ViewModels/SettingsViewModel.cs +++ b/src/CleanMyPosts/ViewModels/SettingsViewModel.cs @@ -71,7 +71,8 @@ private void SetTheme(string themeName) [RelayCommand] private static void OpenLicense() { - Process.Start(new ProcessStartInfo { FileName = "license.txt", UseShellExecute = true }); + var licensePath = System.IO.Path.Combine(AppContext.BaseDirectory, "THIRD_PARTY_LICENSES.txt"); + Process.Start(new ProcessStartInfo { FileName = licensePath, UseShellExecute = true }); } [RelayCommand] diff --git a/src/Tests/Tests.csproj b/src/Tests/Tests.csproj index ab5946b..4264293 100644 --- a/src/Tests/Tests.csproj +++ b/src/Tests/Tests.csproj @@ -15,31 +15,31 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - +