Use new AggContext.Init call to specify config
This commit is contained in:
parent
891a674376
commit
c0844a2a4c
2 changed files with 3 additions and 1 deletions
|
|
@ -24,6 +24,8 @@ namespace MatterHackers.MatterControl
|
|||
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
|
||||
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
|
||||
|
||||
AggContext.Init(embeddedResourceName: "config.json");
|
||||
|
||||
// Make sure we have the right working directory as we assume everything relative to the executable.
|
||||
Directory.SetCurrentDirectory(Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location));
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit c105ee03e8b8e7ccf7d847726e6f6a2bb17db6d1
|
||||
Subproject commit e9ce386b82430f654462c8c0f22ee4fb1774003c
|
||||
Loading…
Add table
Add a link
Reference in a new issue