fix: 更新依赖版本,修复GooglePlayStore检测

This commit is contained in:
spiritlhl
2025-07-28 02:14:33 +00:00
parent a68d33739c
commit 6937e69a0a
8 changed files with 75 additions and 97 deletions

View File

@@ -10,7 +10,7 @@ import (
// timeout := 3 * time.Second
// result := CheckPublicAccess(timeout)
// if result.Connected {
// fmt.Printf("✅ 本机有公网连接,类型: %s\n", result.StackType)
// fmt.Print("✅ 本机有公网连接,类型: %s\n", result.StackType)
// } else {
// fmt.Println("❌ 本机未检测到公网连接")
// }
@@ -20,7 +20,7 @@ func TestBasicsAndSecurityCheck(t *testing.T) {
timeout := 3 * time.Second
result := CheckPublicAccess(timeout)
if result.Connected {
fmt.Printf("✅ 本机有公网连接,类型: %s\n", result.StackType)
fmt.Print("✅ 本机有公网连接,类型: %s\n", result.StackType)
} else {
fmt.Println("❌ 本机未检测到公网连接")
}