mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
switch core support
add nekobox_core linux: use sing-box for vpn
This commit is contained in:
@@ -19,8 +19,13 @@ namespace NekoRay::fmt {
|
||||
|
||||
QString DisplayType() override { return core; };
|
||||
|
||||
bool NeedExternal() override { return true; };
|
||||
bool NeedExternal() override {
|
||||
if (IS_NEKO_BOX && core == "hysteria") return false;
|
||||
return true;
|
||||
};
|
||||
|
||||
ExternalBuildResult BuildExternal(int mapping_port, int socks_port) override;
|
||||
|
||||
CoreObjOutboundBuildResult BuildCoreObjSingBox() override;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user