feat(prefs): dev build defaults and skip version migration
Some checks failed
Build and Test / build (pull_request) Has been cancelled

- Set PACKAGE_VERSION_SUFFIX to "dev" so isDevelopmentVersion()
  returns true for local and CI dev builds.  Release build scripts
  (build.sh, build.bat) override this to "" via cmake -D flag.
- Skip the version migration dialog for dev builds in
  DlgVersionMigrator::exec(), alongside the existing
  usingCustomDirectories() check.
- Set UserParameterTemplate to the KindredCreate preference pack so
  first-run installs start with the Catppuccin Mocha theme defaults
  instead of bare FreeCAD defaults.
This commit is contained in:
2026-02-12 12:06:48 -06:00
parent 9a31a579b2
commit 2b0c6774c0
5 changed files with 11 additions and 3 deletions

View File

@@ -199,11 +199,13 @@ int main(int argc, char** argv)
App::Application::Config()["StartWorkbench"] = "PartDesignWorkbench";
// App::Application::Config()["HiddenDockWindow"] = "Property editor";
App::Application::Config()["SplashAlignment"] = "Bottom|Left";
App::Application::Config()["SplashTextColor"] = "#cdd6f4"; // Catppuccin Mocha text
App::Application::Config()["SplashTextColor"] = "#cdd6f4"; // Catppuccin Mocha text
App::Application::Config()["SplashWarningColor"] = "#f38ba8"; // Catppuccin Mocha red
App::Application::Config()["SplashInfoColor"] = "#a6adc8"; // Catppuccin Mocha subtext0
App::Application::Config()["SplashInfoColor"] = "#a6adc8"; // Catppuccin Mocha subtext0
App::Application::Config()["SplashInfoPosition"] = "6,75";
App::Application::Config()["DesktopFileName"] = "net.kindredsystems.KindredCreate";
App::Application::Config()["UserParameterTemplate"]
= "data/Gui/PreferencePacks/KindredCreate/KindredCreate.cfg";
try {
// Init phase ===========================================================