refactor code for iOS and MacNE
This commit is contained in:
parent
f7aa82331e
commit
b1ad874f14
46 changed files with 930 additions and 296 deletions
|
|
@ -102,7 +102,9 @@ QProcessEnvironment SshConfigurator::prepareEnv()
|
|||
pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "\\cygwin;");
|
||||
pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "\\openvpn;");
|
||||
#elif defined(Q_OS_MACX)
|
||||
#if !defined(MACOS_NE)
|
||||
pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "/Contents/MacOS");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
env.insert("PATH", pathEnvVar);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue