remove addon project and use instancer

This commit is contained in:
2023-11-21 09:11:56 +01:00
parent 5d031f8ead
commit 9598aa147e
6 changed files with 4 additions and 39 deletions

View File

@@ -20,7 +20,7 @@ namespace Pilz.Updating.UpdateInstaller
}
}
public static void LoadAddons(bool isAfterCopyFiles, string folderPath)
public static void LoadAddons(Lib.UpdateInstaller installer)
{
var pluginsPath = Path.Combine(MyAppPath, "AddOns");
if (Directory.Exists(pluginsPath))
@@ -29,7 +29,7 @@ namespace Pilz.Updating.UpdateInstaller
{
var pluginPath = Path.Combine(subdir, Path.GetFileName(subdir) + ".dll");
if (File.Exists(pluginPath))
PluginManager.Instance.LoadPlugin(pluginPath);
PluginManager.Instance.LoadPlugin(pluginPath, installer);
}
}
}