From 9b227bf7f1a0652f86cc14e43b4d968e4d27f3b3 Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 13 Mar 2017 23:06:23 +1100 Subject: [PATCH] Bug 21724: Make Firefox and Tor Browser distinct macOS apps When macOS opens a document or selects a default browser, it sometimes uses the CFBundleSignature. Changing from the Firefox MOZB signature to a different signature TORB allows macOS to distinguish between Firefox and Tor Browser. --- browser/app/Makefile.in | 2 +- browser/app/macbuild/Contents/Info.plist.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/app/Makefile.in b/browser/app/Makefile.in index cbd2ec0fcc4ac..1fe767610f8fe 100644 --- a/browser/app/Makefile.in +++ b/browser/app/Makefile.in @@ -90,5 +90,5 @@ tools repackage:: $(DIST)/bin/$(MOZ_APP_NAME) $(MKDIR) -p $(dist_dest)/Contents/Library/LaunchServices mv -f $(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater $(dist_dest)/Contents/Library/LaunchServices ln -s ../../../../Library/LaunchServices/org.mozilla.updater $(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater - printf APPLMOZB > $(dist_dest)/Contents/PkgInfo + printf APPLTORB > $(dist_dest)/Contents/PkgInfo endif diff --git a/browser/app/macbuild/Contents/Info.plist.in b/browser/app/macbuild/Contents/Info.plist.in index 6212e886dbfbc..e8af1948bc57b 100644 --- a/browser/app/macbuild/Contents/Info.plist.in +++ b/browser/app/macbuild/Contents/Info.plist.in @@ -159,7 +159,7 @@ CFBundleShortVersionString %APP_VERSION% CFBundleSignature - MOZB + TORB CFBundleURLTypes -- GitLab