- Show version number in window title

- Add `PluginName` property to `IPluginData`
- Add `PluginPath` property to `IPluginData`
This commit is contained in:
Stone-Red-Code
2021-09-15 18:22:20 +02:00
parent 40d1232e33
commit 603a78935b
7 changed files with 83 additions and 30 deletions
+3 -2
View File
@@ -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)