summarylogtreecommitdiffstats
path: root/production.patch
blob: 90a7325d878b717f6cae33dd4a1b6b3f27b2b5e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff --git a/src/context.cc b/src/context.cc
index 7c9f0fb..8d839ab 100644
--- a/src/context.cc
+++ b/src/context.cc
@@ -76,7 +76,7 @@ Context::Context(const std::string app_name, const std::string app_version)
 , idle_(&ui_)
 , last_sync_started_(0)
 , sync_interval_seconds_(0)
-, update_check_disabled_(false)
+, update_check_disabled_(true)
 , trigger_sync_(false)
 , trigger_push_(false)
 , quit_(false)
@@ -92,9 +92,6 @@ Context::Context(const std::string app_name, const std::string app_version)
         Poco::Net::HTTPSStreamFactory::registerFactory();
     }
 
-    urls::SetUseStagingAsBackend(
-        app_version.find("7.0.0") != std::string::npos);
-
     Poco::ErrorHandler::set(&error_handler_);
     Poco::Net::initializeSSL();
 
diff --git a/src/ui/linux/TogglDesktop/TogglDesktop.pro b/src/ui/linux/TogglDesktop/TogglDesktop.pro
index 4bbf84b..cf44f8e 100644
--- a/src/ui/linux/TogglDesktop/TogglDesktop.pro
+++ b/src/ui/linux/TogglDesktop/TogglDesktop.pro
@@ -8,7 +8,7 @@ VERSION = 7.0.0
 
 DEFINES += APP_VERSION=\\\"$$VERSION\\\"
 
-ENVIRONMENT = "development"
+ENVIRONMENT = "production"
 
 DEFINES += APP_ENVIRONMENT=\\\"$$ENVIRONMENT\\\"