]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
TorManager: assume PLATFORM_INSTALLER has Tor
authortobtoht <thotbot@protonmail.com>
Fri, 8 Jul 2022 09:58:07 +0000 (11:58 +0200)
committertobtoht <thotbot@protonmail.com>
Fri, 8 Jul 2022 09:58:07 +0000 (11:58 +0200)
src/utils/TorManager.cpp

index 5df79e3c9da76bf2e92656ed0303515b53ba5b5c..f92c992e1a177232179886c07c2892e87abcac9a 100644 (file)
@@ -231,7 +231,7 @@ bool TorManager::shouldStartTorDaemon() {
     }
 
     // Don't start a Tor daemon if we don't have one
-#ifndef HAS_TOR_BIN
+#if !defined(HAS_TOR_BIN) && !defined(PLATFORM_INSTALLER)
     qWarning() << "Feather built without embedded Tor. Assuming --use-local-tor";
     return false;
 #endif