Skip to content

Commit 7137cc6

Browse files
Merge pull request #270 from root3nl/development
v3.0.2
2 parents 37490a3 + 369c2f4 commit 7137cc6

6 files changed

Lines changed: 31 additions & 16 deletions

File tree

src/Support.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@
825825
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
826826
CODE_SIGN_STYLE = Manual;
827827
CREATE_INFOPLIST_SECTION_IN_BINARY = YES;
828-
CURRENT_PROJECT_VERSION = 100;
828+
CURRENT_PROJECT_VERSION = 101;
829829
DEAD_CODE_STRIPPING = YES;
830830
DEVELOPMENT_TEAM = "";
831831
"DEVELOPMENT_TEAM[sdk=macosx*]" = 98LJ4XBGYK;
@@ -864,7 +864,7 @@
864864
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
865865
CODE_SIGN_STYLE = Manual;
866866
CREATE_INFOPLIST_SECTION_IN_BINARY = YES;
867-
CURRENT_PROJECT_VERSION = 100;
867+
CURRENT_PROJECT_VERSION = 101;
868868
DEAD_CODE_STRIPPING = YES;
869869
DEVELOPMENT_TEAM = "";
870870
"DEVELOPMENT_TEAM[sdk=macosx*]" = 98LJ4XBGYK;
@@ -901,7 +901,7 @@
901901
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
902902
CODE_SIGN_STYLE = Manual;
903903
COMBINE_HIDPI_IMAGES = YES;
904-
CURRENT_PROJECT_VERSION = 100;
904+
CURRENT_PROJECT_VERSION = 101;
905905
DEVELOPMENT_TEAM = "";
906906
"DEVELOPMENT_TEAM[sdk=macosx*]" = 98LJ4XBGYK;
907907
ENABLE_HARDENED_RUNTIME = YES;
@@ -934,7 +934,7 @@
934934
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
935935
CODE_SIGN_STYLE = Manual;
936936
COMBINE_HIDPI_IMAGES = YES;
937-
CURRENT_PROJECT_VERSION = 100;
937+
CURRENT_PROJECT_VERSION = 101;
938938
DEVELOPMENT_TEAM = "";
939939
"DEVELOPMENT_TEAM[sdk=macosx*]" = 98LJ4XBGYK;
940940
ENABLE_HARDENED_RUNTIME = YES;
@@ -1085,7 +1085,7 @@
10851085
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
10861086
CODE_SIGN_STYLE = Manual;
10871087
COMBINE_HIDPI_IMAGES = YES;
1088-
CURRENT_PROJECT_VERSION = 100;
1088+
CURRENT_PROJECT_VERSION = 101;
10891089
DEVELOPMENT_ASSET_PATHS = "\"Support/Preview Content\"";
10901090
DEVELOPMENT_TEAM = "";
10911091
"DEVELOPMENT_TEAM[sdk=macosx*]" = 98LJ4XBGYK;
@@ -1132,7 +1132,7 @@
11321132
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
11331133
CODE_SIGN_STYLE = Manual;
11341134
COMBINE_HIDPI_IMAGES = YES;
1135-
CURRENT_PROJECT_VERSION = 100;
1135+
CURRENT_PROJECT_VERSION = 101;
11361136
DEVELOPMENT_ASSET_PATHS = "\"Support/Preview Content\"";
11371137
DEVELOPMENT_TEAM = "";
11381138
"DEVELOPMENT_TEAM[sdk=macosx*]" = 98LJ4XBGYK;

src/Support/Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
<key>CFBundlePackageType</key>
1818
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>3.0.1</string>
20+
<string>3.0.2</string>
2121
<key>CFBundleVersion</key>
22-
<string>100</string>
22+
<string>101</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.utilities</string>
2525
<key>LSMinimumSystemVersion</key>
2626
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
2727
<key>LSUIElement</key>
2828
<true/>
2929
<key>NSHumanReadableCopyright</key>
30-
<string>© 2025 Root3 B.V. All rights reserved.</string>
30+
<string>© 2026 Root3 B.V. All rights reserved.</string>
3131
<key>SMPrivilegedExecutables</key>
3232
<dict>
3333
<key>nl.root3.support.helper</key>

src/Support/Models/SoftwareUpdateModel.swift

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,20 @@ struct SoftwareUpdateModel: Identifiable, Codable, Hashable {
2222
case mobileSoftwareUpdate = "MobileSoftwareUpdate"
2323
case productKey = "Product Key"
2424
}
25+
26+
var isBackgroundSecurityImprovement: Bool {
27+
if id.localizedCaseInsensitiveContains("_rsr") ||
28+
(productKey?.localizedCaseInsensitiveContains("_rsr") ?? false) {
29+
return true
30+
}
31+
32+
guard let displayVersion else {
33+
return false
34+
}
35+
36+
// Fall back to the display version pattern Apple uses for these updates.
37+
let pattern = #"\([a-zA-Z]\)$"#
38+
return displayVersion.range(of: pattern, options: .regularExpression) != nil
39+
}
2540

2641
}

src/Support/Views/UpdateView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ struct UpdateView: View {
8080
// If there is only one update, check if it's a Background Security Update
8181
if computerinfo.recommendedUpdates.count == 1 {
8282
if let update = computerinfo.recommendedUpdates.first {
83-
// Open Background Security Update prefpane when displayname contains it
84-
if update.displayName.contains("Background Security Improvement") {
83+
// Open the Background Security Improvements pane for supplemental security updates.
84+
if update.isBackgroundSecurityImprovement {
8585
openBSI()
8686
} else {
8787
openSoftwareUpdate()

src/SupportHelper/Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
<plist version="1.0">
44
<dict>
55
<key>CFBundleShortVersionString</key>
6-
<string>3.0.1</string>
6+
<string>3.0.2</string>
77
<key>NSHumanReadableCopyright</key>
8-
<string>© 2025 Root3 B.V. All rights reserved.</string>
8+
<string>© 2026 Root3 B.V. All rights reserved.</string>
99
<key>CFBundleIdentifier</key>
1010
<string>nl.root3.support.helper</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>
1414
<string>SupportAppPriviligedHelper</string>
1515
<key>CFBundleVersion</key>
16-
<string>100</string>
16+
<string>101</string>
1717
<key>SMAuthorizedClients</key>
1818
<array>
1919
<string>anchor apple generic and identifier &quot;nl.root3.support&quot; and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = &quot;98LJ4XBGYK&quot;)</string>

src/SupportXPC/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>CFBundleShortVersionString</key>
6-
<string>3.0.1</string>
6+
<string>3.0.2</string>
77
<key>CFBundleIdentifier</key>
88
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
99
<key>CFBundleName</key>
@@ -15,7 +15,7 @@
1515
<key>CFBundleExecutable</key>
1616
<string>$(EXECUTABLE_NAME)</string>
1717
<key>CFBundleVersion</key>
18-
<string>100</string>
18+
<string>101</string>
1919
<key>CFBundlePackageType</key>
2020
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
2121
<key>XPCService</key>

0 commit comments

Comments
 (0)