[PATCH 3 of 6] Use different URI's for development

Wald Commits scm-commit at wald.intevation.org
Wed Jun 18 14:41:31 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1403083273 -7200
# Node ID e83589f1fd7f5945d0761b42c05d5ac3b499e95c
# Parent  91dd38a717834f95af233113c682211bd410e31f
Use different URI's for development

diff -r 91dd38a71783 -r e83589f1fd7f ui/mainwindow.cpp
--- 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"


More information about the Trustbridge-commits mailing list