Skip to content

Commit

Permalink
1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 2, 2023
1 parent be6c837 commit 1fe36bd
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 16 deletions.
7 changes: 4 additions & 3 deletions Color Picker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,9 @@
E3A3B11125904E7B001B4D0C /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
LastSwiftUpdateCheck = 1420;
LastUpgradeCheck = 1400;
LastUpgradeCheck = 1430;
TargetAttributes = {
E34BFA932988F3AF002AB421 = {
CreatedOnToolsVersion = 14.2;
Expand Down Expand Up @@ -456,7 +457,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 13.1;
MACOSX_DEPLOYMENT_TARGET = 13.3;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -514,7 +515,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 13.1;
MACOSX_DEPLOYMENT_TARGET = 13.3;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
LastUpgradeVersion = "1430"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
8 changes: 1 addition & 7 deletions Color Picker/App.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,7 @@ struct AppMain: App {
}

private func setUpConfig() {
#if !DEBUG
SentrySDK.start {
$0.dsn = "https://[email protected]/6139060"
$0.enableSwizzling = false
$0.enableAppHangTracking = false // https://github.com/getsentry/sentry-cocoa/issues/2643
}
#endif
SSApp.initSentry("https://[email protected]/6139060")
}
}

Expand Down
1 change: 0 additions & 1 deletion Color Picker/AppState.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import SwiftUI
import Sentry

@MainActor
final class AppState: ObservableObject {
Expand Down
16 changes: 16 additions & 0 deletions Color Picker/Utilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,22 @@ extension SSApp {
}


extension SSApp {
/**
Initialize Sentry.
*/
static func initSentry(_ dsn: String) {
#if !DEBUG && canImport(Sentry)
SentrySDK.start {
$0.dsn = dsn
$0.enableSwizzling = false
$0.enableAppHangTracking = false // https://github.com/getsentry/sentry-cocoa/issues/2643
}
#endif
}
}


enum Device {
static let osVersion: String = {
let os = ProcessInfo.processInfo.operatingSystemVersion
Expand Down
4 changes: 2 additions & 2 deletions Config.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
MARKETING_VERSION = 1.12.1
CURRENT_PROJECT_VERSION = 34
MARKETING_VERSION = 1.13.0
CURRENT_PROJECT_VERSION = 35
11 changes: 9 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ The macOS color picker as an app with lots of extra features.

[![](https://tools.applemediaservices.com/api/badges/download-on-the-mac-app-store/black/en-us?size=250x83&releaseDate=1615852800)](https://apps.apple.com/app/id1545870783)

Requires macOS 12 or later.
Requires macOS 13 or later.

**Older versions**

- [Last macOS 11 compatible version](https://github.com/sindresorhus/System-Color-Picker/releases/download/v1.9.6/Color.Picker.1.9.6.-.macOS.11.zip) *(1.9.6)*
- [1.12.1](https://github.com/sindresorhus/System-Color-Picker/releases/download/v1.12.1/Color.Picker.1.12.1.-.macOS.12.zip) for macOS 12+
- [1.9.6](https://github.com/sindresorhus/System-Color-Picker/releases/download/v1.9.6/Color.Picker.1.9.6.-.macOS.11.zip) for macOS 11+

**Non-App Store version**

A special version for users that cannot access the App Store. It won't receive updates.

[Download](https://dsc.cloud/sindresorhus/Color-Picker-1.13.0-1679983870.zip) *(1.13.0 · macOS 13+)*

## Features

Expand Down

0 comments on commit 1fe36bd

Please sign in to comment.