diff --git a/src/PipManager/Models/Pages/AboutNugetLibraryListItem.cs b/src/PipManager/Models/Pages/AboutNugetLibraryListItem.cs index 4c78cea..1d10db4 100644 --- a/src/PipManager/Models/Pages/AboutNugetLibraryListItem.cs +++ b/src/PipManager/Models/Pages/AboutNugetLibraryListItem.cs @@ -1,9 +1,8 @@ namespace PipManager.Models.Pages; -public class AboutNugetLibraryListItem(string libraryName, string libraryVersion, string libraryLicenseType, string libraryCopyright, string libraryUrl) +public class AboutNugetLibraryListItem(string libraryName, string libraryLicenseType, string libraryCopyright, string libraryUrl) { public string LibraryName { get; set; } = libraryName; - public string LibraryVersion { get; set; } = libraryVersion; public string LibraryLicenseType { get; set; } = libraryLicenseType; public string LibraryCopyright { get; set; } = libraryCopyright; public string LibraryUrl { get; set; } = libraryUrl; diff --git a/src/PipManager/ViewModels/Pages/About/AboutViewModel.cs b/src/PipManager/ViewModels/Pages/About/AboutViewModel.cs index 8f1797d..4244dd2 100644 --- a/src/PipManager/ViewModels/Pages/About/AboutViewModel.cs +++ b/src/PipManager/ViewModels/Pages/About/AboutViewModel.cs @@ -36,16 +36,17 @@ private void InitializeViewModel() [ObservableProperty] private ObservableCollection _nugetLibraryList = [ - new AboutNugetLibraryListItem("Antelcat.I18N.WPF", "1.0.1", "MIT", "Copyright (c) 2023 Feast", "https://github.com/Antelcat/Antelcat.I18N"), - new AboutNugetLibraryListItem("CommunityToolkit.Mvvm", "8.2.2", "MIT", "Copyright © .NET Foundation and Contributors", "https://github.com/CommunityToolkit/dotnet"), - new AboutNugetLibraryListItem("Microsoft.Extensions.Hosting", "8.0.0", "MIT", "Copyright © .NET Foundation and Contributors", "https://github.com/dotnet/runtime"), - new AboutNugetLibraryListItem("Microsoft.Xaml.Behaviors.Wpf", "1.1.75", "MIT", "Copyright (c) 2015 Microsoft", "https://github.com/microsoft/XamlBehaviorsWpf"), - new AboutNugetLibraryListItem("Newtonsoft.Json", "13.0.3", "MIT", "Copyright (c) 2007 James Newton-King", "https://github.com/JamesNK/Newtonsoft.Json"), - new AboutNugetLibraryListItem("Serilog", "3.1.1", "Apache-2.0", "Copyright © 2013-2020 Serilog Contributors", "https://github.com/serilog/serilog"), - new AboutNugetLibraryListItem("Serilog.Sinks.Console", "5.0.1", "Apache-2.0", "Copyright © 2016 Serilog Contributors", "https://github.com/serilog/serilog-sinks-console"), - new AboutNugetLibraryListItem("Serilog.Sinks.File", "5.0.0", "Apache-2.0", "Copyright © 2016 Serilog Contributors", "https://github.com/serilog/serilog-sinks-file"), - new AboutNugetLibraryListItem("ValueConverters", "3.0.26", "MIT", "Copyright (c) 2019 Thomas Galliker", "https://github.com/thomasgalliker/ValueConverters.NET"), - new AboutNugetLibraryListItem("WPF-UI", "3.0.0-preview.13", "MIT", "Copyright (c) 2021-2023 Leszek Pomianowski and WPF UI Contributors.", "https://github.com/lepoco/wpfui"), - new AboutNugetLibraryListItem("WPF-UI.Tray", "3.0.0-preview.11", "MIT", "Copyright (c) 2021-2023 Leszek Pomianowski and WPF UI Contributors.", "https://github.com/lepoco/wpfui"), + new AboutNugetLibraryListItem("Antelcat.I18N.WPF", "MIT", "Copyright (c) 2023 Feast", "https://github.com/Antelcat/Antelcat.I18N"), + new AboutNugetLibraryListItem("CommunityToolkit.Mvvm", "MIT", "Copyright © .NET Foundation and Contributors", "https://github.com/CommunityToolkit/dotnet"), + new AboutNugetLibraryListItem("Microsoft.Extensions.Hosting", "MIT", "Copyright © .NET Foundation and Contributors", "https://github.com/dotnet/runtime"), + new AboutNugetLibraryListItem("Microsoft.Xaml.Behaviors.Wpf", "MIT", "Copyright (c) 2015 Microsoft", "https://github.com/microsoft/XamlBehaviorsWpf"), + new AboutNugetLibraryListItem("Newtonsoft.Json", "MIT", "Copyright (c) 2007 James Newton-King", "https://github.com/JamesNK/Newtonsoft.Json"), + new AboutNugetLibraryListItem("Serilog", "3.1.1", "Copyright © 2013-2020 Serilog Contributors", "https://github.com/serilog/serilog"), + new AboutNugetLibraryListItem("Serilog.Sinks.Console", "Apache-2.0", "Copyright © 2016 Serilog Contributors", "https://github.com/serilog/serilog-sinks-console"), + new AboutNugetLibraryListItem("Serilog.Sinks.File", "Apache-2.0", "Copyright © 2016 Serilog Contributors", "https://github.com/serilog/serilog-sinks-file"), + new AboutNugetLibraryListItem("ValueConverters", "MIT", "Copyright (c) 2019 Thomas Galliker", "https://github.com/thomasgalliker/ValueConverters.NET"), + new AboutNugetLibraryListItem("WPF-UI", "MIT", "Copyright (c) 2021-2023 Leszek Pomianowski and WPF UI Contributors", "https://github.com/lepoco/wpfui"), + new AboutNugetLibraryListItem("WPF-UI.Tray", "MIT", "Copyright (c) 2021-2023 Leszek Pomianowski and WPF UI Contributors", "https://github.com/lepoco/wpfui"), + new AboutNugetLibraryListItem("HtmlAgilityPack", "MIT", "Copyright © ZZZ Projects Inc.", "https://github.com/zzzprojects/html-agility-pack"), ]; } \ No newline at end of file diff --git a/src/PipManager/Views/Pages/About/AboutPage.xaml b/src/PipManager/Views/Pages/About/AboutPage.xaml index 1db2a39..a213567 100644 --- a/src/PipManager/Views/Pages/About/AboutPage.xaml +++ b/src/PipManager/Views/Pages/About/AboutPage.xaml @@ -133,17 +133,10 @@ Icon="{ui:SymbolIcon Link24}" NavigateUri="{Binding LibraryUrl}" /> - - - - - +