2.0.15
profile influences configuration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user