diff --git a/Network Share Mounter/AppDelegate.swift b/Network Share Mounter/AppDelegate.swift index 1838aaacaf35444c6d84b9a37c8d6ad23a3d5a9c..7035fa2919fa23b0e07acadfd295d820cce095aa 100644 --- a/Network Share Mounter/AppDelegate.swift +++ b/Network Share Mounter/AppDelegate.swift @@ -245,6 +245,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { // Start network connectivity monitoring monitor.startMonitoring { connection, reachable in if reachable.rawValue == "yes" { + Logger.app.debug("Network is reachable, firing nsmNetworkChangeTriggerNotification and nsmAuthTriggerNotification.") // Network is available - trigger connection and authentication NotificationCenter.default.post(name: Defaults.nsmNetworkChangeTriggerNotification, object: nil) NotificationCenter.default.post(name: Defaults.nsmAuthTriggerNotification, object: nil) diff --git a/networkShareMounter.xcodeproj/project.pbxproj b/networkShareMounter.xcodeproj/project.pbxproj index cc6d567e0cfabca9e4153ad85154b091c3415fa6..d473695fab663b288812c0a3cff7a94fe4a9822f 100644 --- a/networkShareMounter.xcodeproj/project.pbxproj +++ b/networkShareMounter.xcodeproj/project.pbxproj @@ -647,7 +647,7 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 215; + CURRENT_PROJECT_VERSION = 216; DEVELOPMENT_TEAM = C8F68RFW4L; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; @@ -677,7 +677,7 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 215; + CURRENT_PROJECT_VERSION = 216; DEVELOPMENT_TEAM = C8F68RFW4L; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; @@ -711,7 +711,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer"; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 215; + CURRENT_PROJECT_VERSION = 216; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=macosx*]" = C8F68RFW4L; @@ -761,7 +761,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer"; CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 215; + CURRENT_PROJECT_VERSION = 216; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=macosx*]" = C8F68RFW4L;