finally fix tun issue on windows

This commit is contained in:
Nova 2025-03-02 19:19:39 +03:30
parent bd88251f90
commit 8b59e15256
2 changed files with 1 additions and 6 deletions

View File

@ -12,7 +12,6 @@ namespace NekoGui_sys {
QStringList arguments;
QStringList env;
CoreProcess();
~CoreProcess();
// start & kill is one time

View File

@ -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;