mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-29 15:51:35 -05:00
Once the main window opens, the Avalonia app runs the shared start-up steps as the WinForms main window does on load: a legacy nest template (NestTemplatePath) becomes the nest defaults file, and Tools > Options > Create a new nest on startup (on unless turned off) opens a new nest, which until now that checkbox only saved. A failed template conversion shows the WinForms "Nest Template" warning through the queue the load warnings use; the new nest opens only once every queued warning has closed. File > New's "Nest Defaults" warning now goes through the same queue, so it never stacks on a load warning, and the queue stops once the window closes. New beside WinForms, which takes no nest paths on its command line and converts synchronously: no new nest is added when a nest is already open by then (named on the command line, or opened or dropped while the template converted), start- up stops when the window closes (checked again just before the nest number is taken) or asks about unsaved nests meanwhile, and --snapshot runs neither step, so an unattended render changes no settings and takes no nest number.