Skip to content

Commit

Permalink
patch: bump version to 0.5.1 for release
Browse files Browse the repository at this point in the history
patch: disable sentry completely during debugging
  • Loading branch information
cryptoAlgorithm committed Oct 15, 2022
1 parent 213a0c5 commit a4bf95b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
24 changes: 12 additions & 12 deletions Swiftcord.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down
8 changes: 3 additions & 5 deletions Swiftcord/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4bf95b

Please sign in to comment.