mirror of
https://github.com/hiddify/hiddify-next.git
synced 2026-06-29 21:01:08 +08:00
disable tunnel service for mac
This commit is contained in:
parent
e56e67bd44
commit
35f977288f
@ -66,8 +66,8 @@ class ConnectionPlatformSourceImpl
|
||||
|
||||
@override
|
||||
Future<bool> activateTunnel() async {
|
||||
if (!Platform.isWindows && !Platform.isLinux && !Platform.isMacOS) {
|
||||
return true;
|
||||
if (!Platform.isWindows && !Platform.isLinux) {
|
||||
return await checkPrivilege();
|
||||
}
|
||||
try {
|
||||
final socket = await Socket.connect('127.0.0.1', 18020,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user