Rename app from Snipping Tool to SnipMC

Changes bundle ID, URL scheme, display name, project name,
and all user-facing references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-01 22:49:38 +02:00
co-authored by Claude Opus 4.6
parent b55947e536
commit d878e8e333
8 changed files with 529 additions and 41 deletions
+4 -9
View File
@@ -97,13 +97,8 @@ final class AppCoordinator: ObservableObject {
// MARK: - External triggers (URL scheme)
/// Handles `snippingtool://<mode>` URLs so external tools (Logitech
/// Options, Shortcuts, Stream Deck, `open` from the command line, …)
/// can trigger a specific capture mode instead of just launching the app.
/// Accepts the mode either as the host (`snippingtool://region`) or as
/// a query item (`snippingtool://capture?mode=region`).
func handle(url: URL) {
guard url.scheme?.caseInsensitiveCompare("snippingtool") == .orderedSame else { return }
guard url.scheme?.caseInsensitiveCompare("snipmc") == .orderedSame else { return }
let components = URLComponents(url: url, resolvingAgainstBaseURL: false)
let queryItems = components?.queryItems ?? []
@@ -141,7 +136,7 @@ final class AppCoordinator: ObservableObject {
mode = .region
default:
mode = nil
NSLog("SnippingTool: unrecognized URL trigger \(url.absoluteString)")
NSLog("SnipMC: unrecognized URL trigger \(url.absoluteString)")
}
if let mode {
@@ -180,7 +175,7 @@ final class AppCoordinator: ObservableObject {
do {
try process.run()
} catch {
NSLog("SnippingTool: failed to launch screencapture: \(error)")
NSLog("SnipMC: failed to launch screencapture: \(error)")
}
}
@@ -266,7 +261,7 @@ final class AppCoordinator: ObservableObject {
do {
try data.write(to: url, options: .atomic)
} catch {
NSLog("SnippingTool: failed to save annotated image: \(error)")
NSLog("SnipMC: failed to save annotated image: \(error)")
}
if outputAction.copiesToClipboard {