Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature and documentation update #71

Merged
merged 10 commits into from
Aug 22, 2024
Merged

New feature and documentation update #71

merged 10 commits into from
Aug 22, 2024

Conversation

BoiHanny
Copy link
Owner

PR Classification

New feature and documentation update.

PR Summary

This PR introduces a new feature for .NET 8 installation and updates the README for better clarity and additional information.

  • README.md: Updated with new images, download links, and additional sections for features, dependencies, and contact.
  • App.xaml.cs: Added -installDotNetAdmin argument and InstallDotNet method for .NET installation.
  • UpdateApp.cs: Added InstallDotNet method and DotNetInstallerWindow.
  • MainWindow.xaml & MainWindow.xaml.cs: Added OpenNETInstaller button and its click event handler.
  • DotNetInstallerWindow.xaml & DotNetInstallerWindow.xaml.cs: Created new window and logic for .NET 8 installation process.

BoiHanny and others added 10 commits August 14, 2024 19:14
Incremented the project version from 0.9.004 to 0.9.005.
Updated the following packages to their latest versions:
- LibreHardwareMonitorLib from 0.9.4-pre324 to 0.9.4-pre326, likely incorporating bug fixes or new features.
- NLog from 5.3.2 to 5.3.3, which may include improvements or bug fixes.
- OpenAI-DotNet from 8.1.1 to 8.1.2, potentially including enhancements or resolving issues.
Updated LibreHardwareMonitorLib from 0.9.4-pre326 to 0.9.4-pre327.
Updated OpenAI-DotNet from 8.1.2 to 8.2.2.

These updates likely include bug fixes, performance improvements, or new features. Keeping dependencies up-to-date ensures compatibility, security, and access to the latest functionalities.
Added a new command line argument `-installDotNetAdmin` to handle the installation of .NET 8 with administrative privileges. Introduced the `InstallDotNet` method in `UpdateApp.cs` to manage the installation process, including checking for admin rights and prompting for elevation. Created a new WPF window `DotNetInstallerWindow` in `DotNetInstallerWindow.xaml` and its code-behind file to provide a UI for the installation process, including multiple pages for user guidance. Updated `App.xaml.cs` to call `InstallDotNet` during initialization and handle the new argument. Added necessary using directives for security, process management, and UI components.
- MagicChatbox.csproj: Removed and re-added csharp-bot.png as a resource.
- DotNetInstallerWindow.xaml: Enhanced UI with new colors, added csharp-bot.png image, and updated text and styling for .NET 8 upgrade.
- DotNetInstallerWindow.xaml.cs: Added LINQ support, updated .NET installer URL to 8.0.8, refactored .NET 8 check, improved process restart, and added event handler for "What is .NET?" link.
Refactored InstallDotNet method in UpdateApp.cs to remove admin
privileges requirement and simplify the installation process.
Updated App.xaml.cs to reflect these changes and added a new
method for handling first-chance exceptions.

Updated MagicChatbox.csproj to include a new resource (DOTNET.png)
and updated the LibreHardwareMonitorLib package version.

Added a new button (OpenNETInstaller) to MainWindow.xaml and
implemented its event handler in MainWindow.xaml.cs.

Enhanced DotNetInstallerWindow.xaml with new UI elements for
Discord and GitHub links, and a new page for installation failure
messages. Updated DotNetInstallerWindow.xaml.cs to simplify the
installation process, remove admin checks, and add new methods
for downloading, running the installer, and handling UI updates
and installation failures.
Updated the version number in `MagicChatbox.csproj` from `0.9.005` to `0.9.010`. This change signifies a new release or update, potentially including new features, bug fixes, or other improvements.
@BoiHanny BoiHanny merged commit c616d70 into master Aug 22, 2024
1 check passed
@BoiHanny BoiHanny mentioned this pull request Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant