MacOS NE dirty build

This commit is contained in:
Mykola Baibuz 2024-07-08 08:12:10 -07:00
parent 0612f70c06
commit 6f58f19958
43 changed files with 7454 additions and 3976 deletions

View file

@ -1,5 +1,7 @@
#include "ssh_configurator.h"
#define Q_OS_IOS 1
#include <QDebug>
#include <QObject>
#include <QProcess>
@ -101,8 +103,8 @@ QProcessEnvironment SshConfigurator::prepareEnv()
pathEnvVar.clear();
pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "\\cygwin;");
pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "\\openvpn;");
#elif defined(Q_OS_MACX)
pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "/Contents/MacOS");
//#elif defined(Q_OS_MACX)
// pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "/Contents/MacOS");
#endif
env.insert("PATH", pathEnvVar);