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

@@ -36,11 +36,12 @@ public class App : Application
var args = desktop.Args ?? [];
var commandLineParser = new CommandLineParser(args);
var settings = new InspectronSettings("../Data/Config");
var profile = commandLineParser.GetStringArgument("profile", 'p');
var settings = new InspectronSettings("../Data/Config", profile);
var mainKernel = Common.VisionBuilder.CreateMainKernel(settings);
var profile = commandLineParser.GetStringArgument("profile", 'p');
mainKernel.UsePlugins(profile);
mainKernel