update appcast link
authorkoda
Fri, 16 Oct 2009 20:45:07 +0000
changeset 2511 446aac3c05a4
parent 2510 9e5b83c0b88f
child 2512 ab0e6aacb6da
update appcast link
QTfrontend/hwform.cpp
--- 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