QTfrontend/hwform.cpp
changeset 2511 446aac3c05a4
parent 2468 0b62498c201a
child 2527 a2c8b72069e8
--- a/QTfrontend/hwform.cpp	Fri Oct 16 20:39:50 2009 +0000
+++ b/QTfrontend/hwform.cpp	Fri Oct 16 20:45:07 2009 +0000
@@ -59,6 +59,7 @@
 #include "CocoaInitializer.h"
 #include "M3Panel.h"
 #ifdef SPARKLE_ENABLED
+#define SPARKLE_APPCAST_URL "http://www.hedgewars.org/download/appcast.xml"
 #include "SparkleAutoUpdater.h"
 #endif
 #endif
@@ -92,8 +93,8 @@
 #ifdef SPARKLE_ENABLED
         AutoUpdater* updater;
         CocoaInitializer initializer;
-        updater = new SparkleAutoUpdater("http://files.getdropbox.com/u/24468/appcast.xml"); //this has to change before release!!!
-        if(updater && config->isAutoUpdateEnabled())
+        updater = new SparkleAutoUpdater(SPARKLE_APPCAST_URL);
+	if(updater && config->isAutoUpdateEnabled())
             updater->checkForUpdates();
 #endif        
 #endif