OpenIntelWireless / HeliPort

Intel Wi-Fi Client for itlwm
https://OpenIntelWireless.github.io/HeliPort
BSD 3-Clause "New" or "Revised" License
1.09k stars 123 forks source link

[Feature Request] Add option to auto-save unencrypted WIFI for auto-join #227

Closed phu54321 closed 3 years ago

phu54321 commented 3 years ago

Is your feature request related to a problem? Please describe. Public WIFI, often without any passwords, are not saved. Heliport should have an option to connect to them automatically.

Describe the solution you'd like

Option to customize the default value of saveNetwork here.

--- a/HeliPort/NetworkManager.swift
+++ b/HeliPort/NetworkManager.swift
@@ -27,7 +27,7 @@ final class NetworkManager {
         ITL80211_SECURITY_PERSONAL
     ]

-    class func connect(networkInfo: NetworkInfo, saveNetwork: Bool = false,
+    class func connect(networkInfo: NetworkInfo, saveNetwork: Bool = true,
                        _ callback: ((_ result: Bool) -> Void)? = nil) {

         guard supportedSecurityMode.contains(networkInfo.auth.security) else {
diff --git a/Podfile.lock b/Podfile.lock
index f3d354b..9610625 100644

Describe alternatives you've considered None.

Additional context macOS Big Sur.