mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 08:56:15 +02:00
- Show version number in window title
- Add `PluginName` property to `IPluginData` - Add `PluginPath` property to `IPluginData`
This commit is contained in:
@@ -11,6 +11,7 @@ using System.Windows.Media;
|
||||
using System.Text.Json;
|
||||
using Stone_Red_Utilities.Logging;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
|
||||
namespace DesktopMagic
|
||||
{
|
||||
@@ -78,7 +79,7 @@ namespace DesktopMagic
|
||||
InitializeComponent();
|
||||
|
||||
SetLanguageDictionary();
|
||||
this.Title = AppName;
|
||||
this.Title = $"{AppName} - {Assembly.GetExecutingAssembly().GetName().Version}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -974,7 +975,7 @@ namespace DesktopMagic
|
||||
|
||||
private void OpenPluginsFolderButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
_ = System.Diagnostics.Process.Start("explorer.exe", applicationDataPath + "\\Plugins");
|
||||
_ = Process.Start("explorer.exe", applicationDataPath + "\\Plugins");
|
||||
}
|
||||
|
||||
private void ScrollViewer_PreviewMouseWheel(object sender, System.Windows.Input.MouseWheelEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user