From 19dca2efc4ac6d4f9831a51dd5638e61afe850e1 Mon Sep 17 00:00:00 2001 From: Gregor Longariva <gregor.longariva@fau.de> Date: Thu, 27 Mar 2025 16:31:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8A=20and=20more=20logging=20it=20is?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Network Share Mounter/AppDelegate.swift | 1 + networkShareMounter.xcodeproj/project.pbxproj | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Network Share Mounter/AppDelegate.swift b/Network Share Mounter/AppDelegate.swift index 1838aaa..7035fa2 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 cc6d567..d473695 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; -- GitLab