disable_wizard.patch 1.1 KB

123456789101112131415161718192021222324
  1. diff -Naurp1 a/apps/launcher/CMakeLists.txt b/apps/launcher/CMakeLists.txt
  2. --- a/apps/launcher/CMakeLists.txt 2020-06-08 15:11:24.000000000 +0600
  3. +++ b/apps/launcher/CMakeLists.txt 2020-11-08 13:55:52.547918872 +0600
  4. @@ -121,2 +121,6 @@ endif()
  5. -
  6. +if (BUILD_WIZARD)
  7. + add_definitions(-DBUILD_WIZARD_ENABLED=1)
  8. +else()
  9. + add_definitions(-DBUILD_WIZARD_ENABLED=0)
  10. +endif()
  11. diff -Naurp1 a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp
  12. --- a/apps/launcher/maindialog.cpp 2020-06-08 15:11:24.000000000 +0600
  13. +++ b/apps/launcher/maindialog.cpp 2020-11-08 13:57:41.680913805 +0600
  14. @@ -155,3 +155,3 @@ Launcher::FirstRunDialogResult Launcher:
  15. return FirstRunDialogResultFailure;
  16. -
  17. +if (BUILD_WIZARD_ENABLED) // parabola patch - disable wizard
  18. if (mLauncherSettings.value(QString("General/firstrun"), QString("true")) == QLatin1String("true"))
  19. @@ -398,2 +398,3 @@ bool Launcher::MainDialog::setupGameData
  20. msgBox.addButton(tr("Run &Installation Wizard..."), QMessageBox::ActionRole);
  21. +if (!BUILD_WIZARD_ENABLED) msgBox.removeButton(wizardButton) ; // parabola patch - disable wizard
  22. QAbstractButton *skipButton =