diff --git a/Tun/Tun.entitlements b/Tun/Tun.entitlements
index 06e563c..62cc9b8 100644
--- a/Tun/Tun.entitlements
+++ b/Tun/Tun.entitlements
@@ -10,7 +10,7 @@
com.apple.security.application-groups
- $(TeamIdentifierPrefix)
+ group.com.jihe.punchnetmac
com.apple.security.network.client
diff --git a/punchnet/Views/AppContext.swift b/punchnet/Views/AppContext.swift
index c58b393..09cb48d 100644
--- a/punchnet/Views/AppContext.swift
+++ b/punchnet/Views/AppContext.swift
@@ -110,13 +110,6 @@ class AppContext {
try await self.vpnManager.enableVpn(options: options)
self.networkContext = context
self.vpnOptions = options
-
- // TODO
- Task {
- try await Task.sleep(for: .seconds(5))
- let resp = try await self.vpnManager.sendMessage("hello vpn".data(using: .utf8)!)
- NSLog("resp: \(String(data: resp, encoding: .utf8))")
- }
}
// 断开网络连接
diff --git a/punchnet/punchnet.entitlements b/punchnet/punchnet.entitlements
index e196038..7aaf894 100644
--- a/punchnet/punchnet.entitlements
+++ b/punchnet/punchnet.entitlements
@@ -14,7 +14,7 @@
com.apple.security.application-groups
- $(TeamIdentifierPrefix)
+ group.com.jihe.punchnetmac
com.apple.security.files.user-selected.read-only