profile influences configuration
This commit is contained in:
EugeneTes
2026-05-15 11:54:36 +02:00
parent 2be13501fa
commit 8704d0b5ac
42 changed files with 2467 additions and 1023 deletions

View File

@@ -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