| Server IP : 82.208.35.60 / Your IP : 216.73.216.236 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/devel/RStudio/files/ |
Upload File : |
--- src/cpp/desktop/DesktopMain.cpp.orig 2021-05-24 22:22:25 UTC
+++ src/cpp/desktop/DesktopMain.cpp
@@ -49,6 +49,8 @@
#include "DesktopActivationOverlay.hpp"
#include "DesktopSessionServersOverlay.hpp"
+#include "global-setenv.h"
+
#ifdef _WIN32
#include <core/system/RegistryKey.hpp>
#include <Windows.h>
@@ -349,7 +351,7 @@ QString inferDefaultRenderingEngineMac()
#endif /* Q_OS_MAC */
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
QString inferDefaultRenderingEngineLinux()
{
@@ -477,6 +479,7 @@ std::string getSessionUrl()
int main(int argc, char* argv[])
{
+ GLOBAL_SETENV
core::system::initHook();
try