comparison ui/mainwindow.cpp @ 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 c944de9900de
children 292c590ba9cb
comparison
equal deleted inserted replaced
606:91dd38a71783 607:e83589f1fd7f
34 #ifndef APPNAME 34 #ifndef APPNAME
35 #define APPNAME "TrustBridge" 35 #define APPNAME "TrustBridge"
36 #endif 36 #endif
37 37
38 #define SERVER_URL "https://files.intevation.de:443" 38 #define SERVER_URL "https://files.intevation.de:443"
39 #define LIST_RESOURCE "/users/aheinecke/zertifikatsliste.txt" 39
40 #define SW_RESOURCE "/users/aheinecke/TrustBridge.exe" 40 #ifdef RELEASE_BUILD
41 #ifdef Q_OS_WIN 41 # define LIST_RESOURCE "/users/aheinecke/zertifikatsliste.txt"
42 #define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.exe" 42 # define SW_RESOURCE "/users/aheinecke/TrustBridge.exe"
43 #else 43 # ifdef Q_OS_WIN
44 #define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.sh" 44 # define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.exe"
45 # else
46 # define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.sh"
47 # endif
48 #else // RELEASE_BUILD
49 # define LIST_RESOURCE "/users/aheinecke/development/zertifikatsliste.txt"
50 # define SW_RESOURCE "/users/aheinecke/development/TrustBridge.exe"
51 # ifdef Q_OS_WIN
52 # define SW_RESOURCE_VERSION "/users/aheinecke/development/TrustBridge-development.exe"
53 # else
54 # define SW_RESOURCE_VERSION "/users/aheinecke/development/TrustBridge-development.sh"
55 # endif
45 #endif 56 #endif
46 57
47 #include "certificatelist.h" 58 #include "certificatelist.h"
48 #include "downloader.h" 59 #include "downloader.h"
49 #include "helpdialog.h" 60 #include "helpdialog.h"

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