diff --git a/src/openscad.cc b/src/openscad.cc index 433f9aa1..5f660284 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -56,13 +56,6 @@ #include -#ifdef __APPLE__ -#include "AppleEvents.h" -#ifdef OPENSCAD_DEPLOY - #include "SparkleAutoUpdater.h" -#endif -#endif - #include "Camera.h" #include #include @@ -70,6 +63,13 @@ #include #include "boosty.h" +#ifdef __APPLE__ +#include "AppleEvents.h" +#ifdef OPENSCAD_DEPLOY + #include "SparkleAutoUpdater.h" +#endif +#endif + #ifdef _MSC_VER #define snprintf _snprintf #endif @@ -557,9 +557,9 @@ int gui(vector &inputFiles, const fs::path &original_path, int argc, cha #endif #if defined(OPENSCAD_DEPLOY) && defined(Q_OS_MAC) - AutoUpdater *updater = new SparkleAutoUpdater; - AutoUpdater::setUpdater(updater); - if (updater->automaticallyChecksForUpdates()) updater->checkForUpdates(); +// AutoUpdater *updater = new SparkleAutoUpdater; +// AutoUpdater::setUpdater(updater); +// if (updater->automaticallyChecksForUpdates()) updater->checkForUpdates(); #endif #if 0 /*** disabled by clifford wolf: adds rendering artefacts with OpenCSG ***/