disable tunnel service for mac
This commit is contained in:
@@ -66,8 +66,8 @@ class ConnectionPlatformSourceImpl
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Future<bool> activateTunnel() async {
|
Future<bool> activateTunnel() async {
|
||||||
if (!Platform.isWindows && !Platform.isLinux && !Platform.isMacOS) {
|
if (!Platform.isWindows && !Platform.isLinux) {
|
||||||
return true;
|
return await checkPrivilege();
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
final socket = await Socket.connect('127.0.0.1', 18020,
|
final socket = await Socket.connect('127.0.0.1', 18020,
|
||||||
|
|||||||
Reference in New Issue
Block a user