mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-25 11:00:07 +08:00
finally fix tun issue on windows
This commit is contained in:
parent
bd88251f90
commit
8b59e15256
@ -12,7 +12,6 @@ namespace NekoGui_sys {
|
|||||||
QStringList arguments;
|
QStringList arguments;
|
||||||
QStringList env;
|
QStringList env;
|
||||||
|
|
||||||
CoreProcess();
|
|
||||||
~CoreProcess();
|
~CoreProcess();
|
||||||
|
|
||||||
// start & kill is one time
|
// start & kill is one time
|
||||||
|
|||||||
@ -7,11 +7,6 @@
|
|||||||
#include <QElapsedTimer>
|
#include <QElapsedTimer>
|
||||||
|
|
||||||
namespace NekoGui_sys {
|
namespace NekoGui_sys {
|
||||||
|
|
||||||
CoreProcess::CoreProcess() : QProcess() {
|
|
||||||
this->env = QProcessEnvironment::systemEnvironment().toStringList();
|
|
||||||
}
|
|
||||||
|
|
||||||
CoreProcess::~CoreProcess() {
|
CoreProcess::~CoreProcess() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -30,6 +25,7 @@ namespace NekoGui_sys {
|
|||||||
QElapsedTimer coreRestartTimer;
|
QElapsedTimer coreRestartTimer;
|
||||||
|
|
||||||
CoreProcess::CoreProcess(const QString &core_path, const QStringList &args) : QProcess() {
|
CoreProcess::CoreProcess(const QString &core_path, const QStringList &args) : QProcess() {
|
||||||
|
this->env = QProcessEnvironment::systemEnvironment().toStringList();
|
||||||
program = core_path;
|
program = core_path;
|
||||||
arguments = args;
|
arguments = args;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user