mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +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 env;
|
||||
|
||||
CoreProcess();
|
||||
~CoreProcess();
|
||||
|
||||
// start & kill is one time
|
||||
|
||||
@ -7,11 +7,6 @@
|
||||
#include <QElapsedTimer>
|
||||
|
||||
namespace NekoGui_sys {
|
||||
|
||||
CoreProcess::CoreProcess() : QProcess() {
|
||||
this->env = QProcessEnvironment::systemEnvironment().toStringList();
|
||||
}
|
||||
|
||||
CoreProcess::~CoreProcess() {
|
||||
}
|
||||
|
||||
@ -30,6 +25,7 @@ namespace NekoGui_sys {
|
||||
QElapsedTimer coreRestartTimer;
|
||||
|
||||
CoreProcess::CoreProcess(const QString &core_path, const QStringList &args) : QProcess() {
|
||||
this->env = QProcessEnvironment::systemEnvironment().toStringList();
|
||||
program = core_path;
|
||||
arguments = args;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user