From e668b244ff0647883f9521e11e6792a234438f84 Mon Sep 17 00:00:00 2001 From: Austin Smith Date: Tue, 15 Sep 2026 13:46:43 -0700 Subject: [PATCH 1/2] update sparkle and configure sandboxed macos updates --- BitDream.xcodeproj/project.pbxproj | 4 +++- .../xcshareddata/swiftpm/Package.resolved | 4 ++-- BitDream/BitDream-Direct.entitlements | 15 +++++++++++++++ BitDream/Info.plist | 2 ++ 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 BitDream/BitDream-Direct.entitlements diff --git a/BitDream.xcodeproj/project.pbxproj b/BitDream.xcodeproj/project.pbxproj index 03152b5..dd0ee7f 100644 --- a/BitDream.xcodeproj/project.pbxproj +++ b/BitDream.xcodeproj/project.pbxproj @@ -603,6 +603,7 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; CODE_SIGN_ENTITLEMENTS = BitDream/BitDream.entitlements; + "CODE_SIGN_ENTITLEMENTS[sdk=macosx*]" = "BitDream/BitDream-Direct.entitlements"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = YES; @@ -649,6 +650,7 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; CODE_SIGN_ENTITLEMENTS = BitDream/BitDream.entitlements; + "CODE_SIGN_ENTITLEMENTS[sdk=macosx*]" = "BitDream/BitDream-Direct.entitlements"; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application"; CODE_SIGN_STYLE = Manual; "CODE_SIGN_STYLE[sdk=iphoneos*]" = Automatic; @@ -1045,7 +1047,7 @@ repositoryURL = "https://github.com/sparkle-project/Sparkle.git"; requirement = { kind = upToNextMajorVersion; - minimumVersion = 2.0.0; + minimumVersion = 2.10.0; }; }; /* End XCRemoteSwiftPackageReference section */ diff --git a/BitDream.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/BitDream.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index d419ac4..a083333 100644 --- a/BitDream.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/BitDream.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/sparkle-project/Sparkle", "state" : { - "revision" : "b6496a74a087257ef5e6da1c5b29a447a60f5bd7", - "version" : "2.9.4" + "revision" : "eef1a539a373c1f1a320624b1130fc5de7b2e100", + "version" : "2.10.0" } } ], diff --git a/BitDream/BitDream-Direct.entitlements b/BitDream/BitDream-Direct.entitlements new file mode 100644 index 0000000..b02914f --- /dev/null +++ b/BitDream/BitDream-Direct.entitlements @@ -0,0 +1,15 @@ + + + + + com.apple.security.application-groups + + group.com.crapshack.BitDream + + com.apple.security.temporary-exception.mach-lookup.global-name + + $(PRODUCT_BUNDLE_IDENTIFIER)-spks + $(PRODUCT_BUNDLE_IDENTIFIER)-spki + + + diff --git a/BitDream/Info.plist b/BitDream/Info.plist index 194f22a..bd27541 100644 --- a/BitDream/Info.plist +++ b/BitDream/Info.plist @@ -48,6 +48,8 @@ SUEnableAutomaticChecks + SUEnableInstallerLauncherService + SUFeedURL https://austin-smith.github.io/BitDream/appcast.xml SUPublicEDKey From a74cd276a214d5ec1748dea2f6ca24eba6b8fd95 Mon Sep 17 00:00:00 2001 From: Austin Smith Date: Fri, 18 Sep 2026 17:19:51 -0700 Subject: [PATCH 2/2] replace legacy swiftui aspect ratio modifiers --- BitDream/Views/iOS/Settings/iOSAboutView.swift | 2 +- BitDream/Views/macOS/macOSAboutView.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BitDream/Views/iOS/Settings/iOSAboutView.swift b/BitDream/Views/iOS/Settings/iOSAboutView.swift index ce5a11f..d4d6caf 100644 --- a/BitDream/Views/iOS/Settings/iOSAboutView.swift +++ b/BitDream/Views/iOS/Settings/iOSAboutView.swift @@ -20,7 +20,7 @@ struct iOSAboutView: View { // App Icon Image("AppIconPreview-Default") .resizable() - .aspectRatio(contentMode: .fit) + .scaledToFit() .frame(width: 100, height: 100) .clipShape(RoundedRectangle(cornerRadius: 22, style: .continuous)) .shadow(color: .black.opacity(0.15), radius: 12, x: 0, y: 6) diff --git a/BitDream/Views/macOS/macOSAboutView.swift b/BitDream/Views/macOS/macOSAboutView.swift index ea62592..e360055 100644 --- a/BitDream/Views/macOS/macOSAboutView.swift +++ b/BitDream/Views/macOS/macOSAboutView.swift @@ -20,7 +20,7 @@ struct macOSAboutView: View { // App Icon Image(nsImage: NSApp.applicationIconImage) .resizable() - .aspectRatio(contentMode: .fit) + .scaledToFit() .frame(width: 128, height: 128) .clipShape(RoundedRectangle(cornerRadius: 22, style: .continuous)) .shadow(color: .black.opacity(0.15), radius: 12, x: 0, y: 6)