move command

This commit is contained in:
dranik
2026-06-04 13:25:47 +03:00
parent fc50835ccb
commit b64b589acd
3 changed files with 7 additions and 1 deletions
+5
View File
@@ -290,6 +290,11 @@ QString Utils::tun2socksPath()
return Utils::executable("tun2socks", true);
}
QString Utils::securityPath()
{
return "/usr/bin/security";
}
#ifdef Q_OS_WIN
// Inspired from http://stackoverflow.com/a/15281070/1529139
// and http://stackoverflow.com/q/40059902/1529139
+1
View File
@@ -34,6 +34,7 @@ public:
static QString wireguardExecPath();
static QString certUtilPath();
static QString tun2socksPath();
static QString securityPath();
static void logException(const std::exception &e);
static void logException(const std::exception_ptr &eptr = std::current_exception());
+1 -1
View File
@@ -31,7 +31,7 @@ inline QString permittedProcessPath(PermittedProcess pid)
case PermittedProcess::Tun2Socks:
return Utils::tun2socksPath();
case PermittedProcess::Security:
return "/usr/bin/security";
return Utils::securityPath();
default:
return "";
}