Updated PluginManager

This commit is contained in:
2024-07-01 22:20:31 +03:00
parent 8483439555
commit d186efcdaf

View File

@@ -168,7 +168,7 @@ public class PluginManager
Directory.Delete($"Libraries/{pluginInfo.PluginName}", true);
}
public async Task<string> GetDependencyLocation(string dependencyName)
public async Task<string?> GetDependencyLocation(string dependencyName)
{
List<PluginInfo> installedPlugins = await GetInstalledPlugins();
@@ -178,7 +178,7 @@ public class PluginManager
return plugin.ListOfDependancies[dependencyName];
}
return string.Empty;
return null;
}
public string GenerateDependencyLocation(string pluginName, string dependencyName)