changeset 607:e83589f1fd7f

Use different URI's for development
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 18 Jun 2014 11:21:13 +0200
parents 91dd38a71783
children 81a44b93229e
files ui/mainwindow.cpp
diffstat 1 files changed, 17 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Wed Jun 18 11:05:10 2014 +0200
+++ b/ui/mainwindow.cpp	Wed Jun 18 11:21:13 2014 +0200
@@ -36,12 +36,23 @@
 #endif
 
 #define SERVER_URL "https://files.intevation.de:443"
-#define LIST_RESOURCE "/users/aheinecke/zertifikatsliste.txt"
-#define SW_RESOURCE   "/users/aheinecke/TrustBridge.exe"
-#ifdef Q_OS_WIN
-#define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.exe"
-#else
-#define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.sh"
+
+#ifdef RELEASE_BUILD
+# define LIST_RESOURCE "/users/aheinecke/zertifikatsliste.txt"
+# define SW_RESOURCE   "/users/aheinecke/TrustBridge.exe"
+# ifdef Q_OS_WIN
+#  define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.exe"
+# else
+#  define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.sh"
+# endif
+#else // RELEASE_BUILD
+# define LIST_RESOURCE "/users/aheinecke/development/zertifikatsliste.txt"
+# define SW_RESOURCE   "/users/aheinecke/development/TrustBridge.exe"
+# ifdef Q_OS_WIN
+#  define SW_RESOURCE_VERSION "/users/aheinecke/development/TrustBridge-development.exe"
+# else
+#  define SW_RESOURCE_VERSION "/users/aheinecke/development/TrustBridge-development.sh"
+# endif
 #endif
 
 #include "certificatelist.h"

http://wald.intevation.org/projects/trustbridge/