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 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)