2.0.15
profile influences configuration
This commit is contained in:
@@ -26,12 +26,13 @@ builder.Services.AddMudServices();
|
||||
// Parse command line args
|
||||
CommandLineParser commandLineParser = new CommandLineParser(args);
|
||||
|
||||
var profile = commandLineParser.GetStringArgument("profile", 'p');
|
||||
|
||||
// Setup settings
|
||||
InspectronSettings settings = new InspectronSettings(Path.Combine("..", "Data", "Config"));
|
||||
InspectronSettings settings = new InspectronSettings(Path.Combine("..", "Data", "Config"), profile);
|
||||
|
||||
var mainKernel = VisionBuilder.UI.Common.VisionBuilder.CreateMainKernel(settings);
|
||||
|
||||
var profile = commandLineParser.GetStringArgument("profile", 'p');
|
||||
mainKernel.UsePlugins(profile);
|
||||
|
||||
mainKernel
|
||||
|
||||
Reference in New Issue
Block a user