diff --git a/AutoConnectionSchoolWifi/AutoConnectionSchoolWifi.csproj b/AutoConnectionSchoolWifi/AutoConnectionSchoolWifi.csproj index ca2257d..106dd94 100644 --- a/AutoConnectionSchoolWifi/AutoConnectionSchoolWifi.csproj +++ b/AutoConnectionSchoolWifi/AutoConnectionSchoolWifi.csproj @@ -40,7 +40,7 @@ ..\packages\Costura.Fody.4.1.0\lib\net40\Costura.dll - C:\Users\wangn\Desktop\ManagedNativeWifi\ManagedNativeWifi\bin\Release\ManagedNativeWifi.dll + ..\..\ManagedNativeWifi\ManagedNativeWifi\bin\Release\ManagedNativeWifi.dll @@ -88,7 +88,6 @@ Settings.settings True - diff --git a/AutoConnectionSchoolWifi/src/DefaultAutoConnection.cs b/AutoConnectionSchoolWifi/src/DefaultAutoConnection.cs index 30ab5cf..7417e39 100644 --- a/AutoConnectionSchoolWifi/src/DefaultAutoConnection.cs +++ b/AutoConnectionSchoolWifi/src/DefaultAutoConnection.cs @@ -53,6 +53,7 @@ public override void ConnectTrueWifi() if (a == null) { connectionStateCallBack.StateChange("等待WIFI..."); + Thread.Sleep(500); continue; } // 连接