mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 13:04:37 +03:00
remove v2ray_asset_dir
This commit is contained in:
@@ -141,13 +141,7 @@ namespace NekoGui_sys {
|
||||
|
||||
void CoreProcess::Start() {
|
||||
show_stderr = false;
|
||||
// set extra env
|
||||
auto v2ray_asset_dir = NekoGui::FindCoreAsset("geoip.dat");
|
||||
if (!v2ray_asset_dir.isEmpty()) {
|
||||
v2ray_asset_dir = QFileInfo(v2ray_asset_dir).absolutePath();
|
||||
env << "XRAY_LOCATION_ASSET=" + v2ray_asset_dir;
|
||||
}
|
||||
//
|
||||
// cwd: same as GUI, at ./config
|
||||
ExternalProcess::Start();
|
||||
write((NekoGui::dataStore->core_token + "\n").toUtf8());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user