Fixes for linux (#273)

* Use prebuilt OpenVPN binary for Linux
This commit is contained in:
pokamest
2023-08-08 08:16:47 -07:00
committed by GitHub
parent 520aaac31f
commit 508356898f
3 changed files with 3 additions and 3 deletions

View File

@@ -219,7 +219,7 @@ QString Utils::openVpnExecPath()
#ifdef Q_OS_WIN
return Utils::executable("openvpn/openvpn", true);
#elif defined Q_OS_LINUX
return Utils::usrExecutable("openvpn");
return Utils::executable("openvpn", true);
#else
return Utils::executable("/openvpn", true);
#endif

View File

@@ -233,7 +233,7 @@ if(WIN32)
set(DEPLOY_PLATFORM_PATH "windows/x32")
endif()
elseif(LINUX)
set(DEPLOY_PLATFORM_PATH "linux/service")
set(DEPLOY_PLATFORM_PATH "linux/client")
elseif(APPLE AND NOT IOS)
set(DEPLOY_PLATFORM_PATH "macos")
endif()