Small tweaks
This commit is contained in:
@@ -96,7 +96,9 @@ namespace Torch.Managers
|
|||||||
|
|
||||||
public void LoadPlugins()
|
public void LoadPlugins()
|
||||||
{
|
{
|
||||||
DownloadPluginUpdates();
|
if (Torch.Config.ShouldUpdatePlugins)
|
||||||
|
DownloadPluginUpdates();
|
||||||
|
|
||||||
_log.Info("Loading plugins...");
|
_log.Info("Loading plugins...");
|
||||||
var pluginItems = Directory.EnumerateFiles(PluginDir, "*.zip").Union(Directory.EnumerateDirectories(PluginDir));
|
var pluginItems = Directory.EnumerateFiles(PluginDir, "*.zip").Union(Directory.EnumerateDirectories(PluginDir));
|
||||||
foreach (var item in pluginItems)
|
foreach (var item in pluginItems)
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.Specialized;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
@@ -12,7 +13,7 @@ namespace Torch
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides a method to notify an observer of changes to an object's properties.
|
/// Provides a method to notify an observer of changes to an object's properties.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ViewModel : INotifyPropertyChanged
|
public abstract class ViewModel : INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user