Skip to content

Commit

Permalink
Hide internal configurations of macOS Sequoia
Browse files Browse the repository at this point in the history
  • Loading branch information
Timac committed Oct 2, 2024
1 parent 87f7335 commit 5877ec3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Common/ACNEServicesManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ - (void)processConfigurations:(NSArray <NEConfiguration*>*)inConfigurations
// Don't show the VPNs that should be ignored
continue;
}
else if([neConfiguration.name hasPrefix:@"com.apple.preferences."])
{
// Don't show internal configurations from macOS Sequoia
// com.apple.preferences.application-firewall
// com.apple.preferences.networkprivacy-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
continue;
}

ACNEService *service = [[ACNEService alloc] initWithConfiguration:neConfiguration];
[self.neServices addObject:service];
Expand Down

0 comments on commit 5877ec3

Please sign in to comment.