diff --git a/Swiftcord.xcodeproj/project.pbxproj b/Swiftcord.xcodeproj/project.pbxproj index 99fca40e..38324f37 100644 --- a/Swiftcord.xcodeproj/project.pbxproj +++ b/Swiftcord.xcodeproj/project.pbxproj @@ -1361,7 +1361,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 14; + CURRENT_PROJECT_VERSION = 15; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"Swiftcord/Preview Content\""; DEVELOPMENT_TEAM = Q382QLKDG3; @@ -1377,7 +1377,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 0.5.0; + MARKETING_VERSION = 0.5.1; PRODUCT_BUNDLE_IDENTIFIER = io.cryptoalgo.swiftcord; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = APP_STORE; @@ -1395,7 +1395,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 14; + CURRENT_PROJECT_VERSION = 15; DEVELOPMENT_ASSET_PATHS = "\"Swiftcord/Preview Content\""; DEVELOPMENT_TEAM = RJNC97Y8QD; ENABLE_HARDENED_RUNTIME = YES; @@ -1410,7 +1410,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 0.5.0; + MARKETING_VERSION = 0.5.1; PRODUCT_BUNDLE_IDENTIFIER = io.cryptoalgo.swiftcord; PRODUCT_NAME = Swiftcord; SWIFT_EMIT_LOC_STRINGS = YES; @@ -1427,7 +1427,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 14; + CURRENT_PROJECT_VERSION = 15; DEVELOPMENT_ASSET_PATHS = "\"Swiftcord/Preview Content\""; DEVELOPMENT_TEAM = RJNC97Y8QD; ENABLE_HARDENED_RUNTIME = YES; @@ -1442,7 +1442,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 0.5.0; + MARKETING_VERSION = 0.5.1; PRODUCT_BUNDLE_IDENTIFIER = io.cryptoalgo.swiftcord; PRODUCT_NAME = Swiftcord; SWIFT_EMIT_LOC_STRINGS = YES; @@ -1459,7 +1459,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 14; + CURRENT_PROJECT_VERSION = 15; DEVELOPMENT_ASSET_PATHS = "\"Swiftcord/Preview Content\""; DEVELOPMENT_TEAM = RJNC97Y8QD; ENABLE_HARDENED_RUNTIME = YES; @@ -1474,7 +1474,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 0.5.0; + MARKETING_VERSION = 0.5.1; PRODUCT_BUNDLE_IDENTIFIER = io.cryptoalgo.swiftcord; PRODUCT_NAME = Swiftcord; SWIFT_ACTIVE_COMPILATION_CONDITIONS = APP_STORE; @@ -1614,7 +1614,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 14; + CURRENT_PROJECT_VERSION = 15; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"Swiftcord/Preview Content\""; DEVELOPMENT_TEAM = Q382QLKDG3; @@ -1630,7 +1630,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 0.5.0; + MARKETING_VERSION = 0.5.1; PRODUCT_BUNDLE_IDENTIFIER = io.cryptoalgo.swiftcord; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -1648,7 +1648,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 14; + CURRENT_PROJECT_VERSION = 15; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"Swiftcord/Preview Content\""; DEVELOPMENT_TEAM = Q382QLKDG3; @@ -1664,7 +1664,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 0.5.0; + MARKETING_VERSION = 0.5.1; PRODUCT_BUNDLE_IDENTIFIER = io.cryptoalgo.swiftcord; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; diff --git a/Swiftcord/AppDelegate.swift b/Swiftcord/AppDelegate.swift index 6be4a1b0..60c3d000 100644 --- a/Swiftcord/AppDelegate.swift +++ b/Swiftcord/AppDelegate.swift @@ -29,15 +29,13 @@ class AppDelegate: NSObject, NSApplicationDelegate { Analytics.enabled = UserDefaults.standard.bool(forKey: "local.analytics") } +#if !DEBUG SentrySDK.start { options in options.dsn = "https://e7d39f98a63347c18b9f71d3aee6a4d3@o1377212.ingest.sentry.io/6687560" -#if DEBUG - options.tracesSampleRate = 1.0 -#else - options.tracesSampleRate = 0.3 -#endif + options.tracesSampleRate = 0.5 options.enableAppHangTracking = true } +#endif // Disable tabbing (fixes #114) NSWindow.allowsAutomaticWindowTabbing = false