fix plugins ui crashes

This commit is contained in:
zznty
2022-12-12 17:25:03 +07:00
parent e8928b6b3b
commit 3acaf25376
3 changed files with 33 additions and 33 deletions

View File

@@ -71,7 +71,7 @@ namespace Torch.Server.Views
private void OpenFolder_OnClick(object sender, RoutedEventArgs e)
{
if (_plugins?.PluginDir != null)
Process.Start(_plugins.PluginDir);
Process.Start("explorer", _plugins.PluginDir);
}
private void BrowsPlugins_OnClick(object sender, RoutedEventArgs e)